xy view to exist in two flavours
XY_LOOP_MODE: replace old points with new ones, using the maximum size
of the view
XY_FORCE_MODE: append_forced sets those and only those points
and we crash if we pass too much points
This commit is contained in:
@@ -11,10 +11,12 @@ typedef struct view {
|
||||
void (*set)(struct view *this, char *name, ...);
|
||||
} view;
|
||||
|
||||
enum xy_mode { XY_LOOP_MODE, XY_FORCED_MODE };
|
||||
|
||||
view *new_view_stdout(void);
|
||||
view *new_view_textlist(int maxsize, float refresh_rate, gui *g, widget *w);
|
||||
view *new_view_xy(int length, float refresh_rate, gui *g, widget *w,
|
||||
int color);
|
||||
int color, enum xy_mode mode);
|
||||
view *new_view_tti(float refresh_rate, gui *g, widget *w,
|
||||
int color);
|
||||
view *new_view_time(int number_of_seconds, float refresh_rate,
|
||||
|
||||
Reference in New Issue
Block a user