59 virtual void SetText(
const std::string text) { m_text = text; }
73 virtual void SetSelected(
const bool isSelected) { m_isSelected = isSelected; }
81 virtual void SetDisplayed(
const bool isDisplayed) { m_isDisplayed = isDisplayed; }
97 virtual void SetAlpha(
const float alpha) { m_alpha = alpha; }
123 virtual void SetIndex(
const int index) { m_index = index; }
135 virtual std::string
GetText()
const {
return m_text; }
Represents a font or true-type font.
Definition: Font.h:17
Contains timing values for game updates and rendering.
Definition: GameTime.h:17
Represents a four-component color using red, green, blue, and alpha data.
Definition: Color.h:17
TextAlign
Defines the states for text alignment.
Definition: SpriteBatch.h:17
Defines a vector with 2 components (x and y). This is additional information...
Definition: Vector2.h:18
void(* OnSelect)(MenuScreen *pMenuScreen)
Callback function for when a menu item is selected.
Definition: MenuItem.h:24
Enables a group of sprites to be drawn using the same settings.
Definition: SpriteBatch.h:44
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition: Animation.cpp:14