Module base_button

Consts

DRAW_NORMAL* = 0'i64
DRAW_PRESSED* = 1'i64
DRAW_HOVER* = 2'i64
DRAW_DISABLED* = 3'i64
ACTION_MODE_BUTTON_PRESS* = 0'i64
ACTION_MODE_BUTTON_RELEASE* = 1'i64

Procs

proc disabled*(self: BaseButton): bool {.
gcsafe, locks: 0
.}
proc `disabled =`*(self: BaseButton; val: bool) {.
gcsafe, locks: 0
.}
proc toggleMode*(self: BaseButton): bool {.
gcsafe, locks: 0
.}
proc `toggleMode =`*(self: BaseButton; val: bool) {.
gcsafe, locks: 0
.}
proc pressed*(self: BaseButton): bool {.
gcsafe, locks: 0
.}
proc `pressed =`*(self: BaseButton; val: bool) {.
gcsafe, locks: 0
.}
proc actionMode*(self: BaseButton): int64 {.
gcsafe, locks: 0
.}
proc `actionMode =`*(self: BaseButton; val: int64) {.
gcsafe, locks: 0
.}
proc enabledFocusMode*(self: BaseButton): int64 {.
gcsafe, locks: 0
.}
proc `enabledFocusMode =`*(self: BaseButton; val: int64) {.
gcsafe, locks: 0
.}
proc shortcut*(self: BaseButton): ShortCut {.
gcsafe, locks: 0
.}
proc `shortcut =`*(self: BaseButton; val: ShortCut) {.
gcsafe, locks: 0
.}
proc group*(self: BaseButton): ButtonGroup {.
gcsafe, locks: 0
.}
proc `group =`*(self: BaseButton; val: ButtonGroup) {.
gcsafe, locks: 0
.}
proc isHovered*(self: BaseButton): bool {.
gcsafe, locks: 0
.}
proc getDrawMode*(self: BaseButton): int64 {.
gcsafe, locks: 0
.}

Methods

method pressed*(self: BaseButton) {.
gcsafe, locks: 0, base
.}
method toggled*(self: BaseButton; pressed: bool) {.
gcsafe, locks: 0, base
.}
method guiInput*(self: BaseButton; event: InputEvent) {.
gcsafe, locks: 0
.}
method unhandledInput*(self: BaseButton; event: InputEvent) {.
gcsafe, locks: 0
.}