|
LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024 ETMSoftware
|
10 # define FLUSH_KEYB_OR_TOUCHSCREEN_BUF {lg_flush_keyb_buf();}
12 # define FLUSH_KEYB_OR_TOUCHSCREEN_BUF {lg_flush_touchscreen_buf();}
16 # define WAIT_FOR_PRESS_OR_TOUCH {lg_wait_for_any_key_pressed();}
18 # define WAIT_FOR_PRESS_OR_TOUCH {lg_wait_for_finger_down(NULL, NULL);}
21 #define FUNC_KEYS_REPEAT_DELAY 200
57 uint8_t arrow_keys_state;
61 uint32_t last_pressed_key;
63 lg_finger_down_loc finger_down_loc;
101 #define TZW_ARROW_POINTS_NUM 7
110 TZW_DOUBLE_ARROW_HORIZ,
111 TZW_DOUBLE_ARROW_VERT,
void lg_draw_arrow(Rec2Di r, LG_Color_u c, lg_tzw_type type)
Definition: lg_ui.c:201
void lg_tzwin_show(LG_TouchZoneWindow *tzwin, lg_tzw_type type)
Definition: lg_ui.c:96
void lg_rectangle_to_arrow(Rec2Di r, lg_tzw_type arrow_type, Point2Di *p[])
Definition: lg_ui.c:225
void lg_draw_rect_corners(Rec2Di r, LG_Color_u c, int len)
Definition: lg_ui.c:171
Definition: lg_gr_func.h:13
void lg_set_func_keys_repeat_delay(uint32_t delay)
Definition: lg_ui.c:348
Definition: lg_vertex.h:91
LG_TouchZoneWindow * lg_tzwin_new(const char *str, LG_Color_u text_color, int x_loc, int y_loc)
Definition: lg_ui.c:32
Rec2Di lg_tzwin_get_rect(LG_TouchZoneWindow *tzwin)
Definition: lg_ui.c:154
uint32_t lg_get_user_input(LG_InputState *in, Rec2Di **r)
Definition: lg_ui.c:371
void lg_tzwin_free(LG_TouchZoneWindow *tzwin)
Definition: lg_ui.c:141
Definition: lg_gr_func.h:47