14 #ifndef T3_WIDGET_SMARTLABEL_H
15 #define T3_WIDGET_SMARTLABEL_H
17 #include <t3widget/widgets/widget.h>
18 #include <t3widget/key.h>
25 cleanup_free_ptr<char>::t text;
26 size_t underline_start, underline_length, text_length;
33 void draw(t3_window_t *win,
int attr,
bool selected =
false);
35 bool is_hotkey(
key_t key);
41 virtual bool process_key(
key_t key);
43 virtual void update_contents(
void);
44 virtual void set_focus(focus_t focus);
46 virtual bool is_hotkey(
key_t key);
47 virtual bool accepts_focus(
void);
Definition: smartlabel.h:22