ui/motif/container.h

branch
newapi
changeset 176
bc63cb601f6d
parent 157
0b33b9396851
equal deleted inserted replaced
175:2cb06c231057 176:bc63cb601f6d
29 #ifndef CONTAINER_H 29 #ifndef CONTAINER_H
30 #define CONTAINER_H 30 #define CONTAINER_H
31 31
32 #include "../ui/toolkit.h" 32 #include "../ui/toolkit.h"
33 #include "../ui/container.h" 33 #include "../ui/container.h"
34 #include <ucx/list.h> 34 #include <cx/list.h>
35 #include <string.h> 35 #include <string.h>
36 36
37 #ifdef __cplusplus 37 #ifdef __cplusplus
38 extern "C" { 38 extern "C" {
39 #endif 39 #endif
91 int spacing; 91 int spacing;
92 }; 92 };
93 93
94 struct UiGridContainer { 94 struct UiGridContainer {
95 UiContainer container; 95 UiContainer container;
96 UcxList *lines; 96 CxList *lines;
97 UcxList *current; 97 CxList *current;
98 int columnspacing; 98 int columnspacing;
99 int rowspacing; 99 int rowspacing;
100 }; 100 };
101 101
102 struct UiTabViewContainer { 102 struct UiTabViewContainer {
103 UiContainer container; 103 UiContainer container;
104 UiContext *context; 104 UiContext *context;
105 Widget widget; 105 Widget widget;
106 UcxList *tabs; 106 CxList *tabs;
107 Widget current; 107 Widget current;
108 }; 108 };
109 109
110 struct MotifTabbedPane { 110 struct MotifTabbedPane {
111 UiTabbedPane view; 111 UiTabbedPane view;
112 Widget tabbar; 112 Widget tabbar;
113 UcxList *tabs; 113 CxList *tabs;
114 UiTab *current; 114 UiTab *current;
115 int index; 115 int index;
116 Pixel bg1; 116 Pixel bg1;
117 Pixel bg2; 117 Pixel bg2;
118 int height; 118 int height;

mercurial