summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/browser.h')
-rw-r--r--tools/perf/ui/browser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/ui/browser.h b/tools/perf/ui/browser.h
index 03d4d62..92ae721 100644
--- a/tools/perf/ui/browser.h
+++ b/tools/perf/ui/browser.h
@@ -14,11 +14,12 @@
struct ui_browser {
u64 index, top_idx;
void *top, *entries;
- u16 y, x, width, height;
+ u16 y, x, width, height, rows;
int current_color;
void *priv;
const char *title;
char *helpline;
+ void (*refresh_dimensions)(struct ui_browser *browser);
unsigned int (*refresh)(struct ui_browser *browser);
void (*write)(struct ui_browser *browser, void *entry, int row);
void (*seek)(struct ui_browser *browser, off_t offset, int whence);
OpenPOWER on IntegriCloud