23 #include "twp/object.h" 24 #include "twp/scenegraph.h" 39 Color verbHighlightTint;
41 Color dialogHighlight;
43 Color inventoryBackground;
48 VerbUiColors(
const Color &s,
const Color &vbNormal,
const Color &vbNormalTint,
const Color &vbHiglight,
const Color &vbHiglightTint,
const Color &dlgNormal,
const Color &dlgHighlt,
const Color &invFrame,
const Color &inventoryBack,
const Color &retroNml,
const Color &retroHighlt);
65 float _shakeTime = 0.f;
67 Math::Vector2d _shakeOffset;
69 bool _hightlight =
false;
79 bool selectable =
false;
85 Verb *getVerb(
int id) {
86 for (
auto &verbSlot : verbSlots) {
87 if (verbSlot._verb.id.id ==
id) {
88 return &verbSlot._verb;
109 void applyUniforms()
final;
114 Color _highlightColor;
123 bool isOverVerbs()
const {
return _over; }
126 void setVisible(
bool visible)
override;
127 void selectVerb(
const Verb &verb);
129 Math::Vector2d getVerbPos(
const VerbSlot &verbSlot)
const;
132 void drawCore(
const Math::Matrix4 &trsf)
final;
140 Math::Vector2d _mousePos;
141 bool _mouseClick =
false;
143 int _defaultVerbId = 0;
144 float _fadeTime = 0.f;
145 bool _fadeIn =
false;
146 bool _active =
false;
Definition: scenegraph.h:41
Definition: achievements_tables.h:27
Definition: spritesheet.h:37