forked from hankache/perl6-IUP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
256 lines (237 loc) · 12.6 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
Raku-iup TODOs
PRIORITIES:
IupListDialog stuff returns [] for both 'Cancel' and nothing selected. XXX
Upstream these situations are distinguishable.
Fix callbacks for examples: zbox list3 list1 list2 textformat button and
others. IUP::Handle.set-callback forwards its work to other custom code by
arity of the callback being set-up. This is fine but only arities 0
and 1 are handled. Enhance this mechanism.
Short Road map
This is mostly about getting the upstream ~/examples/C/ files working (here
working is just getting visually correct widgets). Note that some files
exercise widgets/controls/elements that are expected to be displaced by Raku
code.
These just include iup.h and so are the first to be addressed:
backgroundbox dialog1 dialog2 expander
fill getattribute getparam idle item
mdi menu multiline1 parambox progressdlg radio
separator split submenu tabs
textformat -- depends on iup/src/iup_key.c for iupKeyCodeToName
timer treednd val
textformat -- depends on iup/src/iup_key.c for iupKeyCodeToName
These require .set-callback to handle more varied signatures:
button colorbar detachbox list1 list2 matrix plot
sample scrollbar tree val webbrowser zbox
These require the ability to build a good image. Something I have not
sorted out yet.
button image label
sample -- depends on iup/src/iup_key.c for iupKeyCodeToName
These also include a secondary header, iupcontrols.h, which I have
not installed.
cbox colorbrowser detachbox dialogtaskbar
gauge getcolor getxy_showxy progressbar
sbox2 scrollbar tree
This TODO contains all IUP functions that are listed in the sidebar on
https://www.tecgraf.puc-rio.br/iup/ . There are many other IUP functions
in C; some are variations on the "main" functions, some are later additions,
and a few have no specific toolkit-iness about them, e.g. IupVersion just
grabs a string. Such functions are listed if they are used.
Legend:
u - Not in ToC of upstream doc's. AKA utility function.
n - Native call exists.
n* - Native call exists with oddity; usually rewrapped within custom C.
m - Has a method calling it.
/ - Not meaningful or not needed. (E.g. call directly vs method. )
e - Exercised by an example.
x - broken, should also be implied by example file not being executable.
NI - Not Important - proposing the issue is handled in Raku
Function name Category u| n*| m | e |NI | | |
System/Reference
IupOpen ......... | n*| m | e | | | |
IupClose ......... | n | m | e | | | |
IupVersion ......... | n | m | e | | | |
IupVersionNumber .........u| n | m | e | | | |
IupVersionDate .........u| n | m | | | | |
IupSetLanguage .........u| n | m | e | | | |
IupGetLanguage .........u| n | m | | | | |
Attributes/Functions
IupSetAttribute ......... | n | m | e | | | | set-attr
IupSetStrAttribute .........u| n | m | e | | | | set-attr :copy
IupStoreAttribute .........u| n | m | e | | | | set-attr :copy
IupSetAttributes ......... | n | m | e | | | | set-attr
IupResetAttribute ......... | | | | | | |
IupSetAtt ......... | | | |NI | | use set-handle & set-attr
IupSetAttributeHandle ...... | n | m | | | | |
IupGetAttribute ......... | n | m | | | | |
IupGetAllAttributes ........ | | | | | | |
IupGetAttributes ......... | n | m | | | | |
IupCopyAttributes ......... | | | |NI | copy hash str attrs twxt elems
IupGetAttributeHandle ...... | | | | | | |
IupSetGlobal ......... | n | m | | | | |
IupSetStrGlobal .........u| n | m | e | | | | set-global :copy
IupGetGlobal ......... | n | m | e | | | |
IupGetInt .........u| n | m | | | | |
IupStringCompare ......... | | | | | | |
Events & Callbacks/Functions
IupMainLoop ......... | n | m | e | | | |
IupMainLoopLevel ......... | | | | | | |
IupLoopStep ......... | | | | | | |
IupExitLoop ......... | | | | | | |
IupPostMessage ......... | | | | | | |
IupFlush ......... | | | | | | |
IupGetCallback ......... | | | | | | |
IupSetCallback ......... | n*| | | | | |
IupSetCallbacks ......... | | | | | | |
IupGetFunction ......... | | | | | | |
IupSetFunction ......... | | | | | | |
IupRecordInput ......... | | | | | | |
IupPlayInput ......... | | | | | | |
Dialogs/Reference
IupDialog .............. | n | m | e | | | |
IupPopup .............. | n | m | | | | |
IupShow .............. | n | | | | | |
IupShowXY .............. | n | | | | | |
IupHide .............. | n | m | | | | |
Dialogs/Predefined
IupFileDlg .............. | n | m | e | | | | graphics only
IupMessageDlg .............. | n | m | | | | |
IupColorDlg .............. | n | m | | | | |
IupFontDlg .............. | n | m | | | | |
IupProgressDlg .............. | n | m | | | | |
IupScintillaDlg ............ | | | | | | |
IupAlarm ............... | n | m | e | | | |
IupGetFile ............... | n | m | e | | | |
IupGetColor ............... | | | | | | |
IupGetParam ............... | | | | | | |
IupGetText ............... | | | | | | |
IupListDialog ............... | n | m | e | | | | XXX cancel==null select
IupMessage ............... | n | m | e | | | |
IupMessageError ............ | | | | | | |
IupScanf ............... | | | |NI | | |
IupLayoutDialog ............ | | | | | | |
IupElementPropertiesDialog .. | | | | | | |
IupGlobalsDialog ........... | | | | | | |
IupClassInfoDialog ......... | | | | | | |
Layout Compose/Hierarchy
IupAppend ............... | n | m | | | | |
IupDetach ............... | | | | | | |
IupInsert ............... | n | m | | | | |
IupReparent ............... | | | | | | |
IupGetParent ............... | n | m | | | | |
IupGetChild ............... | n | m | | | | |
IupGetChildPos ............. | | | | | | |
IupGetChildCount ............ | | | | | | |
IupGetNextChild ............ | n | m | | | | |
IupGetBrother ............ | | | | | | |
IupGetDialog ............ | n | m | | | | |
IupGetDialogChild .......... | n | | | | | |
Layout Compose/Management
IupRefresh .......... | | | | | | |
IupRefreshChildren ......... | | | | | | |
Controls/Containers
IupFill ................ | n | m | e | | | |
IupSpace ................ | | | | | | |
IupCbox ................ | n*| | | | | |
IupGridBox ................ | n*| m | e | | | |
IupMultiBox ................ | n*| m | e | | | |
IupHbox ................ | n*| m | e | | | |
IupVbox ................ | n*| m | e | | | |
IupZbox ................ | n*| m | | | | |
IupRadio ................ | n | m | e | | | |
IupNormalizer .............. | | | | | | |
IupFrame ................ | n | m | e | | | |
IupFlatFrame ............... | | | |NI | | |
IupTabs ................. | | | | | | |
IupFlatTabs ................ | | | |NI | | |
IupBackgroundBox ........... | n | m | e | | NEEDs Draw API to be useful.
IupScrollBox ........... | | | | | | |
IupFlatScrollBox ........... | | | |NI | | |
IupDetachBox ............ | | | | | | |
IupExpander ............ | n | m | | | | |
IupSbox ............ | n | m | e | | | |
IupSplit ............ | | | | | | |
IupSpinbox ............ | | | | | | |
IupParamBox ............ | | | | | | |
Controls/Standard
IupAnimatedLabel ........... | | | | | | |
IupButton ........... | n | m | e | | | |
IupFlatButton ........... | | | |NI | | |
IupDropButton ........... | | | | | | |
IupCalendar ........... | | | | | | |
IupCanvas ........... | n | m | | | | |
IupColorbar ........... | | | | | | |
IupColorBrowser ........... | | | | | | |
IupDatePick ........... | | | | | | |
IupDial ........... | n | m | | | | |
IupGauge ........... | | | | | | |
IupLabel ........... | n | m | e | | | |
IupFlatLabel ........... | | | |NI | | |
IupFlatSeparator ........... | n | m | e |NI | | |
IupLink ........... | | | | | | |
IupList ........... | n | m | | | | |
IupFlatList ........... | | | |NI | | |
IupProgressBar ........... | | | | | | |
IupSpin ........... | | | | | | |
IupText ........... | n*| m | e | | | |
IupMultiLine ........... | n*| m | e | | | |a Text w/ MULTILINE=YES
IupToggle ........... | n | m | e | | | |
IupFlatToggle ........... | | | |NI | | |
IupTree ........... | | | | | | |
IupFlatTree ........... | | | |NI | | |
IupVal ........... | n | m | | | | |
IupFlatVal ........... | | | |NI | | |
Additional controls requiring CD lib are ignored.
Controls/Management
IupMap ......... | n | m | | | | |
IupUnmap ......... | | | | | | |
Controls/Mgmt/Registered Classes
IupCreate ......... | | | | | | |
IupDestroy ......... | n | m | | | | |
IupGetAllClasses ......... | | | | | | |
IupGetClassName ......... | | | | | | |
IupGetClassType ......... | | | | | | |
IupClassMatch ......... | | | | | | |
IupGetClassAttributes .... | | | | | | |
IupGetClassCallbacks .... | | | | | | |
IupSaveClassAttributes .... | | | | | | |
IupCopyClassAttributes .... | | | | | | |
IupSetClassDefaultAttribute | | | | | | |
Controls/Mgmt/Registered Classes/Utilities
IupUpdate ......... | | | | | | |
IupRedraw ......... | | | | | | |
IupConvertXYToPos ........... | | | | | | |
Resources/Images
IupImage ......... | n | m | | | | |
IupImageRGB .........u| n | | | | | |
IupImageRGBA .........u| n | | | | | |
IupImageLib .........u| n | m | e | | | | is IupImageLibOpen
Iup-IM ........ | | | | | | |
IupSaveImageAsText ........ | | | | | | |
IupImageGetHandle ........ | | | | | | |
Resources/Keyboard/Reference
IupNextField ........ | | | | | | |
IupPreviousField ........ | | | | | | |
IupGetFocus ........ | n | m | | | | |
IupSetFocus ........ | n | m | | | | |
Resources/Menus
IupItem ............ | n*| m | e | | | |
IupMenu ............ | n | m | e | | | |
IupSeparator ............ | n | m | e | | | | very thin & faint
IupSubmenu ............ | n | m | e | | | |
Resources/Handle Names
IupSetHandle ............ | n | m | | | | |
IupGetHandle ............ | n | m | | | | |
IupGetName ............ | | | | | | |
IupGetAllNames ........... | | | | | | |
IupGetAllDialogs .......... | | | | | | |
Resources/String Names
IupClipboard ............ | | | | | | |
IupTimer ............ | | | | | | |
IupTuio ............ | | | | | | |
IupThread ............ | | | | | | |
IupUser ............ | n | m | | | | |
IupConfig ............ | | | | | | |
IupExecute ............ | | | | | | |
IupExecuteWait ............ | | | | | | |
IupHelp ............ | | | | | | |
IupLog ............ | | | | | | |