Razorbotz RMC 2021-2022 Documentation
Loading...
Searching...
No Matches
InfoFrame Class Reference
Inheritance diagram for InfoFrame:
Collaboration diagram for InfoFrame:

Public Member Functions

 InfoFrame (std::string frameName)
 
void addItem (std::string itemName)
 
void removeItem (std::string itemName)
 
void removeAllItems ()
 
void addWidget (Gtk::Widget &widget)
 
template<typename T>
void setItem (std::string itemName, T itemValue)
 
void setBackground (std::string itemName, std::string color)
 
void setTextColor (std::string itemName, std::string color, bool bold)
 

Public Attributes

Gtk::Frame * frame
 
Gtk::Box * contentsBox
 
std::vector< std::shared_ptr< InfoItem > > itemList
 

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