| 80 } UiJob; |
80 } UiJob; |
| 81 |
81 |
| 82 typedef enum UiOrientation UiOrientation; |
82 typedef enum UiOrientation UiOrientation; |
| 83 enum UiOrientation { UI_HORIZONTAL = 0, UI_VERTICAL }; |
83 enum UiOrientation { UI_HORIZONTAL = 0, UI_VERTICAL }; |
| 84 |
84 |
| 85 void ui_exit_mainloop(); |
|
| 86 |
|
| 87 XtAppContext ui_motif_get_app(void); |
85 XtAppContext ui_motif_get_app(void); |
| 88 Display* ui_motif_get_display(void); |
86 Display* ui_motif_get_display(void); |
| |
87 void ui_motif_set_fallback_resources(String *fallback); |
| 89 |
88 |
| 90 void ui_set_active_window(Widget w); |
89 void ui_set_active_window(Widget w); |
| 91 Widget ui_get_active_window(); |
90 Widget ui_get_active_window(); |
| 92 |
91 |
| 93 void ui_secondary_event_loop(int *loop); |
92 void ui_secondary_event_loop(int *loop); |
| 94 void ui_window_dark_theme(Display *dp, Window window); |
93 void ui_window_dark_theme(Display *dp, Window window); |
| 95 |
94 |
| 96 void ui_destroy_eventdata(Widget w, XtPointer data, XtPointer d); |
95 void ui_destroy_data(Widget w, XtPointer data, XtPointer d); |
| 97 |
96 |
| 98 void ui_set_widget_groups(UiContext *ctx, Widget widget, const int *groups) ; |
97 void ui_set_widget_groups(UiContext *ctx, Widget widget, const int *groups) ; |
| 99 void ui_set_widget_ngroups(UiContext *ctx, Widget widget, const int *groups, size_t ngroups); |
98 void ui_set_widget_ngroups(UiContext *ctx, Widget widget, const int *groups, size_t ngroups); |
| 100 |
99 |
| 101 #ifdef __cplusplus |
100 #ifdef __cplusplus |