Euphoria
eu::core::HelpTextHover Struct Reference

Determines when to display help text in a hover ui. More...

#include <helptexthover.h>

Public Member Functions

void update (bool currently_hovering_over_widget, float dt)
 

Public Attributes

float time_to_hover = 0.8f
 
float time_to_hide = 0.5f
 
int state = 0
 
float timer = 0.0f
 
bool display_hover = false
 

Detailed Description

Determines when to display help text in a hover ui.

Definition at line 8 of file helptexthover.h.

Member Function Documentation

◆ update()

void eu::core::HelpTextHover::update ( bool  currently_hovering_over_widget,
float  dt 
)

Definition at line 75 of file helptexthover.cc.

Member Data Documentation

◆ display_hover

bool eu::core::HelpTextHover::display_hover = false

Definition at line 15 of file helptexthover.h.

◆ state

int eu::core::HelpTextHover::state = 0

Definition at line 13 of file helptexthover.h.

◆ time_to_hide

float eu::core::HelpTextHover::time_to_hide = 0.5f

Definition at line 11 of file helptexthover.h.

◆ time_to_hover

float eu::core::HelpTextHover::time_to_hover = 0.8f

Definition at line 10 of file helptexthover.h.

◆ timer

float eu::core::HelpTextHover::timer = 0.0f

Definition at line 14 of file helptexthover.h.


The documentation for this struct was generated from the following files: