X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fgadgets.h;h=ab8e91439bc9c9702186f87b98c1962e4a3b8769;hb=27a283729bf1e7b956c5ceba87215a6d177b4bc7;hp=4ee06dbb6433fd36479395c67eb774b97bd4e84d;hpb=6ed4958820f8f97174ca47594dcc6f00ee31b2cb;p=rocksndiamonds.git diff --git a/src/libgame/gadgets.h b/src/libgame/gadgets.h index 4ee06dbb..ab8e9143 100644 --- a/src/libgame/gadgets.h +++ b/src/libgame/gadgets.h @@ -144,8 +144,9 @@ struct GadgetTextInput int number_min; /* minimal allowed numeric value */ int number_max; /* maximal allowed numeric value */ int size; /* maximal size of input text */ - int cursor_position; /* actual cursor position */ int font_type; /* font to use for text input */ + int cursor_position; /* actual cursor position */ + Pixel inverse_color; /* color for highlighting */ }; struct GadgetSelectbox @@ -159,7 +160,7 @@ struct GadgetSelectbox int x, y; /* open selectbox position */ int width, height; /* open selectbox size */ int num_values; /* number of text strings */ - Pixel reverse_color; /* color for highlighting */ + Pixel inverse_color; /* color for highlighting */ /* runtime values */ boolean open; /* opening state of selectbox */