Classes | |
struct | SYS_BUTTON |
Functions | |
void | sys_getbutton (arg_t eax) |
system function 17 - Get the identifier of the pressed button More... | |
void | syscall_button (arg_t eax, arg_t ebx, arg_t ecx, arg_t edx, arg_t esi) |
system function 8 - define/delete the button More... | |
Variables | |
label | sys_button_activate_handler |
------------------------------------------------------------— More... | |
label | sys_button_deactivate_handler |
label | sys_button_perform_handler |
------------------------------------------------------------— More... | |
void sys_getbutton | ( | arg_t | eax | ) |
system function 17 - Get the identifier of the pressed button
eax | 17 - number function |
void syscall_button | ( | arg_t | eax, |
arg_t | ebx, | ||
arg_t | ecx, | ||
arg_t | edx, | ||
arg_t | esi | ||
) |
system function 8 - define/delete the button
eax | = 8 - number function |
ebx | = [offset_x]*65536 + [width] |
ecx | = [offset_y]*65536 + [height] |
edx | = 0xXYnnnnnn, where: nnnnnn = identifier of the button 31 bit - delete button 30 bit - don't draw button 29 bit - don't draw button frame when pressed |
esi | = 0x00RRGGBB - button color |
label sys_button_activate_handler |
------------------------------------------------------------—
label sys_button_deactivate_handler |
label sys_button_perform_handler |
------------------------------------------------------------—