Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MFXTextFieldIcon Class Reference

#include <MFXTextFieldIcon.h>

Inheritance diagram for MFXTextFieldIcon:
[legend]
Collaboration diagram for MFXTextFieldIcon:
[legend]

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.
 
MFXStaticToolTipmyStaticToolTip = 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
 
MFXTextFieldIconoperator= (const MFXTextFieldIcon &)=delete
 invalidate assigment constructor
 

Detailed Description

Definition at line 37 of file MFXTextFieldIcon.h.

Constructor & Destructor Documentation

◆ MFXTextFieldIcon() [1/3]

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.

◆ ~MFXTextFieldIcon()

MFXTextFieldIcon::~MFXTextFieldIcon ( )
virtual

Destructor.

Definition at line 155 of file MFXTextFieldIcon.cpp.

References myFont.

◆ MFXTextFieldIcon() [2/3]

MFXTextFieldIcon::MFXTextFieldIcon ( )
protected

FOX need this.

Definition at line 2422 of file MFXTextFieldIcon.cpp.

References myFont.

◆ MFXTextFieldIcon() [3/3]

MFXTextFieldIcon::MFXTextFieldIcon ( const MFXTextFieldIcon )
privatedelete

invalidate copy constructor

Member Function Documentation

◆ canFocus()

bool MFXTextFieldIcon::canFocus ( ) const
virtual

Yes, text field may receive focus.

Definition at line 436 of file MFXTextFieldIcon.cpp.

◆ coord()

FXint MFXTextFieldIcon::coord ( FXint  i) const
protected

coordinates

Definition at line 1072 of file MFXTextFieldIcon.cpp.

References contents, myFont, and myShiftAmount.

Referenced by drawCursor(), isPosVisible(), onPaint(), and MFXTextFieldSearch::onPaint().

Here is the caller graph for this function:

◆ create()

void MFXTextFieldIcon::create ( )
virtual

Create server-side resources.

Definition at line 163 of file MFXTextFieldIcon.cpp.

References myFont.

Referenced by GNETLSTable::Cell::Cell().

Here is the caller graph for this function:

◆ disable()

void MFXTextFieldIcon::disable ( )
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().

Here is the caller graph for this function:

◆ drawCursor()

void MFXTextFieldIcon::drawCursor ( FXuint  state)
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().

Here is the caller graph for this function:

◆ drawPWDTextFragment()

void MFXTextFieldIcon::drawPWDTextFragment ( FXDCWindow &  dc,
FXint  x,
FXint  y,
FXint  fm,
FXint  to 
)
protected

draw password text fragment

Definition at line 1126 of file MFXTextFieldIcon.cpp.

References contents, and myFont.

Referenced by drawTextRange().

Here is the caller graph for this function:

◆ drawTextFragment()

void MFXTextFieldIcon::drawTextFragment ( FXDCWindow &  dc,
FXint  x,
FXint  y,
FXint  fm,
FXint  to 
)
protected

draw text fragment

Definition at line 1118 of file MFXTextFieldIcon.cpp.

References contents, and myFont.

Referenced by drawTextRange().

Here is the caller graph for this function:

◆ drawTextRange()

void MFXTextFieldIcon::drawTextRange ( FXDCWindow &  dc,
FXint  fm,
FXint  to 
)
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().

Here is the caller graph for this function:

◆ enable()

void MFXTextFieldIcon::enable ( )
virtual

Enable text field.

Definition at line 198 of file MFXTextFieldIcon.cpp.

Referenced by MFXComboBoxIcon::enable(), and GNEAttributesEditorRow::showValueString().

Here is the caller graph for this function:

◆ extendSelection()

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().

Here is the caller graph for this function:

◆ getAnchorPos()

FXint MFXTextFieldIcon::getAnchorPos ( ) const

Return anchor position.

Definition at line 866 of file MFXTextFieldIcon.cpp.

References myAnchorPosition.

◆ getCursorColor()

FXColor MFXTextFieldIcon::getCursorColor ( ) const

Return the cursor color.

Definition at line 2280 of file MFXTextFieldIcon.cpp.

References myCursorColor.

◆ getCursorPos()

FXint MFXTextFieldIcon::getCursorPos ( ) const

Return cursor position.

Definition at line 854 of file MFXTextFieldIcon.cpp.

References myCursorPosition.

◆ getDefaultHeight()

FXint MFXTextFieldIcon::getDefaultHeight ( )
virtual

Return default height.

Definition at line 223 of file MFXTextFieldIcon.cpp.

References myFont.

Referenced by MFXComboBoxIcon::getDefaultHeight().

Here is the caller graph for this function:

◆ getDefaultWidth()

FXint MFXTextFieldIcon::getDefaultWidth ( )
virtual

Return default width.

Definition at line 216 of file MFXTextFieldIcon.cpp.

References myFont, and myVisibleColumns.

Referenced by MFXComboBoxIcon::getDefaultWidth().

Here is the caller graph for this function:

◆ getDelimiters()

const FXchar * MFXTextFieldIcon::getDelimiters ( ) const

Return word delimiters.

Definition at line 2387 of file MFXTextFieldIcon.cpp.

References myTextDelimiter.

◆ getFont()

FXFont * MFXTextFieldIcon::getFont ( ) const

Get the text font.

Definition at line 192 of file MFXTextFieldIcon.cpp.

References myFont.

◆ getHelpText()

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().

Here is the caller graph for this function:

◆ getJustify()

FXuint MFXTextFieldIcon::getJustify ( ) const

Return text justification mode.

Definition at line 2375 of file MFXTextFieldIcon.cpp.

References JUSTIFY_MASK.

◆ getNumColumns()

FXint MFXTextFieldIcon::getNumColumns ( ) const

Return number of columns.

Definition at line 2301 of file MFXTextFieldIcon.cpp.

References myVisibleColumns.

◆ getSelBackColor()

FXColor MFXTextFieldIcon::getSelBackColor ( ) const
inline

Return selected background color.

Definition at line 126 of file MFXTextFieldIcon.h.

References mySelectedBackgroundColor.

◆ getSelTextColor()

FXColor MFXTextFieldIcon::getSelTextColor ( ) const

Return selected text color.

Definition at line 2265 of file MFXTextFieldIcon.cpp.

References mySelectedTextColor.

◆ getText()

◆ getTextColor()

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().

Here is the caller graph for this function:

◆ getTextStyle()

FXuint MFXTextFieldIcon::getTextStyle ( ) const

Return text style.

Definition at line 2355 of file MFXTextFieldIcon.cpp.

References TEXTFIELD_MASK.

◆ getTipText()

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().

Here is the caller graph for this function:

◆ index()

FXint MFXTextFieldIcon::index ( FXint  x) const
protected

index

Definition at line 1028 of file MFXTextFieldIcon.cpp.

References contents, myFont, and myShiftAmount.

Referenced by onAutoScroll(), onLeftBtnPress(), onMiddleBtnPress(), and onMotion().

Here is the caller graph for this function:

◆ isEditable()

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().

Here is the caller graph for this function:

◆ isOverstrike()

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().

Here is the caller graph for this function:

◆ isPosSelected()

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.

◆ isPosVisible()

FXbool MFXTextFieldIcon::isPosVisible ( FXint  pos) const

Return TRUE if position is fully visible.

Definition at line 1102 of file MFXTextFieldIcon.cpp.

References contents, and coord().

◆ killFocus()

void MFXTextFieldIcon::killFocus ( )
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().

Here is the caller graph for this function:

◆ killSelection()

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().

Here is the caller graph for this function:

◆ layout()

void MFXTextFieldIcon::layout ( )
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().

Here is the caller graph for this function:

◆ leftWord()

FXint MFXTextFieldIcon::leftWord ( FXint  pos) const
protected

left word

Definition at line 1436 of file MFXTextFieldIcon.cpp.

References contents, isdelimiter(), and myTextDelimiter.

Referenced by onCmdCursorWordLeft().

Here is the caller graph for this function:

◆ makePositionVisible()

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().

Here is the caller graph for this function:

◆ onAutoScroll()

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().

Here is the caller graph for this function:

◆ onBlink()

long MFXTextFieldIcon::onBlink ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 389 of file MFXTextFieldIcon.cpp.

References drawCursor().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onClipboardGained()

long MFXTextFieldIcon::onClipboardGained ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 325 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onClipboardLost()

long MFXTextFieldIcon::onClipboardLost ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 332 of file MFXTextFieldIcon.cpp.

References myClippedText.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onClipboardRequest()

long MFXTextFieldIcon::onClipboardRequest ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 341 of file MFXTextFieldIcon.cpp.

References myClippedText.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdBackspace()

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().

Here is the caller graph for this function:

◆ onCmdCopySel()

long MFXTextFieldIcon::onCmdCopySel ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1615 of file MFXTextFieldIcon.cpp.

References contents, myAnchorPosition, myClippedText, and myCursorPosition.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorEnd()

long MFXTextFieldIcon::onCmdCursorEnd ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1405 of file MFXTextFieldIcon.cpp.

References contents, makePositionVisible(), myCursorPosition, and setCursorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorHome()

long MFXTextFieldIcon::onCmdCursorHome ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1397 of file MFXTextFieldIcon.cpp.

References makePositionVisible(), and setCursorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorLeft()

long MFXTextFieldIcon::onCmdCursorLeft ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1422 of file MFXTextFieldIcon.cpp.

References contents, makePositionVisible(), myCursorPosition, and setCursorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorRight()

long MFXTextFieldIcon::onCmdCursorRight ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1413 of file MFXTextFieldIcon.cpp.

References contents, makePositionVisible(), myCursorPosition, and setCursorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorWordEnd()

long MFXTextFieldIcon::onCmdCursorWordEnd ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1553 of file MFXTextFieldIcon.cpp.

References makePositionVisible(), myCursorPosition, setCursorPos(), and wordEnd().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorWordLeft()

long MFXTextFieldIcon::onCmdCursorWordLeft ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1537 of file MFXTextFieldIcon.cpp.

References leftWord(), makePositionVisible(), myCursorPosition, and setCursorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorWordRight()

long MFXTextFieldIcon::onCmdCursorWordRight ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1529 of file MFXTextFieldIcon.cpp.

References makePositionVisible(), myCursorPosition, rightWord(), and setCursorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCursorWordStart()

long MFXTextFieldIcon::onCmdCursorWordStart ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1545 of file MFXTextFieldIcon.cpp.

References makePositionVisible(), myCursorPosition, setCursorPos(), and wordStart().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCutSel()

long MFXTextFieldIcon::onCmdCutSel ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1590 of file MFXTextFieldIcon.cpp.

References contents, isEditable(), myAnchorPosition, myClippedText, and myCursorPosition.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDelete()

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().

Here is the caller graph for this function:

◆ onCmdDeleteAll()

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().

Here is the caller graph for this function:

◆ onCmdDeleteSel()

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().

Here is the caller graph for this function:

◆ onCmdDeselectAll()

long MFXTextFieldIcon::onCmdDeselectAll ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1583 of file MFXTextFieldIcon.cpp.

References killSelection().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdExtend()

long MFXTextFieldIcon::onCmdExtend ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1568 of file MFXTextFieldIcon.cpp.

References extendSelection(), and myCursorPosition.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdGetHelp()

long MFXTextFieldIcon::onCmdGetHelp ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 479 of file MFXTextFieldIcon.cpp.

References getHelpText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdGetIntValue()

long MFXTextFieldIcon::onCmdGetIntValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 554 of file MFXTextFieldIcon.cpp.

References contents.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdGetRealValue()

long MFXTextFieldIcon::onCmdGetRealValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 561 of file MFXTextFieldIcon.cpp.

References contents.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdGetStringValue()

long MFXTextFieldIcon::onCmdGetStringValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 568 of file MFXTextFieldIcon.cpp.

References getText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdGetTip()

long MFXTextFieldIcon::onCmdGetTip ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 493 of file MFXTextFieldIcon.cpp.

References getTipText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdInsertString()

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().

Here is the caller graph for this function:

◆ onCmdMark()

long MFXTextFieldIcon::onCmdMark ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1561 of file MFXTextFieldIcon.cpp.

References myCursorPosition, and setAnchorPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOverstString()

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().

Here is the caller graph for this function:

◆ onCmdPasteMiddle()

long MFXTextFieldIcon::onCmdPasteMiddle ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1674 of file MFXTextFieldIcon.cpp.

References isEditable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdPasteSel()

long MFXTextFieldIcon::onCmdPasteSel ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1635 of file MFXTextFieldIcon.cpp.

References isEditable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSelectAll()

long MFXTextFieldIcon::onCmdSelectAll ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1575 of file MFXTextFieldIcon.cpp.

References makePositionVisible(), myCursorPosition, and selectAll().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetHelp()

long MFXTextFieldIcon::onCmdSetHelp ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 472 of file MFXTextFieldIcon.cpp.

References setHelpText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetIntValue()

long MFXTextFieldIcon::onCmdSetIntValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 533 of file MFXTextFieldIcon.cpp.

References setText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetRealValue()

long MFXTextFieldIcon::onCmdSetRealValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 540 of file MFXTextFieldIcon.cpp.

References setText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetStringValue()

long MFXTextFieldIcon::onCmdSetStringValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 547 of file MFXTextFieldIcon.cpp.

References setText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetTip()

long MFXTextFieldIcon::onCmdSetTip ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 486 of file MFXTextFieldIcon.cpp.

References setTipText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetValue()

long MFXTextFieldIcon::onCmdSetValue ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 526 of file MFXTextFieldIcon.cpp.

References setText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleEditable()

long MFXTextFieldIcon::onCmdToggleEditable ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 811 of file MFXTextFieldIcon.cpp.

References isEditable(), and setEditable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleOverstrike()

long MFXTextFieldIcon::onCmdToggleOverstrike ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 795 of file MFXTextFieldIcon.cpp.

References isOverstrike(), and setOverstrike().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onEnter()

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().

Here is the caller graph for this function:

◆ onFocusIn()

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().

Here is the caller graph for this function:

◆ onFocusOut()

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().

Here is the caller graph for this function:

◆ onFocusSelf()

long MFXTextFieldIcon::onFocusSelf ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 423 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP(), and MFXTextFieldSearch::onFocusSelf().

Here is the caller graph for this function:

◆ onKeyPress()

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().

Here is the caller graph for this function:

◆ onKeyRelease()

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().

Here is the caller graph for this function:

◆ onLeave()

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().

Here is the caller graph for this function:

◆ onLeftBtnPress()

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().

Here is the caller graph for this function:

◆ onLeftBtnRelease()

long MFXTextFieldIcon::onLeftBtnRelease ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 608 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMiddleBtnPress()

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().

Here is the caller graph for this function:

◆ onMiddleBtnRelease()

long MFXTextFieldIcon::onMiddleBtnRelease ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 643 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMotion()

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().

Here is the caller graph for this function:

◆ onPaint()

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().

Here is the caller graph for this function:

◆ onQueryHelp()

long MFXTextFieldIcon::onQueryHelp ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 513 of file MFXTextFieldIcon.cpp.

References myHelpText.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onQueryTip()

long MFXTextFieldIcon::onQueryTip ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 500 of file MFXTextFieldIcon.cpp.

References myTooltipText.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onSelectionGained()

long MFXTextFieldIcon::onSelectionGained ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 246 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onSelectionLost()

long MFXTextFieldIcon::onSelectionLost ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 254 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onSelectionRequest()

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().

Here is the caller graph for this function:

◆ onUpdate()

long MFXTextFieldIcon::onUpdate ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Definition at line 229 of file MFXTextFieldIcon.cpp.

References disable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdHaveSelection()

long MFXTextFieldIcon::onUpdHaveSelection ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Definition at line 827 of file MFXTextFieldIcon.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSelectAll()

long MFXTextFieldIcon::onUpdSelectAll ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Definition at line 834 of file MFXTextFieldIcon.cpp.

References contents.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdToggleEditable()

long MFXTextFieldIcon::onUpdToggleEditable ( FXObject *  sender,
FXSelector  ,
void *   
)

Definition at line 818 of file MFXTextFieldIcon.cpp.

References isEditable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdToggleOverstrike()

long MFXTextFieldIcon::onUpdToggleOverstrike ( FXObject *  sender,
FXSelector  ,
void *   
)

Definition at line 802 of file MFXTextFieldIcon.cpp.

References isOverstrike().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onVerify()

long MFXTextFieldIcon::onVerify ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Definition at line 1866 of file MFXTextFieldIcon.cpp.

References myVisibleColumns.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

MFXTextFieldIcon & MFXTextFieldIcon::operator= ( const MFXTextFieldIcon )
privatedelete

invalidate assigment constructor

◆ rightWord()

FXint MFXTextFieldIcon::rightWord ( FXint  pos) const
protected

right word

Definition at line 1462 of file MFXTextFieldIcon.cpp.

References contents, isdelimiter(), and myTextDelimiter.

Referenced by onCmdCursorWordRight().

Here is the caller graph for this function:

◆ selectAll()

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().

Here is the caller graph for this function:

◆ setAnchorPos()

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().

Here is the caller graph for this function:

◆ setCursorColor()

void MFXTextFieldIcon::setCursorColor ( FXColor  clr)

Changes the cursor color.

Definition at line 2271 of file MFXTextFieldIcon.cpp.

References myCursorColor.

◆ setCursorPos()

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().

Here is the caller graph for this function:

◆ setDelimiters()

void MFXTextFieldIcon::setDelimiters ( const FXchar *  delims = FXTextField::textDelimiters)

Change word delimiters.

Definition at line 2381 of file MFXTextFieldIcon.cpp.

References myTextDelimiter.

◆ setEditable()

void MFXTextFieldIcon::setEditable ( FXbool  edit = TRUE)

Set editable mode.

Definition at line 2314 of file MFXTextFieldIcon.cpp.

Referenced by onCmdToggleEditable().

Here is the caller graph for this function:

◆ setFocus()

void MFXTextFieldIcon::setFocus ( )
virtual

Move the focus to this window.

Definition at line 442 of file MFXTextFieldIcon.cpp.

◆ setFont()

void MFXTextFieldIcon::setFont ( FXFont *  fnt)

Set the text font.

Definition at line 179 of file MFXTextFieldIcon.cpp.

References myFont.

Referenced by MFXTextFieldSearch::drawSearchTextRange().

Here is the caller graph for this function:

◆ setHelpText()

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().

Here is the caller graph for this function:

◆ setIcon()

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().

Here is the caller graph for this function:

◆ setJustify()

void MFXTextFieldIcon::setJustify ( FXuint  mode)

Change text justification mode.

Definition at line 2362 of file MFXTextFieldIcon.cpp.

References JUSTIFY_MASK, and myShiftAmount.

◆ setNumColumns()

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.

◆ setOverstrike()

void MFXTextFieldIcon::setOverstrike ( FXbool  over = TRUE)

Set overstrike mode.

Definition at line 2332 of file MFXTextFieldIcon.cpp.

Referenced by onCmdToggleOverstrike().

Here is the caller graph for this function:

◆ setSelBackColor()

void MFXTextFieldIcon::setSelBackColor ( FXColor  clr)

Change selected background color.

Definition at line 2247 of file MFXTextFieldIcon.cpp.

References mySelectedBackgroundColor.

◆ setSelection()

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().

◆ setSelTextColor()

void MFXTextFieldIcon::setSelTextColor ( FXColor  clr)

Change selected text color.

Definition at line 2256 of file MFXTextFieldIcon.cpp.

References mySelectedTextColor.

◆ setText()

◆ setTextColor()

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().

Here is the caller graph for this function:

◆ setTextStyle()

void MFXTextFieldIcon::setTextStyle ( FXuint  style)

Change text style.

Definition at line 2342 of file MFXTextFieldIcon.cpp.

References myShiftAmount, and TEXTFIELD_MASK.

◆ setTipText()

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().

Here is the caller graph for this function:

◆ setToolTipText()

void MFXTextFieldIcon::setToolTipText ( const FXString &  toolTip)

set toolTip

Definition at line 2417 of file MFXTextFieldIcon.cpp.

References myToolTipText.

◆ wordEnd()

FXint MFXTextFieldIcon::wordEnd ( FXint  pos) const
protected

word end

Definition at line 1509 of file MFXTextFieldIcon.cpp.

References contents, isdelimiter(), and myTextDelimiter.

Referenced by onCmdCursorWordEnd().

Here is the caller graph for this function:

◆ wordStart()

FXint MFXTextFieldIcon::wordStart ( FXint  pos) const
protected

word start

Definition at line 1488 of file MFXTextFieldIcon.cpp.

References contents, isdelimiter(), and myTextDelimiter.

Referenced by onCmdCursorWordStart().

Here is the caller graph for this function:

Field Documentation

◆ contents

◆ myAnchorPosition

◆ myClippedText

FXString MFXTextFieldIcon::myClippedText
protected

Clipped text.

Definition at line 307 of file MFXTextFieldIcon.h.

Referenced by onClipboardLost(), onClipboardRequest(), onCmdCopySel(), and onCmdCutSel().

◆ myCursorColor

FXColor MFXTextFieldIcon::myCursorColor = 0
protected

Color of the Cursor.

Definition at line 292 of file MFXTextFieldIcon.h.

Referenced by drawCursor(), getCursorColor(), onPaint(), MFXTextFieldSearch::onPaint(), and setCursorColor().

◆ myCursorPosition

◆ myFont

◆ myHelpText

FXString MFXTextFieldIcon::myHelpText
protected

Help string.

Definition at line 310 of file MFXTextFieldIcon.h.

Referenced by getHelpText(), onQueryHelp(), and setHelpText().

◆ myIcon

FXIcon* MFXTextFieldIcon::myIcon = nullptr
protected

myIcon

Definition at line 316 of file MFXTextFieldIcon.h.

Referenced by drawCursor(), drawTextRange(), onPaint(), MFXTextFieldSearch::onPaint(), and setIcon().

◆ mySelectedBackgroundColor

FXColor MFXTextFieldIcon::mySelectedBackgroundColor = 0
protected

Selected background color.

Definition at line 286 of file MFXTextFieldIcon.h.

Referenced by drawTextRange(), getSelBackColor(), and setSelBackColor().

◆ mySelectedTextColor

FXColor MFXTextFieldIcon::mySelectedTextColor = 0
protected

Selected text color.

Definition at line 289 of file MFXTextFieldIcon.h.

Referenced by drawTextRange(), getSelTextColor(), and setSelTextColor().

◆ myShiftAmount

FXint MFXTextFieldIcon::myShiftAmount = 0
protected

◆ myStaticToolTip

MFXStaticToolTip* MFXTextFieldIcon::myStaticToolTip = nullptr
protected

static tooltip

Definition at line 319 of file MFXTextFieldIcon.h.

Referenced by onEnter(), onLeave(), and onMotion().

◆ myTextColor

FXColor MFXTextFieldIcon::myTextColor = 0
protected

Text color.

Definition at line 283 of file MFXTextFieldIcon.h.

Referenced by drawTextRange(), getTextColor(), and setTextColor().

◆ myTextDelimiter

const FXchar* MFXTextFieldIcon::myTextDelimiter = FXTextField::textDelimiters
protected

Set of text delimiter.

Definition at line 277 of file MFXTextFieldIcon.h.

Referenced by getDelimiters(), leftWord(), rightWord(), setDelimiters(), wordEnd(), and wordStart().

◆ myTooltipText

FXString MFXTextFieldIcon::myTooltipText
protected

Tooltip.

Definition at line 313 of file MFXTextFieldIcon.h.

Referenced by getTipText(), onQueryTip(), and setTipText().

◆ myToolTipText

FXString MFXTextFieldIcon::myToolTipText
protected

toolTip text (if set, tooltip will be always show)

Definition at line 322 of file MFXTextFieldIcon.h.

Referenced by onEnter(), and setToolTipText().

◆ myVisibleColumns

FXint MFXTextFieldIcon::myVisibleColumns = 0
protected

Number of myVisibleColumns visible.

Definition at line 301 of file MFXTextFieldIcon.h.

Referenced by getDefaultWidth(), getNumColumns(), onVerify(), and setNumColumns().


The documentation for this class was generated from the following files: