Home
last modified time | relevance | path

Searched refs:KTUIWidget (Results 1 – 25 of 26) sorted by relevance

12

/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/tui/
H A Dtui_widget.h72 struct KTUIWidget;
75 typedef void ( * draw_cb ) ( struct KTUIWidget * w );
79 typedef struct KTUIWidget struct
132 } KTUIWidget; argument
138 void TUI_DestroyWidget( struct KTUIWidget * self );
144 rc_t RedrawWidget( KTUIWidget * w );
146 rc_t RedrawWidgetAndPushEvent( KTUIWidget * w,
162 bool GetWidgetVisible ( struct KTUIWidget * self );
165 bool GetWidgetChanged ( struct KTUIWidget * self );
172 rc_t ReleaseWidgetBg ( struct KTUIWidget * self );
[all …]
H A Dtui_widget.c230 void TUI_DestroyWidget( struct KTUIWidget * self ) in TUI_DestroyWidget()
274 rc_t ReleaseWidgetPalette( struct KTUIWidget * self ) in ReleaseWidgetPalette()
321 rc_t RedrawWidget( KTUIWidget * w ) in RedrawWidget()
334 rc_t RedrawWidgetAndPushEvent( KTUIWidget * w, in RedrawWidgetAndPushEvent()
467 bool GetWidgetVisible ( struct KTUIWidget * self ) in GetWidgetVisible()
493 bool GetWidgetChanged ( struct KTUIWidget * self ) in GetWidgetChanged()
543 rc_t ReleaseWidgetBg ( struct KTUIWidget * self ) in ReleaseWidgetBg()
572 rc_t ReleaseWidgetFg ( struct KTUIWidget * self ) in ReleaseWidgetFg()
588 bool GetWidgetBoolValue ( struct KTUIWidget * self ) in GetWidgetBoolValue()
654 int64_t GetWidgetInt64Min ( struct KTUIWidget * self ) in GetWidgetInt64Min()
[all …]
H A Dtui_dlg.c51 void draw_label( struct KTUIWidget * w );
55 void draw_button( struct KTUIWidget * w );
59 void draw_checkbox( struct KTUIWidget * w );
63 void draw_tabhdr( struct KTUIWidget * w );
76 void draw_list( struct KTUIWidget * w );
87 void draw_grid( struct KTUIWidget * w );
586 KTUIWidget * res = NULL; in KTUIDlgGetWidgetById()
612 KTUIWidget * w; in KTUIDlgAddWidget()
1243 KTUIWidget * res = NULL; in KTUIDlgWidgetAtPoint()
1303 KTUIWidget * w; in DlgEventHandler()
[all …]
H A Dtui_widget_grid.c81 static uint32_t get_grid_colcount( struct KTUIWidget * w, TUIWGrid_data * gd ) in get_grid_colcount()
94 static uint64_t get_grid_rowcount( struct KTUIWidget * w, TUIWGrid_data * gd ) in get_grid_rowcount()
152 static rc_t draw_header( struct KTUIWidget * w, TUIWGrid_data * gd, draw_ctx * dctx ) in draw_header()
260 void enter_col_widths( struct KTUIWidget * w, TUIWGrid_data * gd, draw_ctx * dctx ) in enter_col_widths()
274 void draw_grid( struct KTUIWidget * w ) in draw_grid()
363 struct KTUIWidget * w;
414 bool event_grid( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_grid()
463 uint64_t get_grid_col( struct KTUIWidget * w ) in get_grid_col()
472 bool set_grid_col( struct KTUIWidget * w, uint64_t col ) in set_grid_col()
485 uint64_t get_grid_row( struct KTUIWidget * w ) in get_grid_row()
[all …]
H A Dtui_widget_inputline.c40 void init_inputline( struct KTUIWidget * w ) in init_inputline()
54 void set_inputline_alpha_mode( struct KTUIWidget * w, uint32_t alpha_mode ) in set_inputline_alpha_mode()
110 void draw_inputline( struct KTUIWidget * w ) in draw_inputline()
155 static void clip_cursor_pos( struct KTUIWidget * w ) in clip_cursor_pos()
162 bool event_inputline( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_inputline()
195 void set_carret_pos_input_line( struct KTUIWidget * w, size_t pos ) in set_carret_pos_input_line()
H A Dtui_widget_spin_edit.c33 void draw_spinedit( struct KTUIWidget * w ) in draw_spinedit()
70 static bool spinedit_inc_dec( struct KTUIWidget * w, int64_t by ) in spinedit_inc_dec()
77 static bool spinedit_set( struct KTUIWidget * w, int64_t v ) in spinedit_set()
84 bool event_spinedit( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_spinedit()
H A Dtui_widget_label.c32 void draw_label( struct KTUIWidget * w ) in draw_label()
60 bool event_label( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_label()
H A Dtui_widget_tabhdr.c32 void draw_tabhdr( struct KTUIWidget * w ) in draw_tabhdr()
63 bool event_tabhdr( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_tabhdr()
H A Dtui_widget_checkbox.c33 void draw_checkbox( struct KTUIWidget * w ) in draw_checkbox()
74 bool event_checkbox( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_checkbox()
H A Dtui_widget_button.c44 void draw_button( struct KTUIWidget * w ) in draw_button()
88 bool event_button( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_button()
H A Dtui_widget_progress.c36 static void calc_percent( struct KTUIWidget * w )
56 void draw_progress( struct KTUIWidget * w ) in draw_progress()
H A Dtui_widget_radiobox.c35 void draw_radiobox( struct KTUIWidget * w ) in draw_radiobox()
92 bool event_radiobox( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_radiobox()
H A Dtui_widget_string_list.c38 void draw_list( struct KTUIWidget * w ) in draw_list()
128 bool event_list( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_list()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/tui/
H A Dtui_widget.h72 struct KTUIWidget;
75 typedef void ( * draw_cb ) ( struct KTUIWidget * w );
79 typedef struct KTUIWidget struct
132 } KTUIWidget; argument
138 void TUI_DestroyWidget( struct KTUIWidget * self );
144 rc_t RedrawWidget( KTUIWidget * w );
146 rc_t RedrawWidgetAndPushEvent( KTUIWidget * w,
162 bool GetWidgetVisible ( struct KTUIWidget * self );
165 bool GetWidgetChanged ( struct KTUIWidget * self );
172 rc_t ReleaseWidgetBg ( struct KTUIWidget * self );
[all …]
H A Dtui_widget.c230 void TUI_DestroyWidget( struct KTUIWidget * self ) in TUI_DestroyWidget()
274 rc_t ReleaseWidgetPalette( struct KTUIWidget * self ) in ReleaseWidgetPalette()
321 rc_t RedrawWidget( KTUIWidget * w ) in RedrawWidget()
334 rc_t RedrawWidgetAndPushEvent( KTUIWidget * w, in RedrawWidgetAndPushEvent()
467 bool GetWidgetVisible ( struct KTUIWidget * self ) in GetWidgetVisible()
493 bool GetWidgetChanged ( struct KTUIWidget * self ) in GetWidgetChanged()
543 rc_t ReleaseWidgetBg ( struct KTUIWidget * self ) in ReleaseWidgetBg()
572 rc_t ReleaseWidgetFg ( struct KTUIWidget * self ) in ReleaseWidgetFg()
588 bool GetWidgetBoolValue ( struct KTUIWidget * self ) in GetWidgetBoolValue()
654 int64_t GetWidgetInt64Min ( struct KTUIWidget * self ) in GetWidgetInt64Min()
[all …]
H A Dtui_dlg.c51 void draw_label( struct KTUIWidget * w );
55 void draw_button( struct KTUIWidget * w );
59 void draw_checkbox( struct KTUIWidget * w );
63 void draw_tabhdr( struct KTUIWidget * w );
76 void draw_list( struct KTUIWidget * w );
87 void draw_grid( struct KTUIWidget * w );
586 KTUIWidget * res = NULL; in KTUIDlgGetWidgetById()
612 KTUIWidget * w; in KTUIDlgAddWidget()
1243 KTUIWidget * res = NULL; in KTUIDlgWidgetAtPoint()
1303 KTUIWidget * w; in DlgEventHandler()
[all …]
H A Dtui_widget_grid.c81 static uint32_t get_grid_colcount( struct KTUIWidget * w, TUIWGrid_data * gd ) in get_grid_colcount()
94 static uint64_t get_grid_rowcount( struct KTUIWidget * w, TUIWGrid_data * gd ) in get_grid_rowcount()
152 static rc_t draw_header( struct KTUIWidget * w, TUIWGrid_data * gd, draw_ctx * dctx ) in draw_header()
260 void enter_col_widths( struct KTUIWidget * w, TUIWGrid_data * gd, draw_ctx * dctx ) in enter_col_widths()
274 void draw_grid( struct KTUIWidget * w ) in draw_grid()
363 struct KTUIWidget * w;
414 bool event_grid( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_grid()
463 uint64_t get_grid_col( struct KTUIWidget * w ) in get_grid_col()
472 bool set_grid_col( struct KTUIWidget * w, uint64_t col ) in set_grid_col()
485 uint64_t get_grid_row( struct KTUIWidget * w ) in get_grid_row()
[all …]
H A Dtui_widget_inputline.c40 void init_inputline( struct KTUIWidget * w ) in init_inputline()
54 void set_inputline_alpha_mode( struct KTUIWidget * w, uint32_t alpha_mode ) in set_inputline_alpha_mode()
110 void draw_inputline( struct KTUIWidget * w ) in draw_inputline()
155 static void clip_cursor_pos( struct KTUIWidget * w ) in clip_cursor_pos()
162 bool event_inputline( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_inputline()
195 void set_carret_pos_input_line( struct KTUIWidget * w, size_t pos ) in set_carret_pos_input_line()
H A Dtui_widget_spin_edit.c33 void draw_spinedit( struct KTUIWidget * w ) in draw_spinedit()
70 static bool spinedit_inc_dec( struct KTUIWidget * w, int64_t by ) in spinedit_inc_dec()
77 static bool spinedit_set( struct KTUIWidget * w, int64_t v ) in spinedit_set()
84 bool event_spinedit( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_spinedit()
H A Dtui_widget_label.c32 void draw_label( struct KTUIWidget * w ) in draw_label()
60 bool event_label( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_label()
H A Dtui_widget_tabhdr.c32 void draw_tabhdr( struct KTUIWidget * w ) in draw_tabhdr()
63 bool event_tabhdr( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_tabhdr()
H A Dtui_widget_checkbox.c33 void draw_checkbox( struct KTUIWidget * w ) in draw_checkbox()
74 bool event_checkbox( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_checkbox()
H A Dtui_widget_button.c44 void draw_button( struct KTUIWidget * w ) in draw_button()
88 bool event_button( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_button()
H A Dtui_widget_progress.c36 static void calc_percent( struct KTUIWidget * w )
56 void draw_progress( struct KTUIWidget * w ) in draw_progress()
H A Dtui_widget_radiobox.c35 void draw_radiobox( struct KTUIWidget * w ) in draw_radiobox()
92 bool event_radiobox( struct KTUIWidget * w, tui_event * event, bool hotkey ) in event_radiobox()

12