Pie Noon
An open source project by FPL.
 All Classes Pages
fpl::pie_noon::TouchscreenButton Class Reference

Public Member Functions

void AdvanceFrame (WorldTime delta_time, fplbase::InputSystem *input, vec2 window_size)
 
void Render (fplbase::Renderer &renderer)
 
void AdvanceFrame (WorldTime delta_time)
 
ButtonId GetId () const
 
bool WillCapturePointer (const fplbase::InputPointer &pointer, vec2 window_size)
 
bool IsTriggered ()
 
fplbase::Button & button ()
 
const std::vector
< fplbase::Material * > & 
up_materials () const
 
void set_up_material (size_t i, fplbase::Material *up_material)
 
void set_current_up_material (size_t which)
 
fplbase::Material * down_material () const
 
void set_down_material (fplbase::Material *down_material)
 
mathfu::vec2 up_offset () const
 
void set_up_offset (mathfu::vec2 up_offset)
 
mathfu::vec2 down_offset () const
 
void set_down_offset (mathfu::vec2 down_offset)
 
const ButtonDef * button_def () const
 
void set_button_def (const ButtonDef *button_def)
 
fplbase::Shader * inactive_shader () const
 
void set_inactive_shader (fplbase::Shader *inactive_shader)
 
fplbase::Shader * shader () const
 
void set_shader (fplbase::Shader *shader)
 
fplbase::Shader * debug_shader () const
 
void set_debug_shader (fplbase::Shader *shader)
 
void DebugRender (const vec3 &position, const vec3 &texture_size, fplbase::Renderer &renderer) const
 
void set_draw_bounds (bool enable)
 
bool is_active () const
 
void set_is_active (bool is_active)
 
bool is_visible () const
 
void set_is_visible (bool is_visible)
 
bool is_highlighted () const
 
void set_is_highlighted (bool is_highlighted)
 
void set_color (const mathfu::vec4 &color)
 
mathfu::vec4 color ()
 
void SetCannonicalWindowHeight (int height)
 

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