pane

Termbox2 based terminal UI library
git clone git://git.dimitrijedobrota.com/pane.git
Log | Files | Refs

widgets.h (410B)


      1 #ifndef WIDGETLIST_H
      2 #define WIDGETLIST_H
      3 
      4 #include <stdarg.h>
      5 #include "pane.h"
      6 
      7 typedef struct widgetList_T *widgetList_T;
      8 struct widgetList_T {
      9 	Pane_T pane;
     10 	size_t items_num;
     11 	size_t index_start;
     12 	int end;
     13 	int display_num;
     14 	int y_start;
     15 };
     16 
     17 widgetList_T widgetList_new(Pane_T pane, int size);
     18 void widgetList_cacl(widgetList_T self, int index_current);
     19 
     20 void widgetCenter_print(widget_T widget);
     21 
     22 #endif