#include <stdlib.h>#include <string.h>#include "u_mem.h"#include "fix.h"#include "types.h"#include "gr.h"#include "ui.h"#include "key.h"#include "mono.h"Defines | |
| #define | Middle(x) ((2*(x)+1)/4) |
| #define | BUTTON_EXTRA_WIDTH 15 |
| #define | BUTTON_EXTRA_HEIGHT 2 |
Functions | |
| void | ui_get_button_size (char *text, int *width, int *height) |
| void | ui_draw_button (UI_GADGET_BUTTON *button) |
| UI_GADGET_BUTTON * | ui_add_gadget_button (UI_WINDOW *wnd, short x, short y, short w, short h, char *text, int(*function_to_call)(void)) |
| void | ui_button_do (UI_GADGET_BUTTON *button, int keypress) |
Variables | |
| int | ui_button_any_drawn = 0 |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
1.4.6