22 #ifndef ULTIMA8_GUMPS_KEYPADGUMP_H 23 #define ULTIMA8_GUMPS_KEYPADGUMP_H 25 #include "ultima/ultima8/gumps/modal_gump.h" 26 #include "ultima/ultima8/usecode/intrinsics.h" 27 #include "ultima/ultima8/misc/classtype.h" 37 ENABLE_RUNTIME_CLASSTYPE()
39 KeypadGump(
int targetValue, uint16 ucnotifypid);
42 void Close(
bool no_del=
false)
override;
44 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
48 bool OnKeyDown(
int key,
int mod)
override;
49 bool OnTextInput(
int unicode)
override;
52 INTRINSIC(I_showKeypad);
58 void updateDigitDisplay();
60 void onDigit(
int digit);
void PaintThis(RenderSurface *, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)
Definition: modal_gump.h:34
Definition: render_surface.h:40
void ChildNotify(Gump *child, uint32 message) override
void InitGump(Gump *newparent, bool take_focus=true) override
Definition: detection.h:27
void Close(bool no_del=false) override
Definition: keypad_gump.h:35