ERIS CORE

◆ ControlButton()

ControlButton::ControlButton ( AppBaseClass parent)
inline

Definition at line 22 of file ControlButton.h.

22  :AppBaseClass(){
23  setParent(parent);
24  update_priority = 35000;
25  is_dirty = true;
26  is_pressed = false;
27  show_active = false;
28  using_image = false;
29  img_loaded = false;
30  time_active = 0;
31  img_cache = NULL;
32  strcpy(text,"ControlButton");
33  strcpy(name,"ControlButton");
34  strcpy(img_filename,"NONE");
35  strcpy(img_path,"NONE");
36  };
char name[MAX_NAME_LENGTH]
Definition: AppBaseClass.h:74
uint16_t update_priority
Definition: AppBaseClass.h:52
void setParent(AppBaseClass *parent)
Set the Parent object.
Definition: AppBaseClass.h:121
elapsedMillis time_active
Definition: ControlButton.h:72
char img_filename[MAX_TEXT_LENGTH]
Definition: ControlButton.h:65
char img_path[MAX_TEXT_LENGTH]
Definition: ControlButton.h:66
char text[MAX_TEXT_LENGTH]
Definition: ControlButton.h:60
Surface * img_cache
Definition: ControlButton.h:67

References img_cache, img_filename, img_loaded, img_path, is_dirty, is_pressed, AppBaseClass::name, AppBaseClass::setParent(), show_active, text, time_active, AppBaseClass::update_priority, and using_image.

+ Here is the call graph for this function: