diff options
Diffstat (limited to 'tools/perf/util/ui/browser.h')
| -rw-r--r-- | tools/perf/util/ui/browser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/ui/browser.h b/tools/perf/util/ui/browser.h index 0b9f829214f7..27c23c277ab1 100644 --- a/tools/perf/util/ui/browser.h +++ b/tools/perf/util/ui/browser.h | |||
| @@ -25,11 +25,14 @@ struct ui_browser { | |||
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | int ui_browser__percent_color(double percent, bool current); | 28 | void ui_browser__set_color(struct ui_browser *self, int color); |
| 29 | void ui_browser__set_percent_color(struct ui_browser *self, | ||
| 30 | double percent, bool current); | ||
| 29 | bool ui_browser__is_current_entry(struct ui_browser *self, unsigned row); | 31 | bool ui_browser__is_current_entry(struct ui_browser *self, unsigned row); |
| 30 | void ui_browser__refresh_dimensions(struct ui_browser *self); | 32 | void ui_browser__refresh_dimensions(struct ui_browser *self); |
| 31 | void ui_browser__reset_index(struct ui_browser *self); | 33 | void ui_browser__reset_index(struct ui_browser *self); |
| 32 | 34 | ||
| 35 | void ui_browser__gotorc(struct ui_browser *self, int y, int x); | ||
| 33 | int ui_browser__show(struct ui_browser *self, const char *title, | 36 | int ui_browser__show(struct ui_browser *self, const char *title, |
| 34 | const char *helpline, ...); | 37 | const char *helpline, ...); |
| 35 | void ui_browser__hide(struct ui_browser *self); | 38 | void ui_browser__hide(struct ui_browser *self); |
