fltkdecls.bmx 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  1. 'This is *included* by fltkgui.bmx, fltkfont.bmx and fltksystem.bmx - the
  2. 'include statements are sandwiched between Private and Public keywords to
  3. 'avoid wasting namespaces outside of FLTKMaxGUI.
  4. Extern "C"
  5. Function flAddFd(fd,when,callback(fd:Int,user:Byte Ptr),user:Byte Ptr)
  6. Function flReset(xdisplay,callback:Int(event),filter:Int(user:Int),mousehandler:Int(flwidget,user:Int),keyhandler:Int(flwidget,user:Int))
  7. Function flCountFonts()
  8. Function flBelowMouse()
  9. Function flSetBelowMouse(widget)
  10. Function flGetColor( index )
  11. Function flChooseColor(title$z,r:Byte Ptr,g:Byte Ptr,b:Byte Ptr)
  12. Function flFontName$z(i)
  13. Function flFontSizes:Int(fontid, sizes Ptr)
  14. Function flFriendlyFontName$z(i)
  15. Function flFriendlyFontAttributes(i)
  16. Function flRun()
  17. Function flWait(timeout)
  18. Function flFlush()
  19. Function flHandle(xevent:Byte Ptr)
  20. Function flAddTimeout(t:Double,callback(user:Object),user:Object=Null)
  21. Function flRequest(text$z,flags)
  22. Function flRequestFile$z(message$z,pattern$z,path$z,save)
  23. Function flRequestDir$z(message$z,path$z,relative)
  24. Function flWidget(x,y,w,h,label:Byte Ptr,fltype)
  25. Function flFreeWidget(widget)
  26. Function flFreePtr(data:Byte Ptr)
  27. Function flUserData(widget)
  28. Function flDelete(pointer:Byte Ptr)
  29. Function flSetColor(widget,r,g,b)
  30. Function flRemoveColor(widget)
  31. Function flSetLabel(widget,name$z)
  32. Function flSetLabelColor(widget,r,g,b)
  33. Function flSetLabelFont(widget,font)
  34. Function flSetLabelSize(widget,size)
  35. Function flGetLabel$z(widget)
  36. Function flSetBox(widget,boxtype,redrawifneeded)
  37. Function flSetLabelType(widget,labeltype)
  38. Function flSetAlign(widget,aligntype)
  39. Function flAlign(widget)
  40. Function flSetArea(widget,x,y,w,h)
  41. Function flGetArea(widget,x Ptr,y Ptr,w Ptr,h Ptr)
  42. Function flSetFocus(widget)
  43. Function flGetFocus()
  44. Function flSetWhen(widget,when)
  45. Function flGetWhen(widget)
  46. Function flGetUser:Int(widget)
  47. Function flSetShow(widget,truefalse)
  48. Function flSetCallback(widget,callback(flwidget,user:Int),user:Int=0)
  49. Function flSetToolTip(widget,tip:Byte Ptr)
  50. Function flSetActive(widget,truefalse)
  51. Function flWidgetWindow(widget)
  52. Function flPushed()
  53. Function flSetPushed(widget)
  54. Function flRedraw(widget)
  55. Function flWidth(widget)
  56. Function flHeight(widget)
  57. Function flVisible(widget)
  58. Function flChanged(widget)
  59. Function flClearChanged(widget)
  60. Function flShowWindow(window,truefalse)
  61. Function flSetWindowIcon(window,icon:Byte Ptr)
  62. Function flDestroyWindow(window)
  63. Function flSetWindowLabel(window,name$z)
  64. Function flClearBorder(window)
  65. Function flSetMaxWindowSize(window,width,height)
  66. Function flSetMinWindowSize(window,width,height)
  67. Function flSetAcceptsFiles(window,enable)
  68. Function flSetModal(window)
  69. Function flSetNonModal(window)
  70. Function flBegin(group)
  71. Function flEnd(group)
  72. Function flAddToGroup(group,widget)
  73. Function flRemoveFromGroup(group,widget)
  74. Function flSetInputChoice(inputchoicewidget,value)
  75. Function flGetInputChoiceMenuWidget(inputchoicewidget)
  76. Function flGetInputChoiceTextWidget(inputchoicewidget)
  77. Function flSetChoice(choicewidget,value)
  78. Function flGetChoice(choicewidget)
  79. Function flSetInput(inputwidget,value$z)
  80. Function flGetInput$z(inputwidget)
  81. Function flActivateInput(inputwidget)
  82. Function flSetInputFont(widget,font)
  83. Function flSetInputSize(widget,size)
  84. ' panel
  85. Function flImage(pix:Byte Ptr,w,h,d,span)
  86. Function flFreeImage( image )
  87. Function flSetImage(widget,image)
  88. Function flSetPanelColor(panel,r,g,b)
  89. Function flSetPanelImage(panel,image,pixmapflags)
  90. Function flSetPanelActive(panel,yesno=True)
  91. Function flSetPanelEnabled(panel,yesno=True)
  92. ' tabs
  93. Function flSelectTab(tabber,panel)
  94. Function flGetTabPanel(tabber)
  95. Function flGetTabPanelForEvent(tabber)
  96. ' menubar
  97. Function flCreateMenu Ptr(maxitems,callback(flwidget,user:Int))
  98. Function flSetMenuItem(menu Ptr,item,label$z,shortcut,user:Int,flags,fonthandle,pfontsize)
  99. Function flSetMenu(menubar,menu Ptr)
  100. Function flPopupMenu:Int(menu Ptr,nil:Int=0)
  101. ' button
  102. Function flSetButton(button,value)
  103. Function flGetButton(button)
  104. Function flSetButtonKey(button,key)
  105. ' browser
  106. Function flClearBrowser(browser)
  107. Function flAddBrowser(browser,label$z,obj:Object=Null,img = 0)
  108. Function flInsertBrowser(browser,index,label$z,obj:Object=Null,img = 0)
  109. Function flShowBrowser(browser,line,show)
  110. Function flSelectBrowser(browser,line)
  111. Function flMultiBrowserSelect(browser,line,seldesel)
  112. Function flMultiBrowserSelected(browser,line)
  113. Function flBrowserValue(browser)
  114. Function flBrowserItem$z(browser,line)
  115. Function flBrowserData:Object(browser,line)
  116. Function flSetBrowserItem(browser,line,text$z,obj:Object=Null,img = 0)
  117. Function flRemoveBrowserItem(browser,line)
  118. Function flSetBrowserTextColor(browser,r,g,b)
  119. Function flSetBrowserTextFont(browser,font)
  120. Function flSetBrowserTextSize(browser,size)
  121. Function flBrowserCount(browser)
  122. ' editor
  123. Function flCharPosXY(textdisplay,char,x Ptr,y Ptr)
  124. Function flLinePos(textdisplay,line)
  125. Function flLineStart(textdisplay,pos)
  126. Function flLineCount(textdisplay,pos)
  127. Function flTextLength(textdisplay)
  128. Function flSetWrapMode(textdisplay,bool,column)
  129. Function flSetText(textdisplay,text:Byte Ptr)
  130. Function flSetEditTextColor(textdisplay,r,g,b)
  131. Function flSetTextFont(editor,font)
  132. Function flSetTextSize(editor,size)
  133. Function flAddText(textdisplay,text:Byte Ptr)
  134. Function flReplaceText(textdisplay,start,count,text:Byte Ptr)
  135. Function flSelectText(textdisplay,start,count)
  136. Function flFreeTextDisplay(textdisplay)
  137. Function flShowPosition(textdisplay)
  138. Function flRedrawText(textdisplay,start,count)
  139. Function flGetText:Byte Ptr(textdisplay,start=0,count=-1)
  140. Function flSetTextCallback(textdisplay,callback(pos,inserted,deleted,restyled,text:Byte Ptr,obj:Int),user:Int)
  141. Function flSetTextTabs(textdisplay,tabs)
  142. Function flGetCursorPos(textdisplay)
  143. Function flGetSelectionLen(textdisplay)
  144. Function flGetTextStyleChar(textdisplay,r,g,b,font,size)
  145. Function flSetTextStyle(textdisplay,text$z)
  146. Function flAddTextStyle(textdisplay,text$z)
  147. Function flReplaceTextStyle(textdisplay,start,count,text$z)
  148. Function flInsertTextStyle(textdisplay,start,text$z)
  149. Function flDeleteTextStyle(textdisplay,start,count)
  150. Function flActivateText(textdisplay)
  151. Function flCutText(editor)
  152. Function flCopyText(editor)
  153. Function flPasteText(editor)
  154. 'htmlview
  155. Function flSetView(view,html$z)
  156. Function flSeekView(view,anchor$z)
  157. Function flRedirectView(view,url$z)
  158. Function flSetLineView(view,line) ' markcw
  159. Function flGetLineView(view) ' markcw
  160. Function flSetPathView(view,path$z)
  161. Function flGetPathView$z(view)
  162. Function flIsLinkView(view)
  163. Function flSetStyleView(view,flag)
  164. ' progbar
  165. Function flSetProgress(progbar,value#)
  166. ' slider
  167. Function flSetSliderType(slider,slidertype)
  168. Function flSliderValue:Double(slider)
  169. Function flSetSliderValue(slider,value:Double)
  170. Function flSetSliderRange(slider,low:Double,hi:Double)
  171. Function flScrollbarValue(scrollbar)
  172. Function flSetScrollbarValue(scrollbar,value,visible,lowest,total)
  173. Function flSetSpinnerMin(spinner,minimum:Double)
  174. Function flSetSpinnerMax(spinner,maximum:Double)
  175. Function flSetSpinnerValue(spinner,value:Double)
  176. Function flSpinnerValue:Double(spinner)
  177. ' canvas
  178. Function flCanvasWindow(canvas)
  179. Function flSetCanvasMode(canvas,mode)
  180. 'Function flBeginPaint(canvas)
  181. 'Function flEndPaint(canvas)
  182. ' event
  183. Function flEvent()
  184. Function flEventKey()
  185. Function flEventdX()
  186. Function flEventdY()
  187. Function flEventX()
  188. Function flEventY()
  189. Function flEventState()
  190. Function flEventKeys(key)
  191. Function flEventButtons()
  192. Function flEventButton()
  193. Function flEventClicks()
  194. Function flEventText$z()
  195. Function flEventURL$z()
  196. Function flCompose(del Ptr)
  197. Function flDisplayRect(x Ptr,y Ptr,w Ptr,h Ptr)
  198. ' pointer
  199. Function flSetCursor(shape)
  200. ' nodes
  201. Function fluRootNode( tree )
  202. Function fluSelectedNode( tree, index )
  203. Function fluInsertNode( parent, pos, text:Byte Ptr )
  204. Function fluAddNode( parent, text:Byte Ptr )
  205. Function fluRemoveNode( tree, node )
  206. Function fluSetNode( node, text:Byte Ptr, iconimage )
  207. Function fluSetNodeUserData( node, user_data )
  208. Function fluNodeUserData( node )
  209. Function fluExpandNode( node, collapse )
  210. Function fluSelectNode( node )
  211. Function fluCallbackNode( tree )
  212. Function fluCallbackReason( tree )
  213. End Extern
  214. ?MacOS
  215. Extern
  216. Function NSContentView(window)
  217. Function NSUpdateCanvas(window)
  218. EndExtern
  219. ?
  220. Const FL_READ=1
  221. Const FL_WRITE=4
  222. Const FL_EXCEPT=8
  223. Const FL_FOREGROUND_COLOR = 0
  224. Const FL_BACKGROUND_COLOR = 49
  225. Const FL_BACKGROUND2_COLOR = 7
  226. Const FL_INACTIVE_COLOR = 8
  227. Const FL_SELECTION_COLOR = 15
  228. Const FL_WINDOW=0
  229. Const FL_MENUBAR=1
  230. Const FL_BUTTON=2
  231. Const FL_CHECKBUTTON=3
  232. Const FL_ROUNDBUTTON=4
  233. Const FL_TOGGLEBUTTON=5
  234. Const FL_RADIOPUSHBUTTON=6
  235. Const FL_RETURNBUTTON=7
  236. Const FL_PANEL=8
  237. Const FL_GROUP_PANEL=9
  238. Const FL_INPUT=10
  239. Const FL_PASSWORD=11
  240. Const FL_TABS=12
  241. Const FL_GROUP=13
  242. Const FL_PACK=14
  243. Const FL_BROWSER=15
  244. Const FL_MULTIBROWSER=16
  245. Const FL_CHOICE=17
  246. Const FL_TEXTEDITOR=18
  247. Const FL_TEXTDISPLAY=19
  248. Const FL_HELPVIEW=20
  249. Const FL_BOX=21
  250. Const FL_TOOLBAR=22
  251. Const FL_PROGBAR=23
  252. Const FL_SLIDER=24
  253. Const FL_SCROLLBAR=25
  254. Const FL_SPINNER=26
  255. Const FL_CANVAS=27
  256. Const FL_INPUTCHOICE=28
  257. Const FLU_TREEBROWSER=29
  258. Const FL_REPEATBUTTON=30
  259. Const FL_MENUITEM=50
  260. Const FL_DESKTOP=51
  261. Const FL_TIMER=52
  262. Const FL_HELVETICA=0
  263. Const FL_COURIER=4
  264. Const FL_TIMES=8
  265. Const FL_SYMBOL=12
  266. Const FL_SCREEN=13
  267. Const FL_SCREEN_BOLD=14
  268. Const FL_ZAPF_DINGBATS=15
  269. Const FL_BOLD=1
  270. Const FL_ITALIC=2
  271. Const FL_MENU_INACTIVE=$1
  272. Const FL_MENU_TOGGLE= $2
  273. Const FL_MENU_VALUE=$4
  274. Const FL_MENU_RADIO=$8
  275. Const FL_MENU_INVISIBLE=$10
  276. Const FL_SUBMENU_POINTER=$20
  277. Const FL_SUBMENU=$40
  278. Const FL_MENU_DIVIDER=$80
  279. Const FL_MENU_HORIZONTAL=$100
  280. Const FL_NO_EVENT=0
  281. Const FL_PUSH=1
  282. Const FL_RELEASE=2
  283. Const FL_ENTER=3
  284. Const FL_LEAVE=4
  285. Const FL_DRAG=5
  286. Const FL_FOCUS=6
  287. Const FL_UNFOCUS=7
  288. Const FL_KEYDOWN=8
  289. Const FL_KEYUP=9
  290. Const FL_CLOSE=10
  291. Const FL_MOVE=11
  292. Const FL_SHORTCUT=12
  293. Const FL_DEACTIVATE=13
  294. Const FL_ACTIVATE=14
  295. Const FL_HIDE=15
  296. Const FL_SHOW=16
  297. Const FL_PASTE=17
  298. Const FL_SELECTIONCLEAR=18
  299. Const FL_MOUSEWHEEL=19
  300. Const FL_DND_ENTER=20
  301. Const FL_DND_DRAG=21
  302. Const FL_DND_LEAVE=22
  303. Const FL_DND_RELEASE=23
  304. Const FL_WHEN_NEVER=0
  305. Const FL_WHEN_CHANGED=1
  306. Const FL_WHEN_RELEASE=4
  307. Const FL_WHEN_RELEASE_ALWAYS=6
  308. Const FL_WHEN_ENTER_KEY=8
  309. Const FL_WHEN_ENTER_KEY_ALWAYS=10
  310. Const FL_WHEN_ENTER_KEY_CHANGED=11
  311. Const FL_WHEN_NOT_CHANGED=2 'modifierbittodisablechanged()test
  312. ' box types
  313. Const FL_NO_BOX=0
  314. Const FL_FLAT_BOX=1
  315. Const FL_UP_BOX=2
  316. Const FL_DOWN_BOX=3
  317. Const FL_UP_FRAME=4
  318. Const FL_DOWN_FRAME=5
  319. Const FL_THIN_UP_BOX=6
  320. Const FL_THIN_DOWN_BOX=7
  321. Const FL_THIN_UP_FRAME=8
  322. Const FL_THIN_DOWN_FRAME=9
  323. Const FL_ENGRAVED_BOX=10
  324. Const FL_EMBOSSED_BOX=11
  325. Const FL_ENGRAVED_FRAME=12
  326. Const FL_EMBOSSED_FRAME=13
  327. Const FL_BORDER_BOX=14
  328. Const FL_SHADOW_BOX=15
  329. Const FL_BORDER_FRAME=16
  330. Const FL_SHADOW_FRAME=17
  331. Const FL_ROUNDED_BOX=18
  332. Const FL_RSHADOW_BOX=19
  333. Const FL_ROUNDED_FRAME=20
  334. Const FL_RFLAT_BOX=21
  335. Const FL_ROUND_UP_BOX=22
  336. Const FL_ROUND_DOWN_BOX=23
  337. Const FL_DIAMOND_UP_BOX=24
  338. Const FL_DIAMOND_DOWN_BOX=25
  339. Const FL_OVAL_BOX=26
  340. Const FL_OSHADOW_BOX=27
  341. Const FL_OVAL_FRAME=28
  342. Const FL_OFLAT_BOX=29
  343. Const FL_PLASTIC_UP_BOX=30
  344. Const FL_PLASTIC_DOWN_BOX=31
  345. Const FL_PLASTIC_UP_FRAME=32
  346. Const FL_PLASTIC_DOWN_FRAME=33
  347. Const FL_PLASTIC_THIN_UP_BOX=34
  348. Const FL_PLASTIC_THIN_DOWN_BOX=35
  349. Const FL_FREE_BOXTYPE=36
  350. ' alignment flags
  351. Const FL_ALIGN_CENTER=0
  352. Const FL_ALIGN_TOP=1
  353. Const FL_ALIGN_BOTTOM=2
  354. Const FL_ALIGN_LEFT=4
  355. Const FL_ALIGN_RIGHT=8
  356. Const FL_ALIGN_INSIDE=16
  357. Const FL_TEXT_OVER_IMAGE=32
  358. Const FL_IMAGE_OVER_TEXT=0
  359. Const FL_ALIGN_CLIP=64
  360. Const FL_ALIGN_WRAP=128
  361. Const FL_ALIGN_TOP_LEFT = FL_ALIGN_TOP | FL_ALIGN_LEFT
  362. Const FL_ALIGN_TOP_RIGHT = FL_ALIGN_TOP | FL_ALIGN_RIGHT
  363. Const FL_ALIGN_BOTTOM_LEFT = FL_ALIGN_BOTTOM | FL_ALIGN_LEFT
  364. Const FL_ALIGN_BOTTOM_RIGHT = FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT
  365. Const FL_ALIGN_LEFT_TOP = FL_ALIGN_TOP_LEFT
  366. Const FL_ALIGN_RIGHT_TOP = FL_ALIGN_TOP_RIGHT
  367. Const FL_ALIGN_LEFT_BOTTOM = FL_ALIGN_BOTTOM_LEFT
  368. Const FL_ALIGN_RIGHT_BOTTOM = FL_ALIGN_BOTTOM_RIGHT
  369. Const FL_ALIGN_NOWRAP = 0
  370. 'labeltype flags
  371. Const FL_NORMAL_LABEL = 0
  372. Const FL_NO_LABEL = 1
  373. Const FL_SHADOW_LABEL = 2
  374. Const FL_ENGRAVED_LABEL = 3
  375. Const FL_EMBOSSED_LABEL = 4
  376. Const FL_ICON_LABEL = 5
  377. Const FL_IMAGE_LABEL = 6
  378. ' mouse event buttons
  379. Const FL_LEFT_MOUSE=1
  380. Const FL_MIDDLE_MOUSE=2
  381. Const FL_RIGHT_MOUSE=3
  382. ' event states
  383. Const FL_SHIFT=$00010000
  384. Const FL_CAPS_LOCK=$00020000
  385. Const FL_CTRL=$00040000
  386. Const FL_ALT=$00080000
  387. Const FL_NUM_LOCK=$00100000 'mostXserversdothis?
  388. Const FL_META=$00400000 'correctforXFree86
  389. Const FL_SCROLL_LOCK=$00800000 'correctforXFree86
  390. Const FL_BUTTON1=$01000000
  391. Const FL_BUTTON2=$02000000
  392. Const FL_BUTTON3=$04000000
  393. Const FL_BUTTONS=$7f000000 'Allpossiblebuttons
  394. ' extended keys
  395. Const FL_KEY_Button=$fee8 'useFL_KEY_Button+FL_KEY_*_MOUSE
  396. Const FL_KEY_BackSpace=$ff08
  397. Const FL_KEY_Tab=$ff09
  398. Const FL_KEY_Enter=$ff0d
  399. Const FL_KEY_Pause=$ff13
  400. Const FL_KEY_Scroll_Lock=$ff14
  401. Const FL_KEY_Escape=$ff1b
  402. Const FL_KEY_Home=$ff50
  403. Const FL_KEY_Left=$ff51
  404. Const FL_KEY_Up=$ff52
  405. Const FL_KEY_Right=$ff53
  406. Const FL_KEY_Down=$ff54
  407. Const FL_KEY_Page_Up=$ff55
  408. Const FL_KEY_Page_Down=$ff56
  409. Const FL_KEY_End=$ff57
  410. Const FL_KEY_Print=$ff61
  411. Const FL_KEY_Insert=$ff63
  412. Const FL_KEY_Menu=$ff67 'the"menu/apps"keyonXFree86
  413. Const FL_KEY_Help=$ff68 'the'help'keyonMackeyboards
  414. Const FL_KEY_Num_Lock=$ff7f
  415. Const FL_KEY_KP=$ff80 'useFL_KEY_KP+'x'for'x'onnumerickeypad
  416. Const FL_KEY_KP_Enter=$ff8d 'sameasFL_KEY_KP+'\r'
  417. Const FL_KEY_KP_Last=$ffbd 'usetorange-checkkeypad
  418. Const FL_KEY_F=$ffbd 'useFL_KEY_F+nforfunctionkeyn
  419. Const FL_KEY_F_Last=$ffe0 'usetorange-checkfunctionkeys
  420. Const FL_KEY_Shift_L=$ffe1
  421. Const FL_KEY_Shift_R=$ffe2
  422. Const FL_KEY_Control_L=$ffe3
  423. Const FL_KEY_Control_R=$ffe4
  424. Const FL_KEY_Caps_Lock=$ffe5
  425. Const FL_KEY_Meta_L=$ffe7 'theleftMSWindowskeyonXFree86
  426. Const FL_KEY_Meta_R=$ffe8 'therightMSWindowskeyonXFree86
  427. Const FL_KEY_Alt_L=$ffe9
  428. Const FL_KEY_Alt_R=$ffea
  429. Const FL_KEY_Delete=$ffff
  430. ' slider types
  431. Const FL_VERT_SLIDER=0
  432. Const FL_HOR_SLIDER=1
  433. Const FL_VERT_FILL_SLIDER=2
  434. Const FL_HOR_FILL_SLIDER=3
  435. Const FL_VERT_NICE_SLIDER=4
  436. Const FL_HOR_NICE_SLIDER=5
  437. ' flu constants
  438. Const FLU_NO_SELECT = 0
  439. Const FLU_SINGLE_SELECT = 1
  440. Const FLU_MULTI_SELECT = 2
  441. Const FLU_INSERT_FRONT = 0
  442. Const FLU_INSERT_BACK = 1
  443. Const FLU_INSERT_SORTED = 2
  444. Const FLU_INSERT_SORTED_REVERSE = 3
  445. Const FLU_DRAG_IGNORE = 0
  446. Const FLU_DRAG_TO_SELECT = 1
  447. Const FLU_DRAG_TO_MOVE = 2
  448. Const FLU_HILIGHTED = 0
  449. Const FLU_UNHILIGHTED = 1
  450. Const FLU_SELECTED = 2
  451. Const FLU_UNSELECTED = 3
  452. Const FLU_OPENED = 4
  453. Const FLU_CLOSED = 5
  454. Const FLU_DOUBLE_CLICK = 6
  455. Const FLU_WIDGET_CALLBACK = 7
  456. Const FLU_MOVED_NODE = 8
  457. Const FLU_NEW_NODE = 9
  458. Const FLU_NOTHING = 10