MhpApplicationMenuLabel::MhpApplicationMenuLabel(const char *text) { char *buffer = NULL; SetSelectable(false); asprintf(&buffer, "---%s ----------------------------------------------------------------", text); SetText(buffer,false); }
class MhpApplicationMenuLabel : public cOsdItem { public: MhpApplicationMenuLabel(const char *text); };
MhpApplicationMenuLabel::MhpApplicationMenuLabel(const char *text) {   char *buffer = NULL;   SetSelectable(false);   asprintf(&buffer, "---%s ----------------------------------------------------------------", text);   SetText(buffer,false);}