|
Defines |
| #define | W_BACKGROUND (wnd->background ) |
| #define | W_X (wnd->x) |
| #define | W_Y (wnd->y) |
| #define | W_WIDTH (wnd->width) |
| #define | W_HEIGHT (wnd->height) |
| #define | W_OLDCANVAS (wnd->oldcanvas) |
| #define | W_CANVAS (wnd->canvas) |
| #define | W_GADGET (wnd->gadget) |
| #define | W_TEXT_X (wnd->text_x) |
| #define | W_TEXT_Y (wnd->text_y) |
| #define | W_NEXT (wnd->next) |
| #define | W_PREV (wnd->prev) |
| #define | BORDER_WIDTH 8 |
Functions |
| void | ui_draw_frame (short x1, short y1, short x2, short y2) |
| void | ui_set_playback_speed (int speed) |
| int | ui_record_events (int NumberOfEvents, UI_EVENT *buffer, int Flags) |
| int | ui_play_events_realtime (int NumberOfEvents, UI_EVENT *buffer) |
| int | ui_play_events_fast (int NumberOfEvents, UI_EVENT *buffer) |
| int | ui_recorder_status () |
| void | add_window_to_end (UI_WINDOW *wnd) |
| void | add_window_to_beg (UI_WINDOW *wnd) |
| void | add_window_after (UI_WINDOW *w1, UI_WINDOW *w2) |
| void | close_all () |
| void | remove_window (UI_WINDOW *wnd) |
| UI_WINDOW * | ui_open_window (short x, short y, short w, short h, int flags) |
| void | ui_close_window (UI_WINDOW *wnd) |
| void | restore_state () |
| void | ui_reset_idle_seconds () |
| int | ui_get_idle_seconds () |
| void | ui_mega_process () |
| void | ui_wprintf (UI_WINDOW *wnd, char *format,...) |
| void | ui_wprintf_at (UI_WINDOW *wnd, short x, short y, char *format,...) |
Variables |
| UI_WINDOW * | CurWindow = NULL |
| UI_WINDOW * | FirstWindow = NULL |
| UI_WINDOW * | LastWindow = NULL |
| int | last_keypress = 0 |
| static unsigned int | FrameCount = 0 |
| unsigned int | ui_event_counter = 0 |
| unsigned int | ui_number_of_events = 0 |
| static UI_EVENT * | EventBuffer = NULL |
| static int | Record = 0 |
| static int | RecordFlags = 0 |
| static short | MouseDX = 0 |
| static short | MouseDY = 0 |
| static short | MouseButtons = 0 |
| static unsigned char | SavedState [256] |
| static int | PlaybackSpeed = 1 |
| int | last_event = 0 |