My Project
 
Loading...
Searching...
No Matches
StartScene::GameButton Class Reference

#include <startscene.h>

Inheritance diagram for StartScene::GameButton:
Collaboration diagram for StartScene::GameButton:

Public Member Functions

 GameButton (const std::string &primary)
 
void secondary (const std::string &text, bool highlighted)
 
- Public Member Functions inherited from RedButton
 RedButton (const std::string &label)
 
void enable (bool value)
 
void text (const std::string &value)
 
void textColor (int value)
 
void icon (Image *icon)
 
float reqWidth ()
 
float reqHeight ()
 

Protected Member Functions

virtual void createChildren ()
 
virtual void layout ()
 
- Protected Member Functions inherited from RedButton
virtual void onTouchDown ()
 
virtual void onTouchUp ()
 

Additional Inherited Members

- Protected Attributes inherited from RedButton
BitmapText * _text
 
Image * _icon
 
NinePatch * _bg
 

Constructor & Destructor Documentation

◆ GameButton()

StartScene::GameButton::GameButton ( const std::string & primary)
Here is the call graph for this function:

Member Function Documentation

◆ createChildren()

void StartScene::GameButton::createChildren ( )
protectedvirtual

Reimplemented from RedButton.

Here is the call graph for this function:

◆ layout()

void StartScene::GameButton::layout ( )
protectedvirtual

Reimplemented from RedButton.

Here is the call graph for this function:

◆ secondary()

void StartScene::GameButton::secondary ( const std::string & text,
bool highlighted )
Here is the call graph for this function:

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