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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/ui/browser.h b/tools/perf/util/ui/browser.h
index 6ee82f60feaf..65b25921529e 100644
--- a/tools/perf/util/ui/browser.h
+++ b/tools/perf/util/ui/browser.h
@@ -15,6 +15,7 @@ struct ui_browser {
15 u64 index, top_idx; 15 u64 index, top_idx;
16 void *top, *entries; 16 void *top, *entries;
17 u16 y, x, width, height; 17 u16 y, x, width, height;
18 int current_color;
18 void *priv; 19 void *priv;
19 const char *title; 20 const char *title;
20 char *helpline; 21 char *helpline;
@@ -27,7 +28,7 @@ struct ui_browser {
27 bool use_navkeypressed; 28 bool use_navkeypressed;
28}; 29};
29 30
30void ui_browser__set_color(struct ui_browser *self, int color); 31int ui_browser__set_color(struct ui_browser *browser, int color);
31void ui_browser__set_percent_color(struct ui_browser *self, 32void ui_browser__set_percent_color(struct ui_browser *self,
32 double percent, bool current); 33 double percent, bool current);
33bool ui_browser__is_current_entry(struct ui_browser *self, unsigned row); 34bool ui_browser__is_current_entry(struct ui_browser *self, unsigned row);