ui/ui/tree.h

changeset 26
40d6af793c1a
parent 13
5a8762fcfecc
--- a/ui/ui/tree.h	Thu Feb 08 10:35:07 2024 +0100
+++ b/ui/ui/tree.h	Fri Feb 09 16:50:23 2024 +0100
@@ -37,7 +37,6 @@
 
 typedef struct UiModel         UiModel;
 typedef struct UiListCallbacks UiListCallbacks;
-typedef struct UiListSelection UiListSelection;
 typedef struct UiListDnd       UiListDnd;
 
 typedef struct UiListArgs      UiListArgs;
@@ -95,18 +94,6 @@
     void *userdata;
 };
 
-struct UiListSelection {
-    /*
-     * number of selected items
-     */
-    int count;
-    
-    /*
-     * indices of selected rows
-     */
-    int *rows;
-};
-
 struct UiListDnd {
     UiListSelection selection;
     UiDnD *dnd;
@@ -150,11 +137,10 @@
 UIEXPORT UIWIDGET ui_combobox_create(UiObject* obj, UiListArgs args);
 UIEXPORT UIWIDGET ui_breadcrumbbar_create(UiObject* obj, UiListArgs args);
 
-
-void ui_table_dragsource(UIWIDGET tablewidget, int actions, char *target0, ...);
-void ui_table_dragsource_a(UIWIDGET tablewidget, int actions, char **targets, int nelm);
-void ui_table_dragdest(UIWIDGET tablewidget, int actions, char *target0, ...);
-void ui_table_dragdest_a(UIWIDGET tablewidget, int actions, char **targets, int nelm);
+void ui_table_dragsource_deprecated(UIWIDGET tablewidget, int actions, char *target0, ...);
+void ui_table_dragsource_a_deprecated(UIWIDGET tablewidget, int actions, char **targets, int nelm);
+void ui_table_dragdest_deprecated(UIWIDGET tablewidget, int actions, char *target0, ...);
+void ui_table_dragdest_a_deprecated(UIWIDGET tablewidget, int actions, char **targets, int nelm);
 
 
 #ifdef	__cplusplus

mercurial