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

FXTextFieldIcon (based on FXTextFieldIcon). More...

#include <MFXTextFieldSearch.h>

Inheritance diagram for MFXTextFieldSearch:
[legend]
Collaboration diagram for MFXTextFieldSearch:
[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.
 MFXTextFieldSearch (FXComposite *p, MFXStaticToolTip *staticToolTip, 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.
long onFocusIn (FXObject *sender, FXSelector sel, void *ptr)
 focus in
long onFocusOut (FXObject *sender, FXSelector sel, void *ptr)
 focus out
long onFocusSelf (FXObject *sender, FXSelector sel, void *ptr)
 focus self
long onKeyPress (FXObject *obj, FXSelector sel, void *ptr)
 key press
long onPaint (FXObject *obj, FXSelector sel, void *ptr)
 paint
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
long onEnter (FXObject *, FXSelector, void *)
 fox callbacks
long onLeave (FXObject *, FXSelector, void *)
long onUpdate (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 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
 MFXTextFieldSearch ()
 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 text (if set, tooltip will be always show)
FXString myTooltipText
 Tooltip.
FXint myVisibleColumns = 0
 Number of myVisibleColumns visible.

Private Member Functions

void drawSearchTextRange (FXDCWindow &dc, FXint fm, const FXString &searchString)
 draw search text range

Private Attributes

FXObject * myTarget = nullptr
 target

Detailed Description

FXTextFieldIcon (based on FXTextFieldIcon).

Definition at line 28 of file MFXTextFieldSearch.h.

Constructor & Destructor Documentation

◆ MFXTextFieldSearch() [1/2]

MFXTextFieldSearch::MFXTextFieldSearch ( FXComposite * p,
MFXStaticToolTip * staticToolTip,
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.

constructor

Definition at line 53 of file MFXTextFieldSearch.cpp.

References MFXTextFieldIcon::MFXTextFieldIcon(), MFXTextFieldSearch(), and myTarget.

Referenced by MFXTextFieldSearch().

Here is the caller graph for this function:

◆ MFXTextFieldSearch() [2/2]

MFXTextFieldSearch::MFXTextFieldSearch ( )
protected

FOX need this.

Definition at line 127 of file MFXTextFieldSearch.cpp.

References MFXTextFieldIcon::MFXTextFieldIcon().

Member Function Documentation

◆ canFocus()

bool MFXTextFieldIcon::canFocus ( ) const
virtualinherited

Yes, text field may receive focus.

Definition at line 436 of file MFXTextFieldIcon.cpp.

◆ coord()

FXint MFXTextFieldIcon::coord ( FXint i) const
protectedinherited

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

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

Disable text field.

Definition at line 207 of file MFXTextFieldIcon.cpp.

Referenced by onUpdate().

Here is the caller graph for this function:

◆ drawCursor()

void MFXTextFieldIcon::drawCursor ( FXuint state)
protectedinherited

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 )
protectedinherited

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:

◆ drawSearchTextRange()

void MFXTextFieldSearch::drawSearchTextRange ( FXDCWindow & dc,
FXint fm,
const FXString & searchString )
private

draw search text range

Definition at line 133 of file MFXTextFieldSearch.cpp.

References ICON_SIZE, ICON_SPACING, MFXTextFieldIcon::myAnchorPosition, MFXTextFieldIcon::myCursorPosition, MFXTextFieldIcon::myFont, and MFXTextFieldIcon::myShiftAmount.

Referenced by onPaint().

Here is the caller graph for this function:

◆ drawTextFragment()

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

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 )
protectedinherited

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

Enable text field.

Definition at line 198 of file MFXTextFieldIcon.cpp.

◆ extendSelection()

FXbool MFXTextFieldIcon::extendSelection ( FXint pos)
inherited

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
inherited

Return anchor position.

Definition at line 866 of file MFXTextFieldIcon.cpp.

References myAnchorPosition.

◆ getCursorColor()

FXColor MFXTextFieldIcon::getCursorColor ( ) const
inherited

Return the cursor color.

Definition at line 2280 of file MFXTextFieldIcon.cpp.

References myCursorColor.

◆ getCursorPos()

FXint MFXTextFieldIcon::getCursorPos ( ) const
inherited

Return cursor position.

Definition at line 854 of file MFXTextFieldIcon.cpp.

References myCursorPosition.

◆ getDefaultHeight()

FXint MFXTextFieldIcon::getDefaultHeight ( )
virtualinherited

Return default height.

Definition at line 223 of file MFXTextFieldIcon.cpp.

References myFont.

◆ getDefaultWidth()

FXint MFXTextFieldIcon::getDefaultWidth ( )
virtualinherited

Return default width.

Definition at line 216 of file MFXTextFieldIcon.cpp.

References myFont, and myVisibleColumns.

◆ getDelimiters()

const FXchar * MFXTextFieldIcon::getDelimiters ( ) const
inherited

Return word delimiters.

Definition at line 2387 of file MFXTextFieldIcon.cpp.

References myTextDelimiter.

◆ getFont()

FXFont * MFXTextFieldIcon::getFont ( ) const
inherited

Get the text font.

Definition at line 192 of file MFXTextFieldIcon.cpp.

References myFont.

◆ getHelpText()

const FXString & MFXTextFieldIcon::getHelpText ( ) const
inherited

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
inherited

Return text justification mode.

Definition at line 2375 of file MFXTextFieldIcon.cpp.

References JUSTIFY_MASK.

◆ getNumColumns()

FXint MFXTextFieldIcon::getNumColumns ( ) const
inherited

Return number of columns.

Definition at line 2301 of file MFXTextFieldIcon.cpp.

References myVisibleColumns.

◆ getSelBackColor()

FXColor MFXTextFieldIcon::getSelBackColor ( ) const
inlineinherited

Return selected background color.

Definition at line 126 of file MFXTextFieldIcon.h.

References mySelectedBackgroundColor.

◆ getSelTextColor()

FXColor MFXTextFieldIcon::getSelTextColor ( ) const
inherited

Return selected text color.

Definition at line 2265 of file MFXTextFieldIcon.cpp.

References mySelectedTextColor.

◆ getText()

FXString MFXTextFieldIcon::getText ( ) const
inherited

Get the text for this label.

Definition at line 2226 of file MFXTextFieldIcon.cpp.

References contents.

Referenced by onCmdGetStringValue().

Here is the caller graph for this function:

◆ getTextColor()

FXColor MFXTextFieldIcon::getTextColor ( ) const
inherited

Return text color.

Definition at line 2241 of file MFXTextFieldIcon.cpp.

References myTextColor.

◆ getTextStyle()

FXuint MFXTextFieldIcon::getTextStyle ( ) const
inherited

Return text style.

Definition at line 2355 of file MFXTextFieldIcon.cpp.

References TEXTFIELD_MASK.

◆ getTipText()

const FXString & MFXTextFieldIcon::getTipText ( ) const
inherited

Get the tool tip message for this text field.

Definition at line 2411 of file MFXTextFieldIcon.cpp.

References myTooltipText.

Referenced by onCmdGetTip(), and onEnter().

Here is the caller graph for this function:

◆ index()

FXint MFXTextFieldIcon::index ( FXint x) const
protectedinherited

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
inherited

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
inherited

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
inherited

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
inherited

Return TRUE if position is fully visible.

Definition at line 1102 of file MFXTextFieldIcon.cpp.

References contents, and coord().

◆ killFocus()

void MFXTextFieldIcon::killFocus ( )
virtualinherited

Remove the focus from this window.

Definition at line 453 of file MFXTextFieldIcon.cpp.

References contents.

◆ killSelection()

FXbool MFXTextFieldIcon::killSelection ( )
inherited

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

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
protectedinherited

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)
inherited

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 )
inherited

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 *  )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 *  )
inherited

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 )
inherited

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 *  )
inherited

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 *  )
inherited

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 *  )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 *  )
inherited

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 *  )
inherited

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 )
inherited

fox callbacks

Definition at line 1326 of file MFXTextFieldIcon.cpp.

References contents, getTipText(), myFont, myStaticToolTip, myToolTipText, setHelpText(), and setTipText().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onFocusIn()

long MFXTextFieldSearch::onFocusIn ( FXObject * sender,
FXSelector sel,
void * ptr )

focus in

Definition at line 105 of file MFXTextFieldSearch.cpp.

References MFXTextFieldIcon::onFocusIn().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onFocusOut()

long MFXTextFieldSearch::onFocusOut ( FXObject * sender,
FXSelector sel,
void * ptr )

focus out

Definition at line 113 of file MFXTextFieldSearch.cpp.

References MFXTextFieldIcon::onFocusOut().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onFocusSelf()

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

focus self

Definition at line 121 of file MFXTextFieldSearch.cpp.

References MFXTextFieldIcon::onFocusSelf().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyPress()

long MFXTextFieldSearch::onKeyPress ( FXObject * obj,
FXSelector sel,
void * ptr )

key press

Definition at line 61 of file MFXTextFieldSearch.cpp.

References MID_MTEXTFIELDSEARCH_UPDATED, myTarget, and MFXTextFieldIcon::onKeyPress().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyRelease()

long MFXTextFieldIcon::onKeyRelease ( FXObject * ,
FXSelector ,
void * ptr )
inherited

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 )
inherited

Definition at line 1349 of file MFXTextFieldIcon.cpp.

References myStaticToolTip.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onLeftBtnPress()

long MFXTextFieldIcon::onLeftBtnPress ( FXObject * ,
FXSelector ,
void * ptr )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

Definition at line 656 of file MFXTextFieldIcon.cpp.

References drawCursor(), extendSelection(), index(), myCursorPosition, and myStaticToolTip.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onPaint()

long MFXTextFieldSearch::onPaint ( FXObject * obj,
FXSelector sel,
void * ptr )

paint

Definition at line 68 of file MFXTextFieldSearch.cpp.

References MFXTextFieldIcon::contents, MFXTextFieldIcon::coord(), drawSearchTextRange(), MFXTextFieldIcon::drawTextRange(), ICON_SIZE, ICON_SPACING, MFXTextFieldIcon::myCursorColor, MFXTextFieldIcon::myCursorPosition, MFXTextFieldIcon::myIcon, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onQueryHelp()

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

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

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 *  )
inherited

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 *  )
inherited

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 )
inherited

Definition at line 1866 of file MFXTextFieldIcon.cpp.

References myVisibleColumns.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ rightWord()

FXint MFXTextFieldIcon::rightWord ( FXint pos) const
protectedinherited

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

Select all text.

Definition at line 2152 of file MFXTextFieldIcon.cpp.

References contents, extendSelection(), myCursorPosition, setAnchorPos(), and setCursorPos().

Referenced by onCmdSelectAll().

Here is the caller graph for this function:

◆ setAnchorPos()

void MFXTextFieldIcon::setAnchorPos ( FXint pos)
inherited

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)
inherited

Changes the cursor color.

Definition at line 2271 of file MFXTextFieldIcon.cpp.

References myCursorColor.

◆ setCursorPos()

void MFXTextFieldIcon::setCursorPos ( FXint pos)
inherited

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)
inherited

Change word delimiters.

Definition at line 2381 of file MFXTextFieldIcon.cpp.

References myTextDelimiter.

◆ setEditable()

void MFXTextFieldIcon::setEditable ( FXbool edit = TRUE)
inherited

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

Move the focus to this window.

Definition at line 442 of file MFXTextFieldIcon.cpp.

◆ setFont()

void MFXTextFieldIcon::setFont ( FXFont * fnt)
inherited

Set the text font.

Definition at line 179 of file MFXTextFieldIcon.cpp.

References myFont.

◆ setHelpText()

void MFXTextFieldIcon::setHelpText ( const FXString & text)
inherited

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)
inherited

Change the icon.

Definition at line 2214 of file MFXTextFieldIcon.cpp.

References contents, killSelection(), layout(), myAnchorPosition, myCursorPosition, and myIcon.

◆ setJustify()

void MFXTextFieldIcon::setJustify ( FXuint mode)
inherited

Change text justification mode.

Definition at line 2362 of file MFXTextFieldIcon.cpp.

References JUSTIFY_MASK, and myShiftAmount.

◆ setNumColumns()

void MFXTextFieldIcon::setNumColumns ( FXint cols)
inherited

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)
inherited

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)
inherited

Change selected background color.

Definition at line 2247 of file MFXTextFieldIcon.cpp.

References mySelectedBackgroundColor.

◆ setSelection()

FXbool MFXTextFieldIcon::setSelection ( FXint pos,
FXint len )
inherited

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)
inherited

Change selected text color.

Definition at line 2256 of file MFXTextFieldIcon.cpp.

References mySelectedTextColor.

◆ setText()

void MFXTextFieldIcon::setText ( const FXString & text,
FXbool notify = FALSE )
inherited

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 onCmdSetIntValue(), onCmdSetRealValue(), onCmdSetStringValue(), onCmdSetValue(), and GNETLSTable::testTable().

Here is the caller graph for this function:

◆ setTextColor()

void MFXTextFieldIcon::setTextColor ( FXColor clr)
inherited

Change text color.

Definition at line 2232 of file MFXTextFieldIcon.cpp.

References myTextColor.

◆ setTextStyle()

void MFXTextFieldIcon::setTextStyle ( FXuint style)
inherited

Change text style.

Definition at line 2342 of file MFXTextFieldIcon.cpp.

References myShiftAmount, and TEXTFIELD_MASK.

◆ setTipText()

void MFXTextFieldIcon::setTipText ( const FXString & text)
inherited

Set the tool tip message for this text field.

Definition at line 2405 of file MFXTextFieldIcon.cpp.

References myTooltipText.

Referenced by onCmdSetTip(), and onEnter().

Here is the caller graph for this function:

◆ setToolTipText()

void MFXTextFieldIcon::setToolTipText ( const FXString & toolTip)
inherited

set toolTip

Definition at line 2417 of file MFXTextFieldIcon.cpp.

References myToolTipText.

◆ wordEnd()

FXint MFXTextFieldIcon::wordEnd ( FXint pos) const
protectedinherited

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
protectedinherited

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
protectedinherited

Clipped text.

Definition at line 307 of file MFXTextFieldIcon.h.

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

◆ myCursorColor

FXColor MFXTextFieldIcon::myCursorColor = 0
protectedinherited

Color of the Cursor.

Definition at line 292 of file MFXTextFieldIcon.h.

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

◆ myCursorPosition

◆ myFont

◆ myHelpText

FXString MFXTextFieldIcon::myHelpText
protectedinherited

Help string.

Definition at line 310 of file MFXTextFieldIcon.h.

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

◆ myIcon

FXIcon* MFXTextFieldIcon::myIcon = nullptr
protectedinherited

◆ mySelectedBackgroundColor

FXColor MFXTextFieldIcon::mySelectedBackgroundColor = 0
protectedinherited

Selected background color.

Definition at line 286 of file MFXTextFieldIcon.h.

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

◆ mySelectedTextColor

FXColor MFXTextFieldIcon::mySelectedTextColor = 0
protectedinherited

Selected text color.

Definition at line 289 of file MFXTextFieldIcon.h.

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

◆ myShiftAmount

FXint MFXTextFieldIcon::myShiftAmount = 0
protectedinherited

◆ myStaticToolTip

MFXStaticToolTip* MFXTextFieldIcon::myStaticToolTip = nullptr
protectedinherited

static tooltip

Definition at line 319 of file MFXTextFieldIcon.h.

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

◆ myTarget

FXObject* MFXTextFieldSearch::myTarget = nullptr
private

target

Definition at line 60 of file MFXTextFieldSearch.h.

Referenced by MFXTextFieldSearch(), and onKeyPress().

◆ myTextColor

FXColor MFXTextFieldIcon::myTextColor = 0
protectedinherited

Text color.

Definition at line 283 of file MFXTextFieldIcon.h.

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

◆ myTextDelimiter

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

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
protectedinherited

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

Definition at line 322 of file MFXTextFieldIcon.h.

Referenced by onEnter(), and setToolTipText().

◆ myTooltipText

FXString MFXTextFieldIcon::myTooltipText
protectedinherited

Tooltip.

Definition at line 313 of file MFXTextFieldIcon.h.

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

◆ myVisibleColumns

FXint MFXTextFieldIcon::myVisibleColumns = 0
protectedinherited

Number of myVisibleColumns visible.

Definition at line 301 of file MFXTextFieldIcon.h.

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


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