22 #ifndef DGDS_REQUEST_H 23 #define DGDS_REQUEST_H 25 #include "common/stream.h" 26 #include "common/array.h" 28 #include "dgds/parser.h" 29 #include "dgds/dgds_rect.h" 73 GadgetType _gadgetType;
101 virtual void toggle(
bool enable) {}
104 bool isVisible()
const {
return !(_flags3 & 0x40); }
105 void setVisible(
bool visible);
115 void toggle(
bool enable)
override;
126 uint16 _textGadget_i1;
153 void setValue(int16 val);
174 int16 getHandleWidth()
const;
175 int16 getUsableWidth()
const;
203 static const DgdsFont *getMenuFont();
204 static const Image *getCorners();
206 static void fillBackground(
Graphics::ManagedSurface *dst, uint16 x, uint16 y, uint16 width, uint16 height, int16 startoffset);
207 static void drawCorners(
Graphics::ManagedSurface *dst, uint16 startNum, uint16 x, uint16 y, uint16 width, uint16 height);
208 static void drawHeader(
Graphics::ManagedSurface *dst, int16 x, int16 y, int16 width, int16 yoffset,
const Common::String &header, byte fontCol,
bool drawBox, byte boxTopColor, byte boxBottomColor);
209 Gadget *findGadgetByNumWithFlags3Not0x40(int16 num);
247 #endif // DGDS_REQUEST_H Definition: managed_surface.h:51
Definition: request.h:124
void setSteps(int16 steps, bool lock)
Definition: request.h:148
Definition: request.h:188
Definition: dgds_rect.h:32
Definition: request.h:179
Definition: request.h:219
Definition: request.h:134
Definition: request.h:232
Definition: resource.h:65
Definition: movie_decoder.h:32
Definition: decompress.h:67
Definition: resource.h:49