22 #ifndef ALCACHOFA_GLOBAL_UI_H 23 #define ALCACHOFA_GLOBAL_UI_H 25 #include "alcachofa/objects.h" 36 inline Font &generalFont()
const { assert(_generalFont !=
nullptr);
return *_generalFont; }
37 inline Font &dialogFont()
const { assert(_dialogFont !=
nullptr);
return *_dialogFont; }
38 inline bool &isPermanentFaded() {
return _isPermanentFaded; }
40 bool updateChangingCharacter();
41 void drawChangingButton();
42 bool updateOpeningInventory();
43 void updateClosingInventory();
44 void startClosingInventory();
45 void drawScreenStates();
50 bool isHoveringChangeButton()
const;
62 _isOpeningInventory =
false,
63 _isClosingInventory =
false,
64 _isPermanentFaded =
false;
65 uint32 _timeForInventory = 0;
68 Task *showCenterBottomText(
Process &process, int32 dialogId, uint32 durationMs);
73 #endif // ALCACHOFA_GLOBAL_UI_H Definition: alcachofa.h:45
Definition: scheduler.h:84
Definition: scheduler.h:164
Definition: graphics.h:257
Definition: graphics.h:184
Definition: serializer.h:79
Definition: global-ui.h:32
Definition: graphics.h:240