Euphoria
helptexthover.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 namespace eu::core
5 {
8  struct HelpTextHover
9  {
10  float time_to_hover = 0.8f;
11  float time_to_hide = 0.5f;
12 
13  int state = 0;
14  float timer = 0.0f;
15  bool display_hover = false;
16 
17  void update(bool currently_hovering_over_widget, float dt);
18  };
19 }
Determines when to display help text in a hover ui.
Definition: helptexthover.h:9
void update(bool currently_hovering_over_widget, float dt)