Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
browser.c File Reference
#include "../util.h"
#include "../cache.h"
#include "../../perf.h"
#include "libslang.h"
#include <newt.h>
#include "ui.h"
#include "util.h"
#include <linux/compiler.h>
#include <linux/list.h>
#include <linux/rbtree.h>
#include <stdlib.h>
#include <sys/ttydefaults.h>
#include "browser.h"
#include "helpline.h"
#include "keysyms.h"
#include "../color.h"

Go to the source code of this file.

Data Structures

struct  ui_browser__colorset
 

Functions

int ui_browser__set_color (struct ui_browser *browser, int color)
 
void ui_browser__set_percent_color (struct ui_browser *browser, double percent, bool current)
 
void ui_browser__gotorc (struct ui_browser *browser, int y, int x)
 
void ui_browser__list_head_seek (struct ui_browser *browser, off_t offset, int whence)
 
void ui_browser__rb_tree_seek (struct ui_browser *browser, off_t offset, int whence)
 
unsigned int ui_browser__rb_tree_refresh (struct ui_browser *browser)
 
bool ui_browser__is_current_entry (struct ui_browser *browser, unsigned row)
 
void ui_browser__refresh_dimensions (struct ui_browser *browser)
 
void ui_browser__handle_resize (struct ui_browser *browser)
 
int ui_browser__warning (struct ui_browser *browser, int timeout, const char *format,...)
 
int ui_browser__help_window (struct ui_browser *browser, const char *text)
 
bool ui_browser__dialog_yesno (struct ui_browser *browser, const char *text)
 
void ui_browser__reset_index (struct ui_browser *browser)
 
void __ui_browser__show_title (struct ui_browser *browser, const char *title)
 
void ui_browser__show_title (struct ui_browser *browser, const char *title)
 
int ui_browser__show (struct ui_browser *browser, const char *title, const char *helpline,...)
 
void ui_browser__hide (struct ui_browser *browser __maybe_unused)
 
int ui_browser__refresh (struct ui_browser *browser)
 
void ui_browser__update_nr_entries (struct ui_browser *browser, u32 nr_entries)
 
int ui_browser__run (struct ui_browser *browser, int delay_secs)
 
unsigned int ui_browser__list_head_refresh (struct ui_browser *browser)
 
void ui_browser__argv_seek (struct ui_browser *browser, off_t offset, int whence)
 
unsigned int ui_browser__argv_refresh (struct ui_browser *browser)
 
void __ui_browser__vline (struct ui_browser *browser, unsigned int column, u16 start, u16 end)
 
void ui_browser__write_graph (struct ui_browser *browser __maybe_unused, int graph)
 
void __ui_browser__line_arrow (struct ui_browser *browser, unsigned int column, u64 start, u64 end)
 
void ui_browser__init (void)
 

Function Documentation

void __ui_browser__line_arrow ( struct ui_browser browser,
unsigned int  column,
u64  start,
u64  end 
)

Definition at line 693 of file browser.c.

void __ui_browser__show_title ( struct ui_browser browser,
const char title 
)

Definition at line 234 of file browser.c.

void __ui_browser__vline ( struct ui_browser browser,
unsigned int  column,
u16  start,
u16  end 
)

Definition at line 596 of file browser.c.

unsigned int ui_browser__argv_refresh ( struct ui_browser browser)

Definition at line 572 of file browser.c.

void ui_browser__argv_seek ( struct ui_browser browser,
off_t  offset,
int  whence 
)

Definition at line 555 of file browser.c.

bool ui_browser__dialog_yesno ( struct ui_browser browser,
const char text 
)

Definition at line 218 of file browser.c.

void ui_browser__gotorc ( struct ui_browser browser,
int  y,
int  x 
)

Definition at line 45 of file browser.c.

void ui_browser__handle_resize ( struct ui_browser browser)

Definition at line 175 of file browser.c.

int ui_browser__help_window ( struct ui_browser browser,
const char text 
)

Definition at line 208 of file browser.c.

void ui_browser__hide ( struct ui_browser *browser  __maybe_unused)

Definition at line 272 of file browser.c.

void ui_browser__init ( void  )

Definition at line 702 of file browser.c.

bool ui_browser__is_current_entry ( struct ui_browser browser,
unsigned  row 
)

Definition at line 162 of file browser.c.

unsigned int ui_browser__list_head_refresh ( struct ui_browser browser)

Definition at line 451 of file browser.c.

void ui_browser__list_head_seek ( struct ui_browser browser,
off_t  offset,
int  whence 
)

Definition at line 76 of file browser.c.

unsigned int ui_browser__rb_tree_refresh ( struct ui_browser browser)

Definition at line 141 of file browser.c.

void ui_browser__rb_tree_seek ( struct ui_browser browser,
off_t  offset,
int  whence 
)

Definition at line 111 of file browser.c.

int ui_browser__refresh ( struct ui_browser browser)

Definition at line 320 of file browser.c.

void ui_browser__refresh_dimensions ( struct ui_browser browser)

Definition at line 167 of file browser.c.

void ui_browser__reset_index ( struct ui_browser browser)

Definition at line 228 of file browser.c.

int ui_browser__run ( struct ui_browser browser,
int  delay_secs 
)

Definition at line 353 of file browser.c.

int ui_browser__set_color ( struct ui_browser browser,
int  color 
)

Definition at line 30 of file browser.c.

void ui_browser__set_percent_color ( struct ui_browser browser,
double  percent,
bool  current 
)

Definition at line 38 of file browser.c.

int ui_browser__show ( struct ui_browser browser,
const char title,
const char helpline,
  ... 
)

Definition at line 248 of file browser.c.

void ui_browser__show_title ( struct ui_browser browser,
const char title 
)

Definition at line 241 of file browser.c.

void ui_browser__update_nr_entries ( struct ui_browser browser,
u32  nr_entries 
)

Definition at line 335 of file browser.c.

int ui_browser__warning ( struct ui_browser browser,
int  timeout,
const char format,
  ... 
)

Definition at line 182 of file browser.c.

void ui_browser__write_graph ( struct ui_browser *browser  __maybe_unused,
int  graph 
)

Definition at line 605 of file browser.c.