X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fgadgets.h;h=e486a2b7ebe536789da7d7bbd7a97f9d0e69f4e1;hp=0bf8cc5a53ca322c81d5afb90d45a4e3ef71c7bd;hb=80b3b0a5109b5678a9a921fcd1b4f7046e5e76d0;hpb=9028fc1280e47a368d8778157403b4216a89e036 diff --git a/src/libgame/gadgets.h b/src/libgame/gadgets.h index 0bf8cc5a..e486a2b7 100644 --- a/src/libgame/gadgets.h +++ b/src/libgame/gadgets.h @@ -102,6 +102,7 @@ #define GDI_SCROLLBAR_ITEM_POSITION 39 #define GDI_INFO_TEXT 40 #define GDI_ACTIVE 41 +#define GDI_DIRECT_DRAW 42 typedef void (*gadget_function)(void *); @@ -202,6 +203,7 @@ struct GadgetInfo int radio_nr; /* number of radio button series */ boolean mapped; /* gadget is mapped on the screen */ boolean active; /* gadget is active */ + boolean direct_draw; /* directly draw to frontbuffer */ int font; /* font to use when inactive */ int font_active; /* font to use when active */ struct GadgetBorder border; /* gadget border design */