aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/ui/browser.h')
-rw-r--r--tools/perf/util/ui/browser.h5
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
28int ui_browser__percent_color(double percent, bool current); 28void ui_browser__set_color(struct ui_browser *self, int color);
29void ui_browser__set_percent_color(struct ui_browser *self,
30 double percent, bool current);
29bool ui_browser__is_current_entry(struct ui_browser *self, unsigned row); 31bool ui_browser__is_current_entry(struct ui_browser *self, unsigned row);
30void ui_browser__refresh_dimensions(struct ui_browser *self); 32void ui_browser__refresh_dimensions(struct ui_browser *self);
31void ui_browser__reset_index(struct ui_browser *self); 33void ui_browser__reset_index(struct ui_browser *self);
32 34
35void ui_browser__gotorc(struct ui_browser *self, int y, int x);
33int ui_browser__show(struct ui_browser *self, const char *title, 36int ui_browser__show(struct ui_browser *self, const char *title,
34 const char *helpline, ...); 37 const char *helpline, ...);
35void ui_browser__hide(struct ui_browser *self); 38void ui_browser__hide(struct ui_browser *self);