|
| | CLatchButtonArray (CWidgetControl *pWidgetControl, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttonColumns, uint8_t buttonRows, nxgl_coord_t buttonWidth, nxgl_coord_t buttonHeight, CWidgetStyle *style=(CWidgetStyle *) NULL) |
| |
| virtual | ~CLatchButtonArray (void) |
| |
| const bool | isAnyButtonLatched (int &column, int &row) const |
| |
| const bool | isThisButtonLatched (int column, int row) const |
| |
| | CStickyButtonArray (CWidgetControl *pWidgetControl, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttonColumns, uint8_t buttonRows, nxgl_coord_t buttonWidth, nxgl_coord_t buttonHeight, CWidgetStyle *style=(CWidgetStyle *) NULL) |
| |
| virtual | ~CStickyButtonArray (void) |
| |
| virtual bool | isAnyButtonStuckDown (int &column, int &row) const |
| |
| virtual bool | isThisButtonStuckDown (int column, int row) const |
| |
| virtual bool | stickDown (int column, int row) |
| |
| virtual void | unstick (void) |
| |
| | CButtonArray (CWidgetControl *pWidgetControl, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttonColumns, uint8_t buttonRows, nxgl_coord_t buttonWidth, nxgl_coord_t buttonHeight, CWidgetStyle *style=(CWidgetStyle *) NULL) |
| |
| | ~CButtonArray (void) |
| |
| virtual const CNxString & | getText (int column, int row) const |
| |
| virtual void | setText (int column, int row, const CNxString &text) |
| |
| virtual bool | isButtonClicked (int &column, int &row) const |
| |
| virtual bool | isThisButtonClicked (int column, int row) const |
| |
| virtual void | cursor (bool cursorOn) |
| |
| virtual bool | getCursorPosition (int &column, int &row) const |
| |
| virtual bool | setCursorPosition (int column, int row) |
| |
| virtual bool | isCursorPosition (int column, int row) const |
| |
| virtual void | getPreferredDimensions (CRect &rect) const |
| |
| virtual void | setFont (CNxFont *font) |
| |
| | CNxWidget (CWidgetControl *pWidgetControl, nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, uint32_t flags, FAR const CWidgetStyle *style=(FAR const CWidgetStyle *) NULL) |
| |
| virtual | ~CNxWidget (void) |
| |
| nxgl_coord_t | getX (void) const |
| |
| nxgl_coord_t | getY (void) const |
| |
| nxgl_coord_t | getRelativeX (void) const |
| |
| nxgl_coord_t | getRelativeY (void) const |
| |
| bool | hasFocus (void) const |
| |
| bool | isDeleted (void) const |
| |
| bool | isDrawingEnabled (void) const |
| |
| bool | isHidden (void) const |
| |
| bool | isEnabled (void) const |
| |
| bool | isPermeable (void) const |
| |
| bool | isDoubleClickable (void) const |
| |
| bool | isBorderless (void) const |
| |
| bool | isClicked (void) const |
| |
| bool | isBeingDragged (void) const |
| |
| nxgl_coord_t | getWidth (void) const |
| |
| nxgl_coord_t | getHeight (void) const |
| |
| void | getSize (struct nxgl_size_s &size) const |
| |
| void | getPos (struct nxgl_point_s &pos) const |
| |
| CRect | getBoundingBox (void) |
| |
| void | getBorderSize (WidgetBorderSize &borderSize) |
| |
| CNxWidget * | getParent (void) const |
| |
| CNxWidget * | getFocusedWidget (void) |
| |
| void | getClientRect (CRect &rect) const |
| |
| void | getRect (CRect &rect) const |
| |
| CNxFont * | getFont (void) const |
| |
| nxgl_mxpixel_t | getBackgroundColor (void) const |
| |
| nxgl_mxpixel_t | getSelectedBackgroundColor (void) const |
| |
| nxgl_mxpixel_t | getShineEdgeColor (void) const |
| |
| nxgl_mxpixel_t | getShadowEdgeColor (void) const |
| |
| nxgl_mxpixel_t | getHighlightColor (void) const |
| |
| nxgl_mxpixel_t | getDisabledTextColor (void) const |
| |
| nxgl_mxpixel_t | getEnabledTextColor (void) const |
| |
| nxgl_mxpixel_t | getSelectedTextColor (void) const |
| |
| const CWidgetStyle * | getWidgetStyle () const |
| |
| void | setBorderless (bool isBorderless) |
| |
| void | setDraggable (bool isDraggable) |
| |
| void | setPermeable (bool permeable) |
| |
| void | setDoubleClickable (bool doubleClickable) |
| |
| void | addWidgetEventHandler (CWidgetEventHandler *eventHandler) |
| |
| void | removeWidgetEventHandler (CWidgetEventHandler *eventHandler) |
| |
| int | nWidgetEventHandlers (void) const |
| |
| void | setRaisesEvents (bool raises) |
| |
| bool | raisesEvents (void) const |
| |
| void | disableDrawing (void) |
| |
| void | enableDrawing (void) |
| |
| void | setBackgroundColor (nxgl_mxpixel_t color) |
| |
| void | setSelectedBackgroundColor (nxgl_mxpixel_t color) |
| |
| void | setShineEdgeColor (nxgl_mxpixel_t color) |
| |
| void | setShadowEdgeColor (nxgl_mxpixel_t color) |
| |
| void | setHighlightColor (nxgl_mxpixel_t color) |
| |
| void | setDisabledTextColor (nxgl_mxpixel_t color) |
| |
| void | setEnabledTextColor (nxgl_mxpixel_t color) |
| |
| void | setSelectedTextColor (nxgl_mxpixel_t color) |
| |
| void | redraw (void) |
| |
| bool | enable (void) |
| |
| bool | disable (void) |
| |
| void | close (void) |
| |
| bool | show (void) |
| |
| bool | hide (void) |
| |
| virtual bool | click (nxgl_coord_t x, nxgl_coord_t y) |
| |
| virtual bool | isDoubleClick (nxgl_coord_t x, nxgl_coord_t y) |
| |
| bool | doubleClick (nxgl_coord_t x, nxgl_coord_t y) |
| |
| bool | release (nxgl_coord_t x, nxgl_coord_t y) |
| |
| bool | drag (nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t vX, nxgl_coord_t vY) |
| |
| bool | keyPress (nxwidget_char_t key) |
| |
| bool | cursorControl (ECursorControl control) |
| |
| bool | focus (void) |
| |
| bool | blur (void) |
| |
| bool | moveTo (nxgl_coord_t x, nxgl_coord_t y) |
| |
| bool | resize (nxgl_coord_t width, nxgl_coord_t height) |
| |
| bool | changeDimensions (nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height) |
| |
| void | moveChildToDeleteQueue (CNxWidget *widget) |
| |
| void | setFocusedWidget (CNxWidget *widget) |
| |
| virtual bool | checkCollision (nxgl_coord_t x, nxgl_coord_t y) const |
| |
| virtual bool | checkCollision (nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height) const |
| |
| bool | checkCollision (CNxWidget *widget) const |
| |
| void | addWidget (CNxWidget *widget) |
| |
| void | insertWidget (CNxWidget *widget) |
| |
| void | setParent (CNxWidget *parent) |
| |
| void | destroy (void) |
| |
| bool | remove (void) |
| |
| bool | removeChild (CNxWidget *widget) |
| |
| const CNxWidget * | getChild (int index) const |
| |
| int | getChildCount (void) const |
| |
| void | setBorderSize (const WidgetBorderSize &borderSize) |
| |
|
| virtual void | onClick (nxgl_coord_t x, nxgl_coord_t y) |
| |
| | CLatchButtonArray (const CLatchButtonArray &button) |
| |
| virtual void | drawContents (CGraphicsPort *port) |
| |
| | CStickyButtonArray (const CStickyButtonArray &button) |
| |
| virtual void | drawBorder (CGraphicsPort *port) |
| |
| virtual void | drawButton (CGraphicsPort *port, int column, int row, bool useClicked) |
| |
| virtual void | onPreRelease (nxgl_coord_t x, nxgl_coord_t y) |
| |
| virtual void | onRelease (nxgl_coord_t x, nxgl_coord_t y) |
| |
| virtual void | onReleaseOutside (nxgl_coord_t x, nxgl_coord_t y) |
| |
| virtual bool | posToButton (nxgl_coord_t x, nxgl_coord_t y, int &column, int &row) |
| |
| virtual void | onTextChange (void) |
| |
| | CButtonArray (const CButtonArray &button) |
| |
| void | useWidgetStyle (const CWidgetStyle *style) |
| |
| void | drawChildren (void) |
| |
| void | closeChild (CNxWidget *widget) |
| |
| void | startDragging (nxgl_coord_t x, nxgl_coord_t y) |
| |
| void | stopDragging (nxgl_coord_t x, nxgl_coord_t y) |
| |
| | CNxWidget (const CNxWidget &widget) |
| |
| virtual void | onDoubleClick (nxgl_coord_t x, nxgl_coord_t y) |
| |
| virtual void | onDrag (nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t vX, nxgl_coord_t vY) |
| |
| virtual void | onDragStart (void) |
| |
| virtual void | onDragStop (void) |
| |
| virtual void | onFocus (void) |
| |
| virtual void | onBlur (void) |
| |
| virtual void | onEnable (void) |
| |
| virtual void | onDisable (void) |
| |
| virtual void | onResize (nxgl_coord_t width, nxgl_coord_t height) |
| |
Manages a two-dimensional array of buttons as one widget. When a button is clicked is latches (i.e., it stays pushed after the press is released. The behavior is then like radio buttons: Pressing each each button in the array unlatches the previous button and latches the new button.
Unlike CLatchButton, pressing the same button more than once has no effect.
Definition at line 82 of file clatchbuttonarray.hxx.