ERIS CORE

◆ setImage()

void FLASHMEM ControlButton::setImage ( const char *  path,
const char *  filename 
)
inline

Definition at line 44 of file ControlButton.h.

44  {
45  setPath(path);
46  setFile(filename);
47  if(img_loaded) delete(img_cache);
48  img_loaded = false;
49  }
void FLASHMEM setPath(const char *path)
Definition: ControlButton.h:57
void FLASHMEM setFile(const char *filename)
Definition: ControlButton.h:51
Surface * img_cache
Definition: ControlButton.h:67

References img_cache, img_loaded, setFile(), and setPath().

Referenced by AppAudioToPolyphonic::initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: