![]() |
Eclipse SUMO - Simulation of Urban MObility
|
FXTextFieldIcon (based on FXTextFieldIcon) More...
#include <MFXTextFieldIcon.h>
Public Member Functions | |
| MFXTextFieldIcon (FXComposite *p, FXint ncols, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=TEXTFIELD_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
| constructor | |
| void | resetTextField () |
| reset textField | |
| void | setIcon (FXIcon *icon) |
| set icon | |
Protected Member Functions | |
| void | drawIconTextRange (FXDCWindow &dc, const FXint iconWidth, FXint fm, FXint to) |
| draw icon text range | |
Protected Attributes | |
| FXIcon * | myIcon |
| icon | |
FXTextFieldIcon (based on FXTextFieldIcon)
Definition at line 28 of file MFXTextFieldIcon.h.
| MFXTextFieldIcon::MFXTextFieldIcon | ( | FXComposite * | p, |
| FXint | ncols, | ||
| FXObject * | tgt = NULL, |
||
| FXSelector | sel = 0, |
||
| FXuint | opts = TEXTFIELD_NORMAL, |
||
| FXint | x = 0, |
||
| FXint | y = 0, |
||
| FXint | w = 0, |
||
| FXint | h = 0, |
||
| FXint | pl = DEFAULT_PAD, |
||
| FXint | pr = DEFAULT_PAD, |
||
| FXint | pt = DEFAULT_PAD, |
||
| FXint | pb = DEFAULT_PAD |
||
| ) |
constructor
Definition at line 24 of file MFXTextFieldIcon.cpp.
|
protected |
| void MFXTextFieldIcon::resetTextField | ( | ) |
reset textField
Definition at line 37 of file MFXTextFieldIcon.cpp.
References setIcon().
Referenced by MFXComboBoxIcon::clearItems(), and MFXComboBoxIcon::setCurrentItem().
| void MFXTextFieldIcon::setIcon | ( | FXIcon * | icon | ) |
set icon
Definition at line 31 of file MFXTextFieldIcon.cpp.
References myIcon.
Referenced by MFXComboBoxIcon::appendIconItem(), MFXComboBoxIcon::insertIconItem(), MFXComboBoxIcon::moveItem(), MFXComboBoxIcon::onListClicked(), MFXComboBoxIcon::onTextCommand(), MFXComboBoxIcon::prependItem(), MFXComboBoxIcon::removeItem(), resetTextField(), MFXComboBoxIcon::setCurrentItem(), MFXComboBoxIcon::setIconItem(), and MFXComboBoxIcon::setItem().
|
protected |
icon
Definition at line 45 of file MFXTextFieldIcon.h.
Referenced by drawIconTextRange(), and setIcon().