X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fgadgets.h;h=d69c40170c8d65d488dcad56ac876c9415c16961;hb=6890bb7cb72e140f4b82f35217655ae6c5213fec;hp=5c71680466463186c3c910691ad22b1200e5be9e;hpb=5a2237add0a19d1559c0fe20c3f27651a71adf6c;p=rocksndiamonds.git diff --git a/src/libgame/gadgets.h b/src/libgame/gadgets.h index 5c716804..d69c4017 100644 --- a/src/libgame/gadgets.h +++ b/src/libgame/gadgets.h @@ -195,7 +195,9 @@ struct GadgetScrollbar int items_max; /* number of items to access */ int items_visible; /* number of visible items */ int item_position; /* actual item position */ + int size_min; /* minimal scrollbar size */ int size_max; /* this is either width or height */ + int size_max_cmp; /* needed for minimal scrollbar size */ int size; /* scrollbar size on screen */ int position; /* scrollbar position on screen */ int position_max; /* bottom/right scrollbar position */ @@ -248,6 +250,10 @@ void UnmapGadget(struct GadgetInfo *); void UnmapAllGadgets(); void RemapAllGadgets(); +boolean anyTextInputGadgetActive(); +boolean anyTextAreaGadgetActive(); +boolean anySelectboxGadgetActive(); +boolean anyScrollbarGadgetActive(); boolean anyTextGadgetActive(); void ClickOnGadget(struct GadgetInfo *, int);