

Public Member Functions | |
| VarText (intf_thread_t *pIntf, bool substVars=true) | |
| virtual | ~VarText () |
| virtual const string & | getType () const |
| Get the variable type. | |
| virtual void | set (const UString &rText) |
| Set the internal value. | |
| virtual const UString | get () const |
| virtual void | onUpdate (Subject< VarPercent > &rVariable, void *) |
| Methods called when an observed variable is modified. | |
| virtual void | onUpdate (Subject< VarText > &rVariable, void *) |
| VarText::VarText | ( | intf_thread_t * | pIntf, | |
| bool | substVars = true | |||
| ) |
| VarText::~VarText | ( | ) | [virtual] |
| virtual const string& VarText::getType | ( | ) | const [inline, virtual] |
| void VarText::set | ( | const UString & | rText | ) | [virtual] |
Set the internal value.
References Subject< S, ARG >::addObserver(), UString::find(), VarManager::getHelpText(), SkinObject::getIntf(), VlcProc::getStreamBitRateVar(), VlcProc::getStreamNameVar(), VlcProc::getStreamSampleRateVar(), VlcProc::getStreamURIVar(), VlcProc::getTimeVar(), VlcProc::getVolumeVar(), VarManager::instance(), VlcProc::instance(), Subject< VarText >::notify(), and UString::npos.
Referenced by CmdSetText::execute(), TopWindow::onControlRelease(), TopWindow::onTooltipChange(), TopWindow::processEvent(), and CtrlText::setText().
| const UString VarText::get | ( | ) | const [virtual] |
References UString::find(), get(), StreamTime::getAsStringCurrTime(), StreamTime::getAsStringDuration(), Volume::getAsStringPercent(), StreamTime::getAsStringTimeLeft(), VarManager::getHelpText(), SkinObject::getIntf(), VlcProc::getStreamBitRateVar(), VlcProc::getStreamNameVar(), VlcProc::getStreamSampleRateVar(), VlcProc::getStreamURIVar(), VlcProc::getTimeVar(), VlcProc::getVolumeVar(), VarManager::instance(), VlcProc::instance(), UString::npos, and UString::replace().
Referenced by CtrlText::CtrlText(), and get().
| void VarText::onUpdate | ( | Subject< VarPercent > & | rVariable, | |
| void * | arg | |||
| ) | [virtual] |
References Subject< VarText >::notify().
1.5.6