bugfix for the clickbuttons not working

work^2
Ondřej Hruška 7 years ago
parent 5343d44ea8
commit 9f97d5c9d1
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      .gitignore
  2. 6
      user/screen.h

2
.gitignore vendored

@ -16,7 +16,7 @@ esphttpdconfig.mk
# Garbage added by CLion # Garbage added by CLion
.idea/ .idea/
cmake-build-debug/ cmake-build-debug*/
.sass-cache .sass-cache
*.map *.map

@ -124,8 +124,10 @@ enum CursorShape {
X(char, font_stack, [TERM_FONTSTACK_LEN], /**/, xget_string, xset_string, TERM_FONTSTACK_LEN, /**/, 1) \ X(char, font_stack, [TERM_FONTSTACK_LEN], /**/, xget_string, xset_string, TERM_FONTSTACK_LEN, /**/, 1) \
X(u8, font_size, /**/, /**/, xget_dec, xset_u8, NULL, /**/, 1) X(u8, font_size, /**/, /**/, xget_dec, xset_u8, NULL, /**/, 1)
#define TERM_BM_N(tc, n) ((tc)->bm1+(TERM_BTN_MSG_LEN*n)) /** Get button N message from the passed config structure pointer */
#define TERM_BTN_N(tc, n) ((tc)->btn1+(TERM_BTN_LEN*n)) #define TERM_BM_N(tc, n) ((tc)->bm1+(TERM_BTN_MSG_LEN*(n)))
/** Get button N text from the passed config structure pointer */
#define TERM_BTN_N(tc, n) ((tc)->btn1+(TERM_BTN_LEN*(n)))
/** Export color for config */ /** Export color for config */
void xget_term_color(char *buff, u32 value); void xget_term_color(char *buff, u32 value);

Loading…
Cancel
Save