![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MFXTextFieldIcon.h>
Public Member Functions | |
virtual bool | canFocus () const |
Yes, text field may receive focus. | |
virtual void | create () |
Create server-side resources. | |
virtual void | disable () |
Disable text field. | |
virtual void | enable () |
Enable text field. | |
FXbool | extendSelection (FXint pos) |
Extend the selection from the anchor to the given position. | |
FXint | getAnchorPos () const |
Return anchor position. | |
FXColor | getCursorColor () const |
Return the cursor color. | |
FXint | getCursorPos () const |
Return cursor position. | |
virtual FXint | getDefaultHeight () |
Return default height. | |
virtual FXint | getDefaultWidth () |
Return default width. | |
const FXchar * | getDelimiters () const |
Return word delimiters. | |
FXFont * | getFont () const |
Get the text font. | |
const FXString & | getHelpText () const |
Get the status line help text for this label. | |
FXuint | getJustify () const |
Return text justification mode. | |
FXint | getNumColumns () const |
Return number of columns. | |
FXColor | getSelBackColor () const |
Return selected background color. | |
FXColor | getSelTextColor () const |
Return selected text color. | |
FXString | getText () const |
Get the text for this label. | |
FXColor | getTextColor () const |
Return text color. | |
FXuint | getTextStyle () const |
Return text style. | |
const FXString & | getTipText () const |
Get the tool tip message for this text field. | |
FXbool | isEditable () const |
Return TRUE if text field may be edited. | |
FXbool | isOverstrike () const |
Return TRUE if overstrike mode in effect. | |
FXbool | isPosSelected (FXint pos) const |
Return TRUE if position pos is selected. | |
FXbool | isPosVisible (FXint pos) const |
Return TRUE if position is fully visible. | |
virtual void | killFocus () |
Remove the focus from this window. | |
FXbool | killSelection () |
Unselect the text. | |
virtual void | layout () |
Perform layout. | |
void | makePositionVisible (FXint pos) |
Scroll text to make the given position visible. | |
MFXTextFieldIcon (FXComposite *p, MFXStaticToolTip *staticToolTip, GUIIcon icon, FXObject *tgt, FXSelector sel, FXuint opts, 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) | |
FOX declaration. | |
FXbool | selectAll () |
Select all text. | |
void | setAnchorPos (FXint pos) |
Change anchor position. | |
void | setCursorColor (FXColor clr) |
Changes the cursor color. | |
void | setCursorPos (FXint pos) |
Set cursor position. | |
void | setDelimiters (const FXchar *delims=FXTextField::textDelimiters) |
Change word delimiters. | |
void | setEditable (FXbool edit=TRUE) |
Set editable mode. | |
virtual void | setFocus () |
Move the focus to this window. | |
void | setFont (FXFont *fnt) |
Set the text font. | |
void | setHelpText (const FXString &text) |
Set the status line help text for this label. | |
void | setIcon (FXIcon *ic) |
Change the icon. | |
void | setJustify (FXuint mode) |
Change text justification mode. | |
void | setNumColumns (FXint cols) |
Change the default width of the text field. | |
void | setOverstrike (FXbool over=TRUE) |
Set overstrike mode. | |
void | setSelBackColor (FXColor clr) |
Change selected background color. | |
FXbool | setSelection (FXint pos, FXint len) |
Select len characters starting at given position pos. | |
void | setSelTextColor (FXColor clr) |
Change selected text color. | |
void | setText (const FXString &text, FXbool notify=FALSE) |
Change the text and move cursor to end. | |
void | setTextColor (FXColor clr) |
Change text color. | |
void | setTextStyle (FXuint style) |
Change text style. | |
void | setTipText (const FXString &text) |
Set the tool tip message for this text field. | |
void | setToolTipText (const FXString &toolTip) |
set toolTip | |
virtual | ~MFXTextFieldIcon () |
Destructor. | |
long | onEnter (FXObject *, FXSelector, void *) |
fox callbacks | |
long | onLeave (FXObject *, FXSelector, void *) |
long | onPaint (FXObject *, FXSelector, void *) |
long | onUpdate (FXObject *, FXSelector, void *) |
long | onKeyPress (FXObject *, FXSelector, void *) |
long | onKeyRelease (FXObject *, FXSelector, void *) |
long | onLeftBtnPress (FXObject *, FXSelector, void *) |
long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
long | onMiddleBtnPress (FXObject *, FXSelector, void *) |
long | onMiddleBtnRelease (FXObject *, FXSelector, void *) |
long | onVerify (FXObject *, FXSelector, void *) |
long | onMotion (FXObject *, FXSelector, void *) |
long | onSelectionLost (FXObject *, FXSelector, void *) |
long | onSelectionGained (FXObject *, FXSelector, void *) |
long | onSelectionRequest (FXObject *, FXSelector, void *ptr) |
long | onClipboardLost (FXObject *, FXSelector, void *) |
long | onClipboardGained (FXObject *, FXSelector, void *) |
long | onClipboardRequest (FXObject *, FXSelector, void *) |
long | onFocusSelf (FXObject *, FXSelector, void *) |
long | onFocusIn (FXObject *, FXSelector, void *) |
long | onFocusOut (FXObject *, FXSelector, void *) |
long | onBlink (FXObject *, FXSelector, void *) |
long | onAutoScroll (FXObject *, FXSelector, void *) |
long | onCmdSetValue (FXObject *, FXSelector, void *) |
long | onCmdSetIntValue (FXObject *, FXSelector, void *) |
long | onCmdSetRealValue (FXObject *, FXSelector, void *) |
long | onCmdSetStringValue (FXObject *, FXSelector, void *) |
long | onCmdGetIntValue (FXObject *, FXSelector, void *) |
long | onCmdGetRealValue (FXObject *, FXSelector, void *) |
long | onCmdGetStringValue (FXObject *, FXSelector, void *) |
long | onCmdCursorHome (FXObject *, FXSelector, void *) |
long | onCmdCursorEnd (FXObject *, FXSelector, void *) |
long | onCmdCursorRight (FXObject *, FXSelector, void *) |
long | onCmdCursorLeft (FXObject *, FXSelector, void *) |
long | onCmdCursorWordLeft (FXObject *, FXSelector, void *) |
long | onCmdCursorWordRight (FXObject *, FXSelector, void *) |
long | onCmdCursorWordStart (FXObject *, FXSelector, void *) |
long | onCmdCursorWordEnd (FXObject *, FXSelector, void *) |
long | onCmdMark (FXObject *, FXSelector, void *) |
long | onCmdExtend (FXObject *, FXSelector, void *) |
long | onCmdSelectAll (FXObject *, FXSelector, void *) |
long | onCmdDeselectAll (FXObject *, FXSelector, void *) |
long | onCmdCutSel (FXObject *, FXSelector, void *) |
long | onCmdCopySel (FXObject *, FXSelector, void *) |
long | onCmdPasteSel (FXObject *, FXSelector, void *) |
long | onCmdPasteMiddle (FXObject *, FXSelector, void *) |
long | onCmdDeleteSel (FXObject *, FXSelector, void *) |
long | onCmdDeleteAll (FXObject *, FXSelector, void *) |
long | onCmdOverstString (FXObject *, FXSelector, void *) |
long | onCmdInsertString (FXObject *, FXSelector, void *) |
long | onCmdBackspace (FXObject *, FXSelector, void *) |
long | onCmdDelete (FXObject *, FXSelector, void *) |
long | onCmdToggleEditable (FXObject *, FXSelector, void *) |
long | onUpdToggleEditable (FXObject *, FXSelector, void *) |
long | onCmdToggleOverstrike (FXObject *, FXSelector, void *) |
long | onUpdToggleOverstrike (FXObject *, FXSelector, void *) |
long | onUpdHaveSelection (FXObject *, FXSelector, void *) |
long | onUpdSelectAll (FXObject *, FXSelector, void *) |
long | onCmdSetHelp (FXObject *, FXSelector, void *) |
long | onCmdGetHelp (FXObject *, FXSelector, void *) |
long | onCmdSetTip (FXObject *, FXSelector, void *) |
long | onCmdGetTip (FXObject *, FXSelector, void *) |
long | onQueryHelp (FXObject *, FXSelector, void *) |
long | onQueryTip (FXObject *, FXSelector, void *) |
Protected Member Functions | |
FXint | coord (FXint i) const |
coordinates | |
void | drawCursor (FXuint state) |
draw myCursorPosition | |
void | drawPWDTextFragment (FXDCWindow &dc, FXint x, FXint y, FXint fm, FXint to) |
draw password text fragment | |
void | drawTextFragment (FXDCWindow &dc, FXint x, FXint y, FXint fm, FXint to) |
draw text fragment | |
void | drawTextRange (FXDCWindow &dc, FXint fm, FXint to) |
draw text range | |
FXint | index (FXint x) const |
index | |
FXint | leftWord (FXint pos) const |
left word | |
MFXTextFieldIcon () | |
FOX need this. | |
FXint | rightWord (FXint pos) const |
right word | |
FXint | wordEnd (FXint pos) const |
word end | |
FXint | wordStart (FXint pos) const |
word start | |
Protected Attributes | |
FXString | contents |
Edited text. | |
FXint | myAnchorPosition = 0 |
Anchor position. | |
FXString | myClippedText |
Clipped text. | |
FXColor | myCursorColor = 0 |
Color of the Cursor. | |
FXint | myCursorPosition = 0 |
Cursor position. | |
FXFont * | myFont |
Text font. | |
FXString | myHelpText |
Help string. | |
FXIcon * | myIcon = nullptr |
myIcon | |
FXColor | mySelectedBackgroundColor = 0 |
Selected background color. | |
FXColor | mySelectedTextColor = 0 |
Selected text color. | |
FXint | myShiftAmount = 0 |
Shift amount. | |
MFXStaticToolTip * | myStaticToolTip = nullptr |
static tooltip | |
FXColor | myTextColor = 0 |
Text color. | |
const FXchar * | myTextDelimiter = FXTextField::textDelimiters |
Set of text delimiter. | |
FXString | myTooltipText |
Tooltip. | |
FXString | myToolTipText |
toolTip text (if set, tooltip will be always show) | |
FXint | myVisibleColumns = 0 |
Number of myVisibleColumns visible. | |
Private Member Functions | |
MFXTextFieldIcon (const MFXTextFieldIcon &)=delete | |
invalidate copy constructor | |
MFXTextFieldIcon & | operator= (const MFXTextFieldIcon &)=delete |
invalidate assigment constructor | |
Definition at line 37 of file MFXTextFieldIcon.h.
MFXTextFieldIcon::MFXTextFieldIcon | ( | FXComposite * | p, |
MFXStaticToolTip * | staticToolTip, | ||
GUIIcon | icon, | ||
FXObject * | tgt, | ||
FXSelector | sel, | ||
FXuint | opts, | ||
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 |
||
) |
FOX declaration.
Construct text field wide enough to display ncols columns
Definition at line 129 of file MFXTextFieldIcon.cpp.
References EMPTY, GUIIconSubSys::getIcon(), and GUIDesignTextFieldNCol.
|
virtual |
|
protected |
|
privatedelete |
invalidate copy constructor
|
virtual |
Yes, text field may receive focus.
Definition at line 436 of file MFXTextFieldIcon.cpp.
|
protected |
coordinates
Definition at line 1072 of file MFXTextFieldIcon.cpp.
References contents, myFont, and myShiftAmount.
Referenced by drawCursor(), isPosVisible(), onPaint(), and MFXTextFieldSearch::onPaint().
|
virtual |
Create server-side resources.
Definition at line 163 of file MFXTextFieldIcon.cpp.
References myFont.
Referenced by GNETLSTable::Cell::Cell().
|
virtual |
Disable text field.
Definition at line 207 of file MFXTextFieldIcon.cpp.
Referenced by GNEAttributesEditorRow::disable(), MFXComboBoxIcon::disable(), GNEAttributesEditorRow::enableElements(), onUpdate(), GNEAttributesEditorRow::showValueString(), and GNETLSEditorFrame::TLSJunction::TLSJunction().
|
protected |
draw myCursorPosition
Definition at line 872 of file MFXTextFieldIcon.cpp.
References contents, coord(), drawTextRange(), ICON_SIZE, ICON_SPACING, myAnchorPosition, myCursorColor, myCursorPosition, and myIcon.
Referenced by onAutoScroll(), onBlink(), onFocusIn(), onFocusOut(), onMotion(), and setCursorPos().
|
protected |
draw password text fragment
Definition at line 1126 of file MFXTextFieldIcon.cpp.
References contents, and myFont.
Referenced by drawTextRange().
|
protected |
draw text fragment
Definition at line 1118 of file MFXTextFieldIcon.cpp.
References contents, and myFont.
Referenced by drawTextRange().
|
protected |
draw text range
Definition at line 1138 of file MFXTextFieldIcon.cpp.
References contents, drawPWDTextFragment(), drawTextFragment(), ICON_SIZE, ICON_SPACING, myAnchorPosition, myCursorPosition, myFont, myIcon, mySelectedBackgroundColor, mySelectedTextColor, myShiftAmount, and myTextColor.
Referenced by drawCursor(), onPaint(), and MFXTextFieldSearch::onPaint().
|
virtual |
Enable text field.
Definition at line 198 of file MFXTextFieldIcon.cpp.
Referenced by MFXComboBoxIcon::enable(), and GNEAttributesEditorRow::showValueString().
FXbool MFXTextFieldIcon::extendSelection | ( | FXint | pos | ) |
Extend the selection from the anchor to the given position.
Definition at line 2170 of file MFXTextFieldIcon.cpp.
References contents, and myAnchorPosition.
Referenced by onAutoScroll(), onCmdExtend(), onLeftBtnPress(), onMotion(), selectAll(), and setSelection().
FXint MFXTextFieldIcon::getAnchorPos | ( | ) | const |
Return anchor position.
Definition at line 866 of file MFXTextFieldIcon.cpp.
References myAnchorPosition.
FXColor MFXTextFieldIcon::getCursorColor | ( | ) | const |
Return the cursor color.
Definition at line 2280 of file MFXTextFieldIcon.cpp.
References myCursorColor.
FXint MFXTextFieldIcon::getCursorPos | ( | ) | const |
Return cursor position.
Definition at line 854 of file MFXTextFieldIcon.cpp.
References myCursorPosition.
|
virtual |
Return default height.
Definition at line 223 of file MFXTextFieldIcon.cpp.
References myFont.
Referenced by MFXComboBoxIcon::getDefaultHeight().
|
virtual |
Return default width.
Definition at line 216 of file MFXTextFieldIcon.cpp.
References myFont, and myVisibleColumns.
Referenced by MFXComboBoxIcon::getDefaultWidth().
const FXchar * MFXTextFieldIcon::getDelimiters | ( | ) | const |
Return word delimiters.
Definition at line 2387 of file MFXTextFieldIcon.cpp.
References myTextDelimiter.
FXFont * MFXTextFieldIcon::getFont | ( | ) | const |
const FXString & MFXTextFieldIcon::getHelpText | ( | ) | const |
Get the status line help text for this label.
Definition at line 2399 of file MFXTextFieldIcon.cpp.
References myHelpText.
Referenced by onCmdGetHelp().
FXuint MFXTextFieldIcon::getJustify | ( | ) | const |
Return text justification mode.
Definition at line 2375 of file MFXTextFieldIcon.cpp.
References JUSTIFY_MASK.
FXint MFXTextFieldIcon::getNumColumns | ( | ) | const |
Return number of columns.
Definition at line 2301 of file MFXTextFieldIcon.cpp.
References myVisibleColumns.
|
inline |
Return selected background color.
Definition at line 126 of file MFXTextFieldIcon.h.
References mySelectedBackgroundColor.
FXColor MFXTextFieldIcon::getSelTextColor | ( | ) | const |
Return selected text color.
Definition at line 2265 of file MFXTextFieldIcon.cpp.
References mySelectedTextColor.
FXString MFXTextFieldIcon::getText | ( | ) | const |
Get the text for this label.
Definition at line 2226 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by GNEAttributesEditorRow::fillSumoBaseObject(), GNEAttributesEditorRow::getCurrentValue(), GNEFileSelector::getFilename(), GNEFilePathDialog::getFilePath(), MFXComboBoxIcon::getText(), GNEFileSelector::onCmdFilter(), MFXComboBoxIcon::onCmdFilter(), onCmdGetStringValue(), GNEAttributesEditorRow::onCmdOpenColorDialog(), GNEAttributesEditorRow::onCmdOpenVClassDialog(), GNEOptionsEditor::onCmdSearch(), GNEOptionsEditor::onCmdSelectTopic(), GNEAttributeCarrierDialog::AttributeTextField::onCmdSetAttribute(), GNEAttributesEditorRow::onCmdSetAttribute(), and MFXComboBoxIcon::onTextCommand().
FXColor MFXTextFieldIcon::getTextColor | ( | ) | const |
Return text color.
Definition at line 2241 of file MFXTextFieldIcon.cpp.
References myTextColor.
Referenced by GNEAttributesEditorRow::fillSumoBaseObject(), MFXComboBoxIcon::getTextColor(), and GNEAttributesEditorRow::isValueValid().
FXuint MFXTextFieldIcon::getTextStyle | ( | ) | const |
const FXString & MFXTextFieldIcon::getTipText | ( | ) | const |
Get the tool tip message for this text field.
Definition at line 2411 of file MFXTextFieldIcon.cpp.
References myTooltipText.
Referenced by MFXComboBoxIcon::getTipText(), onCmdGetTip(), and onEnter().
|
protected |
index
Definition at line 1028 of file MFXTextFieldIcon.cpp.
References contents, myFont, and myShiftAmount.
Referenced by onAutoScroll(), onLeftBtnPress(), onMiddleBtnPress(), and onMotion().
FXbool MFXTextFieldIcon::isEditable | ( | ) | const |
Return TRUE if text field may be edited.
Definition at line 2307 of file MFXTextFieldIcon.cpp.
Referenced by onCmdBackspace(), onCmdCutSel(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onCmdPasteMiddle(), onCmdPasteSel(), onCmdToggleEditable(), onFocusIn(), onKeyPress(), onUpdToggleEditable(), and setCursorPos().
FXbool MFXTextFieldIcon::isOverstrike | ( | ) | const |
Return TRUE if overstrike mode in effect.
Definition at line 2325 of file MFXTextFieldIcon.cpp.
Referenced by onCmdToggleOverstrike(), onKeyPress(), and onUpdToggleOverstrike().
FXbool MFXTextFieldIcon::isPosSelected | ( | FXint | pos | ) | const |
Return TRUE if position pos is selected.
Definition at line 1112 of file MFXTextFieldIcon.cpp.
References myAnchorPosition, and myCursorPosition.
FXbool MFXTextFieldIcon::isPosVisible | ( | FXint | pos | ) | const |
Return TRUE if position is fully visible.
Definition at line 1102 of file MFXTextFieldIcon.cpp.
|
virtual |
Remove the focus from this window.
Definition at line 453 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by GNEAttributeCarrierDialog::AttributeTextField::onCmdSetAttribute(), and GNEAttributesEditorRow::onCmdSetAttribute().
FXbool MFXTextFieldIcon::killSelection | ( | ) |
Unselect the text.
Definition at line 2141 of file MFXTextFieldIcon.cpp.
Referenced by onCmdDeleteAll(), onCmdDeleteSel(), onCmdDeselectAll(), onCmdInsertString(), onCmdOverstString(), onLeftBtnPress(), setIcon(), and setText().
|
virtual |
Perform layout.
Definition at line 923 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, myFont, and myShiftAmount.
Referenced by onCmdBackspace(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), setIcon(), setNumColumns(), and setText().
|
protected |
left word
Definition at line 1436 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordLeft().
void MFXTextFieldIcon::makePositionVisible | ( | FXint | pos | ) |
Scroll text to make the given position visible.
Definition at line 977 of file MFXTextFieldIcon.cpp.
References contents, myFont, and myShiftAmount.
Referenced by layout(), onCmdBackspace(), onCmdCursorEnd(), onCmdCursorHome(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCursorWordEnd(), onCmdCursorWordLeft(), onCmdCursorWordRight(), onCmdCursorWordStart(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onCmdSelectAll(), onLeftBtnPress(), and onMiddleBtnPress().
long MFXTextFieldIcon::onAutoScroll | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 684 of file MFXTextFieldIcon.cpp.
References contents, drawCursor(), extendSelection(), index(), myCursorPosition, myFont, and myShiftAmount.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onBlink | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 389 of file MFXTextFieldIcon.cpp.
References drawCursor().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onClipboardGained | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 325 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onClipboardLost | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 332 of file MFXTextFieldIcon.cpp.
References myClippedText.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onClipboardRequest | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 341 of file MFXTextFieldIcon.cpp.
References myClippedText.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdBackspace | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1826 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), layout(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCopySel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1615 of file MFXTextFieldIcon.cpp.
References contents, myAnchorPosition, myClippedText, and myCursorPosition.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorEnd | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1405 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorHome | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1397 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorLeft | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1422 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorRight | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1413 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorWordEnd | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1553 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, setCursorPos(), and wordEnd().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorWordLeft | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1537 of file MFXTextFieldIcon.cpp.
References leftWord(), makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorWordRight | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1529 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, rightWord(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCursorWordStart | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1545 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, setCursorPos(), and wordStart().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdCutSel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1590 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), myAnchorPosition, myClippedText, and myCursorPosition.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdDelete | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1846 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), layout(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdDeleteAll | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1733 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdDeleteSel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1708 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), myAnchorPosition, myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdDeselectAll | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1583 of file MFXTextFieldIcon.cpp.
References killSelection().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdExtend | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1568 of file MFXTextFieldIcon.cpp.
References extendSelection(), and myCursorPosition.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdGetHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 479 of file MFXTextFieldIcon.cpp.
References getHelpText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdGetIntValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 554 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdGetRealValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 561 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdGetStringValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 568 of file MFXTextFieldIcon.cpp.
References getText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdGetTip | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 493 of file MFXTextFieldIcon.cpp.
References getTipText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdInsertString | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 1789 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), myAnchorPosition, myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdMark | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1561 of file MFXTextFieldIcon.cpp.
References myCursorPosition, and setAnchorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdOverstString | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 1753 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), myAnchorPosition, myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdPasteMiddle | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1674 of file MFXTextFieldIcon.cpp.
References isEditable().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdPasteSel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1635 of file MFXTextFieldIcon.cpp.
References isEditable().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSelectAll | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1575 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, and selectAll().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSetHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 472 of file MFXTextFieldIcon.cpp.
References setHelpText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSetIntValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 533 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSetRealValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 540 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSetStringValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 547 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSetTip | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 486 of file MFXTextFieldIcon.cpp.
References setTipText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdSetValue | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 526 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdToggleEditable | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 811 of file MFXTextFieldIcon.cpp.
References isEditable(), and setEditable().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onCmdToggleOverstrike | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 795 of file MFXTextFieldIcon.cpp.
References isOverstrike(), and setOverstrike().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onEnter | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
fox callbacks
Definition at line 1326 of file MFXTextFieldIcon.cpp.
References contents, getTipText(), myFont, myStaticToolTip, myToolTipText, setHelpText(), setTipText(), and MFXStaticToolTip::showStaticToolTip().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onFocusIn | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 397 of file MFXTextFieldIcon.cpp.
References drawCursor(), and isEditable().
Referenced by FXDEFMAP(), and MFXTextFieldSearch::onFocusIn().
long MFXTextFieldIcon::onFocusOut | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 411 of file MFXTextFieldIcon.cpp.
References drawCursor().
Referenced by FXDEFMAP(), and MFXTextFieldSearch::onFocusOut().
long MFXTextFieldIcon::onFocusSelf | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 423 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP(), and MFXTextFieldSearch::onFocusSelf().
long MFXTextFieldIcon::onKeyPress | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 1940 of file MFXTextFieldIcon.cpp.
References contents, FALLTHROUGH, isEditable(), isOverstrike(), KEY_a, KEY_c, KEY_v, and KEY_x.
Referenced by FXDEFMAP(), and MFXTextFieldSearch::onKeyPress().
long MFXTextFieldIcon::onKeyRelease | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 2095 of file MFXTextFieldIcon.cpp.
References FALLTHROUGH, KEY_a, KEY_c, KEY_v, and KEY_x.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onLeave | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 1349 of file MFXTextFieldIcon.cpp.
References MFXStaticToolTip::hideStaticToolTip(), and myStaticToolTip.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onLeftBtnPress | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 575 of file MFXTextFieldIcon.cpp.
References contents, extendSelection(), index(), killSelection(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onLeftBtnRelease | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 608 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onMiddleBtnPress | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 622 of file MFXTextFieldIcon.cpp.
References index(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onMiddleBtnRelease | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 643 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onMotion | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 656 of file MFXTextFieldIcon.cpp.
References drawCursor(), extendSelection(), index(), myCursorPosition, myStaticToolTip, and MFXStaticToolTip::onUpdate().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onPaint | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 1360 of file MFXTextFieldIcon.cpp.
References contents, coord(), drawTextRange(), ICON_SIZE, ICON_SPACING, myCursorColor, myCursorPosition, and myIcon.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onQueryHelp | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 513 of file MFXTextFieldIcon.cpp.
References myHelpText.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onQueryTip | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 500 of file MFXTextFieldIcon.cpp.
References myTooltipText.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onSelectionGained | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 246 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onSelectionLost | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 254 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onSelectionRequest | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 262 of file MFXTextFieldIcon.cpp.
References contents, myAnchorPosition, and myCursorPosition.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onUpdate | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 229 of file MFXTextFieldIcon.cpp.
References disable().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onUpdHaveSelection | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 827 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onUpdSelectAll | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 834 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onUpdToggleEditable | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
Definition at line 818 of file MFXTextFieldIcon.cpp.
References isEditable().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onUpdToggleOverstrike | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
Definition at line 802 of file MFXTextFieldIcon.cpp.
References isOverstrike().
Referenced by FXDEFMAP().
long MFXTextFieldIcon::onVerify | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 1866 of file MFXTextFieldIcon.cpp.
References myVisibleColumns.
Referenced by FXDEFMAP().
|
privatedelete |
invalidate assigment constructor
|
protected |
right word
Definition at line 1462 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordRight().
FXbool MFXTextFieldIcon::selectAll | ( | ) |
Select all text.
Definition at line 2152 of file MFXTextFieldIcon.cpp.
References contents, extendSelection(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by GNEFileSelector::onCmdAccept(), onCmdSelectAll(), and MFXComboBoxIcon::onListClicked().
void MFXTextFieldIcon::setAnchorPos | ( | FXint | pos | ) |
Change anchor position.
Definition at line 860 of file MFXTextFieldIcon.cpp.
References contents, and myAnchorPosition.
Referenced by onCmdBackspace(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdMark(), onCmdOverstString(), onLeftBtnPress(), onMiddleBtnPress(), selectAll(), and setSelection().
void MFXTextFieldIcon::setCursorColor | ( | FXColor | clr | ) |
Changes the cursor color.
Definition at line 2271 of file MFXTextFieldIcon.cpp.
References myCursorColor.
void MFXTextFieldIcon::setCursorPos | ( | FXint | pos | ) |
Set cursor position.
Definition at line 841 of file MFXTextFieldIcon.cpp.
References contents, drawCursor(), isEditable(), and myCursorPosition.
Referenced by onCmdBackspace(), onCmdCursorEnd(), onCmdCursorHome(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCursorWordEnd(), onCmdCursorWordLeft(), onCmdCursorWordRight(), onCmdCursorWordStart(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onLeftBtnPress(), onMiddleBtnPress(), selectAll(), and setSelection().
void MFXTextFieldIcon::setDelimiters | ( | const FXchar * | delims = FXTextField::textDelimiters | ) |
Change word delimiters.
Definition at line 2381 of file MFXTextFieldIcon.cpp.
References myTextDelimiter.
void MFXTextFieldIcon::setEditable | ( | FXbool | edit = TRUE | ) |
Set editable mode.
Definition at line 2314 of file MFXTextFieldIcon.cpp.
Referenced by onCmdToggleEditable().
|
virtual |
Move the focus to this window.
Definition at line 442 of file MFXTextFieldIcon.cpp.
void MFXTextFieldIcon::setFont | ( | FXFont * | fnt | ) |
Set the text font.
Definition at line 179 of file MFXTextFieldIcon.cpp.
References myFont.
Referenced by MFXTextFieldSearch::drawSearchTextRange().
void MFXTextFieldIcon::setHelpText | ( | const FXString & | text | ) |
Set the status line help text for this label.
Definition at line 2393 of file MFXTextFieldIcon.cpp.
References myHelpText.
Referenced by onCmdSetHelp(), and onEnter().
void MFXTextFieldIcon::setIcon | ( | FXIcon * | ic | ) |
Change the icon.
Definition at line 2214 of file MFXTextFieldIcon.cpp.
References contents, killSelection(), layout(), myAnchorPosition, myCursorPosition, and myIcon.
Referenced by MFXComboBoxIcon::appendIconItem(), MFXComboBoxIcon::insertIconItem(), MFXComboBoxIcon::onListClicked(), MFXComboBoxIcon::onTextCommand(), MFXComboBoxIcon::setCurrentItem(), and MFXComboBoxIcon::updateIconItem().
void MFXTextFieldIcon::setJustify | ( | FXuint | mode | ) |
Change text justification mode.
Definition at line 2362 of file MFXTextFieldIcon.cpp.
References JUSTIFY_MASK, and myShiftAmount.
void MFXTextFieldIcon::setNumColumns | ( | FXint | cols | ) |
Change the default width of the text field.
Definition at line 2286 of file MFXTextFieldIcon.cpp.
References layout(), myShiftAmount, and myVisibleColumns.
void MFXTextFieldIcon::setOverstrike | ( | FXbool | over = TRUE | ) |
Set overstrike mode.
Definition at line 2332 of file MFXTextFieldIcon.cpp.
Referenced by onCmdToggleOverstrike().
void MFXTextFieldIcon::setSelBackColor | ( | FXColor | clr | ) |
Change selected background color.
Definition at line 2247 of file MFXTextFieldIcon.cpp.
References mySelectedBackgroundColor.
FXbool MFXTextFieldIcon::setSelection | ( | FXint | pos, |
FXint | len | ||
) |
Select len characters starting at given position pos.
Definition at line 2161 of file MFXTextFieldIcon.cpp.
References extendSelection(), myCursorPosition, setAnchorPos(), and setCursorPos().
void MFXTextFieldIcon::setSelTextColor | ( | FXColor | clr | ) |
Change selected text color.
Definition at line 2256 of file MFXTextFieldIcon.cpp.
References mySelectedTextColor.
void MFXTextFieldIcon::setText | ( | const FXString & | text, |
FXbool | notify = FALSE |
||
) |
Change the text and move cursor to end.
Definition at line 2197 of file MFXTextFieldIcon.cpp.
References contents, killSelection(), layout(), myAnchorPosition, and myCursorPosition.
Referenced by MFXComboBoxIcon::appendIconItem(), MFXComboBoxIcon::clearItems(), GNEFilePathDialog::GNEFilePathDialog(), MFXComboBoxIcon::insertIconItem(), GNEFileSelector::onCmdAccept(), GNEFilePathDialog::onCmdCancel(), GNEFileSelector::onCmdDirTree(), GNEFileSelector::onCmdFilter(), GNEFileSelector::onCmdItemDeselected(), GNEFileSelector::onCmdItemSelected(), GNEAttributesEditorRow::onCmdOpenColorDialog(), GNEAttributesEditorRow::onCmdOpenFileDialog(), GNEAttributesEditorRow::onCmdOpenVClassDialog(), GNEFilePathDialog::onCmdReset(), GNEAttributesEditorRow::onCmdSetAttribute(), onCmdSetIntValue(), onCmdSetRealValue(), onCmdSetStringValue(), onCmdSetValue(), MFXComboBoxIcon::onListClicked(), MFXComboBoxIcon::setCurrentItem(), GNEFileSelector::setDirectory(), GNEFileSelector::setFilename(), MFXComboBoxIcon::setText(), GNEAttributesEditorRow::showValueString(), GNETLSTable::testTable(), and MFXComboBoxIcon::updateIconItem().
void MFXTextFieldIcon::setTextColor | ( | FXColor | clr | ) |
Change text color.
Definition at line 2232 of file MFXTextFieldIcon.cpp.
References myTextColor.
Referenced by GNEAttributeCarrierDialog::AttributeTextField::onCmdSetAttribute(), GNEAttributesEditorRow::onCmdSetAttribute(), MFXComboBoxIcon::setTextColor(), and GNEAttributesEditorRow::showValueString().
void MFXTextFieldIcon::setTextStyle | ( | FXuint | style | ) |
Change text style.
Definition at line 2342 of file MFXTextFieldIcon.cpp.
References myShiftAmount, and TEXTFIELD_MASK.
void MFXTextFieldIcon::setTipText | ( | const FXString & | text | ) |
Set the tool tip message for this text field.
Definition at line 2405 of file MFXTextFieldIcon.cpp.
References myTooltipText.
Referenced by onCmdSetTip(), onEnter(), and MFXComboBoxIcon::setTipText().
void MFXTextFieldIcon::setToolTipText | ( | const FXString & | toolTip | ) |
|
protected |
word end
Definition at line 1509 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordEnd().
|
protected |
word start
Definition at line 1488 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordStart().
|
protected |
Edited text.
Definition at line 274 of file MFXTextFieldIcon.h.
Referenced by coord(), drawCursor(), drawPWDTextFragment(), drawTextFragment(), drawTextRange(), extendSelection(), getText(), index(), isPosVisible(), killFocus(), layout(), leftWord(), makePositionVisible(), onAutoScroll(), onCmdBackspace(), onCmdCopySel(), onCmdCursorEnd(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCutSel(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdGetIntValue(), onCmdGetRealValue(), onCmdInsertString(), onCmdOverstString(), onEnter(), onKeyPress(), onLeftBtnPress(), onPaint(), MFXTextFieldSearch::onPaint(), onSelectionRequest(), onUpdSelectAll(), rightWord(), selectAll(), setAnchorPos(), setCursorPos(), setIcon(), setText(), wordEnd(), and wordStart().
|
protected |
Anchor position.
Definition at line 298 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), MFXTextFieldSearch::drawSearchTextRange(), drawTextRange(), extendSelection(), getAnchorPos(), isPosSelected(), onCmdCopySel(), onCmdCutSel(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onSelectionRequest(), setAnchorPos(), setIcon(), and setText().
|
protected |
Clipped text.
Definition at line 307 of file MFXTextFieldIcon.h.
Referenced by onClipboardLost(), onClipboardRequest(), onCmdCopySel(), and onCmdCutSel().
|
protected |
Color of the Cursor.
Definition at line 292 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), getCursorColor(), onPaint(), MFXTextFieldSearch::onPaint(), and setCursorColor().
|
protected |
Cursor position.
Definition at line 295 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), MFXTextFieldSearch::drawSearchTextRange(), drawTextRange(), getCursorPos(), isPosSelected(), layout(), onAutoScroll(), onCmdBackspace(), onCmdCopySel(), onCmdCursorEnd(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCursorWordEnd(), onCmdCursorWordLeft(), onCmdCursorWordRight(), onCmdCursorWordStart(), onCmdCutSel(), onCmdDelete(), onCmdDeleteSel(), onCmdExtend(), onCmdInsertString(), onCmdMark(), onCmdOverstString(), onCmdSelectAll(), onLeftBtnPress(), onMiddleBtnPress(), onMotion(), onPaint(), MFXTextFieldSearch::onPaint(), onSelectionRequest(), selectAll(), setCursorPos(), setIcon(), setSelection(), and setText().
|
protected |
Text font.
Definition at line 280 of file MFXTextFieldIcon.h.
Referenced by coord(), create(), drawPWDTextFragment(), MFXTextFieldSearch::drawSearchTextRange(), drawTextFragment(), drawTextRange(), getDefaultHeight(), getDefaultWidth(), getFont(), index(), layout(), makePositionVisible(), MFXTextFieldIcon(), onAutoScroll(), onEnter(), setFont(), and ~MFXTextFieldIcon().
|
protected |
Help string.
Definition at line 310 of file MFXTextFieldIcon.h.
Referenced by getHelpText(), onQueryHelp(), and setHelpText().
|
protected |
myIcon
Definition at line 316 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), drawTextRange(), onPaint(), MFXTextFieldSearch::onPaint(), and setIcon().
|
protected |
Selected background color.
Definition at line 286 of file MFXTextFieldIcon.h.
Referenced by drawTextRange(), getSelBackColor(), and setSelBackColor().
|
protected |
Selected text color.
Definition at line 289 of file MFXTextFieldIcon.h.
Referenced by drawTextRange(), getSelTextColor(), and setSelTextColor().
|
protected |
Shift amount.
Definition at line 304 of file MFXTextFieldIcon.h.
Referenced by coord(), MFXTextFieldSearch::drawSearchTextRange(), drawTextRange(), index(), layout(), makePositionVisible(), onAutoScroll(), setJustify(), setNumColumns(), and setTextStyle().
|
protected |
static tooltip
Definition at line 319 of file MFXTextFieldIcon.h.
Referenced by onEnter(), onLeave(), and onMotion().
|
protected |
Text color.
Definition at line 283 of file MFXTextFieldIcon.h.
Referenced by drawTextRange(), getTextColor(), and setTextColor().
|
protected |
Set of text delimiter.
Definition at line 277 of file MFXTextFieldIcon.h.
Referenced by getDelimiters(), leftWord(), rightWord(), setDelimiters(), wordEnd(), and wordStart().
|
protected |
Tooltip.
Definition at line 313 of file MFXTextFieldIcon.h.
Referenced by getTipText(), onQueryTip(), and setTipText().
|
protected |
toolTip text (if set, tooltip will be always show)
Definition at line 322 of file MFXTextFieldIcon.h.
Referenced by onEnter(), and setToolTipText().
|
protected |
Number of myVisibleColumns visible.
Definition at line 301 of file MFXTextFieldIcon.h.
Referenced by getDefaultWidth(), getNumColumns(), onVerify(), and setNumColumns().