kolibrios-fun/programs/develop/fasm/1.73/kolibri/equates/box_lib.inc

55 lines
1.3 KiB
PHP
Raw Normal View History

;equates for EDIT_BOX
ED_PASS = 0001h
ED_FOCUS = 0002h
ED_SHIFT = 0004h
ED_SHIFT_ON = 0008h
ED_SHIFT_BAC = 0010h
ED_LEFT_FL = 0020h
ED_OFFSET_FL = 0040h
ED_INSERT = 0080h
ED_MOUSE_ON = 0100h
ED_CTRL_ON = 0200h
ED_ALT_ON = 0400h
ED_DISABLED = 0800h
ED_ALWAYS_FOCUS = 4000h
ED_FIGURE_ONLY = 8000h
ED_MOUS_ADN_B = ED_MOUSE_ON or ED_SHIFT_ON or ED_SHIFT_BAC
ED_SHIFT_OFF = not ED_SHIFT
ED_SHIFT_MCL = not ED_SHIFT
ED_SHIFT_ON_OFF = not ED_SHIFT_ON
ED_SHIFT_BAC_CL = not ED_SHIFT_BAC
ED_SHIFT_CL = not (ED_SHIFT or ED_SHIFT_ON or ED_SHIFT_BAC)
ED_RIGHT_FL = not ED_LEFT_FL
ED_OFFSET_CL = not ED_OFFSET_FL
ED_INSERT_CL = not ED_INSERT
ED_MOUSE_ON_OFF = not ED_MOUSE_ON
ED_CTRL_OFF = not ED_CTRL_ON
ED_ALT_OFF = not ED_ALT_ON
;equates for CHECK_BOX2
CB_FLAG_TOP = 0
CB_FLAG_EN = 2
CB_FLAG_MIDDLE = 4
CB_FLAG_BOTTOM = 8
; equates for TREE_LIST
TL_KEY_NO_EDIT = 0001h
TL_DRAW_PAR_LINE = 0002h
TL_LIST_BOX_MODE = 0004h
TL_ERR_LOAD_CAPTION = 0001h
TL_ERR_SAVE_MEMORY_SIZE = 0002h
TL_ERR_LOAD_INFO_SIZE= 0004h
TL_LOAD_MODE_ADD =20000h
TL_SAVE_LOAD_HEDER_SIZE = 26
TL_OFFS_BOX = 0
; equates for TEXT_EDITOR
TED_OPT_ED_MOVE_CURSOR = 0001h
TED_OPT_ED_CHANGE_TIME = 0002h