You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

944 lines
28KB

  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 1.0300
  3. header_name {.h}
  4. code_name {.cxx}
  5. comment {//
  6. // "$Id: function_panel.fl 8172 2011-01-03 08:28:38Z matt $"
  7. //
  8. // Code dialogs for the Fast Light Tool Kit (FLTK).
  9. //
  10. // Copyright 1998-2010 by Bill Spitzak and others.
  11. //
  12. // This library is free software; you can redistribute it and/or
  13. // modify it under the terms of the GNU Library General Public
  14. // License as published by the Free Software Foundation; either
  15. // version 2 of the License, or (at your option) any later version.
  16. //
  17. // This library is distributed in the hope that it will be useful,
  18. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  20. // Library General Public License for more details.
  21. //
  22. // You should have received a copy of the GNU Library General Public
  23. // License along with this library; if not, write to the Free Software
  24. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  25. // USA.
  26. //
  27. // Please report all bugs and problems on the following page:
  28. //
  29. // http://www.fltk.org/str.php
  30. //
  31. } {in_source in_header
  32. }
  33. decl {\#include <FL/Fl_Pixmap.H>} {private local
  34. }
  35. decl {\#include "Fl_Type.h"} {private local
  36. }
  37. decl {\#include "undo.h"} {private local
  38. }
  39. decl {extern class Fl_Pixmap *pixmap[];} {private local
  40. }
  41. decl {extern class Fl_Type *Fl_Type_make(const char*);} {private local
  42. }
  43. decl {extern void select_only(Fl_Type*);} {private local
  44. }
  45. decl {extern void exit_cb(Fl_Widget*, void*);} {private global
  46. }
  47. decl {extern void toggle_widgetbin_cb(Fl_Widget*, void*);} {private global
  48. }
  49. Function {make_function_panel()} {} {
  50. Fl_Window function_panel {
  51. label {Function/Method Properties} open
  52. xywh {394 671 343 232} type Double resizable modal visible
  53. } {
  54. Fl_Group {} {open
  55. xywh {10 10 270 20}
  56. } {
  57. Fl_Choice f_public_member_choice {
  58. tooltip {Change member access attribute.} xywh {10 10 75 20} down_box BORDER_BOX labelsize 11 when 1 textsize 11
  59. } {
  60. MenuItem {} {
  61. label private
  62. user_data 0 user_data_type long
  63. xywh {5 5 100 20} labelsize 11
  64. }
  65. MenuItem {} {
  66. label public
  67. user_data 1 user_data_type long
  68. xywh {5 5 100 20} labelsize 11
  69. }
  70. MenuItem {} {
  71. label protected
  72. user_data 2 user_data_type long
  73. xywh {5 5 100 20} labelsize 11
  74. }
  75. }
  76. Fl_Choice f_public_choice {
  77. tooltip {Change widget accessibility.} xywh {10 10 75 20} down_box BORDER_BOX labelsize 11 when 1 textsize 11
  78. } {
  79. MenuItem {} {
  80. label local
  81. user_data 0 user_data_type long
  82. xywh {15 15 100 20} labelsize 11
  83. }
  84. MenuItem {} {
  85. label global
  86. user_data 1 user_data_type long
  87. xywh {15 15 100 20} labelsize 11
  88. }
  89. }
  90. Fl_Light_Button f_c_button {
  91. label {C declaration}
  92. tooltip {Declare with a C interface instead of C++.} xywh {95 10 80 20} labelsize 11
  93. }
  94. Fl_Box {} {
  95. xywh {235 10 45 20} resizable
  96. }
  97. }
  98. Fl_Input f_name_input {
  99. label {Name(args): (blank for main())}
  100. tooltip {The name of the function or method.} xywh {10 50 320 20} labelfont 1 labelsize 11 align 5 when 0 textfont 4 textsize 11
  101. }
  102. Fl_Input f_return_type_input {
  103. label {Return Type: (blank to return outermost widget)}
  104. tooltip {The return type of the function or method.} xywh {10 90 320 20} labelfont 1 labelsize 11 align 5 when 0 textfont 4 textsize 11
  105. }
  106. Fl_Group {} {
  107. xywh {10 200 320 20}
  108. } {
  109. Fl_Return_Button f_panel_ok {
  110. label OK
  111. tooltip {Apply the changes.} xywh {220 200 50 20} labelsize 11 hotspot
  112. }
  113. Fl_Button f_panel_cancel {
  114. label Cancel
  115. tooltip {Cancel the changes.} xywh {280 200 50 20} shortcut 0xff1b labelsize 11
  116. }
  117. Fl_Box {} {
  118. xywh {10 200 205 20} resizable
  119. }
  120. }
  121. Fl_Text_Editor f_comment_input {
  122. label {Comment:}
  123. tooltip {Function comment in Doxygen format} xywh {10 125 320 65} box DOWN_BOX labelfont 1 labelsize 11 align 5 textfont 4 textsize 11 resizable
  124. code0 {f_comment_input->buffer(new Fl_Text_Buffer());}
  125. }
  126. }
  127. }
  128. Function {make_code_panel()} {} {
  129. Fl_Window code_panel {
  130. label {Code Properties}
  131. xywh {353 262 540 180} type Double labelsize 11 resizable
  132. code0 {o->size_range(200, 150);} modal visible
  133. } {
  134. Fl_Text_Editor code_input {
  135. xywh {10 10 520 130} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable
  136. code0 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);}
  137. code1 {\#include "CodeEditor.h"}
  138. class CodeEditor
  139. }
  140. Fl_Group {} {open
  141. xywh {10 150 520 20} labelsize 11
  142. } {
  143. Fl_Return_Button code_panel_ok {
  144. label OK
  145. xywh {400 150 60 20} labelsize 11 hotspot
  146. }
  147. Fl_Button code_panel_cancel {
  148. label Cancel
  149. xywh {470 150 60 20} shortcut 0xff1b labelsize 11
  150. }
  151. Fl_Box {} {
  152. xywh {10 150 380 20} labelsize 11 resizable
  153. }
  154. }
  155. }
  156. }
  157. Function {make_codeblock_panel()} {} {
  158. Fl_Window codeblock_panel {
  159. label {Code Block Properties}
  160. xywh {468 221 300 115} type Double labelsize 11 resizable
  161. code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal visible
  162. } {
  163. Fl_Input code_before_input {
  164. label {Conditional code block}
  165. tooltip {\#ifdef or similar conditional code block.} xywh {10 15 280 20} labelsize 11 align 5 when 0 textfont 4 textsize 11
  166. }
  167. Fl_Input code_after_input {
  168. label {"{...child code...}" is inserted here}
  169. tooltip {\#endif or similar conditional code block.} xywh {10 55 280 20} labelsize 11 align 5 when 0 textfont 4 textsize 11 resizable
  170. }
  171. Fl_Group {} {open
  172. xywh {10 85 280 20}
  173. } {
  174. Fl_Return_Button codeblock_panel_ok {
  175. label OK
  176. xywh {160 85 60 20} labelsize 11 hotspot
  177. }
  178. Fl_Button codeblock_panel_cancel {
  179. label Cancel
  180. xywh {230 85 60 20} shortcut 0xff1b labelsize 11
  181. }
  182. Fl_Box {} {
  183. xywh {10 85 140 20} resizable
  184. }
  185. }
  186. }
  187. }
  188. Function {make_declblock_panel()} {} {
  189. Fl_Window declblock_panel {
  190. label {Declaration Block Properties} open
  191. xywh {428 215 300 135} type Double labelsize 11 resizable
  192. code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal visible
  193. } {
  194. Fl_Group {} {open
  195. xywh {10 10 280 20}
  196. } {
  197. Fl_Choice declblock_public_choice {open
  198. tooltip {Change widget accessibility.} xywh {10 10 140 20} down_box BORDER_BOX labelsize 11 when 0 textsize 11
  199. } {
  200. MenuItem {} {
  201. label {in source code only}
  202. user_data 0 user_data_type long
  203. xywh {25 25 100 20} labelsize 11
  204. }
  205. MenuItem {} {
  206. label {in header and source}
  207. user_data 1 user_data_type long
  208. xywh {25 25 100 20} labelsize 11
  209. }
  210. }
  211. Fl_Light_Button declblock_public_button_x {
  212. label public
  213. tooltip {Make the declaration publicly accessible.} xywh {10 10 60 20} labelsize 11 when 0 hide
  214. }
  215. Fl_Box {} {
  216. xywh {155 10 135 20} resizable
  217. }
  218. }
  219. Fl_Input decl_before_input {
  220. tooltip {\#ifdef or similar conditional declaration block.} xywh {10 40 280 20} labelsize 11 align 5 when 0 textfont 4 textsize 11 resizable
  221. }
  222. Fl_Input decl_after_input {
  223. label {"\\n...child code...\\n" is inserted here}
  224. tooltip {\#endif or similar declaration code block.} xywh {10 75 280 20} labelsize 11 align 5 when 0 textfont 4 textsize 11
  225. }
  226. Fl_Group {} {
  227. xywh {10 105 280 20}
  228. } {
  229. Fl_Return_Button declblock_panel_ok {
  230. label OK
  231. xywh {160 105 60 20} labelsize 11 hotspot
  232. }
  233. Fl_Button declblock_panel_cancel {
  234. label Cancel
  235. xywh {230 105 60 20} shortcut 0xff1b labelsize 11
  236. }
  237. Fl_Box {} {
  238. xywh {10 105 140 20} resizable
  239. }
  240. }
  241. }
  242. }
  243. Function {make_decl_panel()} {} {
  244. Fl_Window decl_panel {
  245. label {Declaration Properties} open
  246. xywh {395 411 343 237} type Double align 80 resizable size_range {343 237 0 0} visible
  247. } {
  248. Fl_Group {} {open
  249. xywh {10 10 270 20}
  250. } {
  251. Fl_Box {} {
  252. xywh {200 10 80 20} resizable
  253. }
  254. Fl_Choice decl_choice {
  255. xywh {10 10 185 20} down_box BORDER_BOX labelsize 11 textsize 11
  256. } {
  257. MenuItem {} {
  258. label {in source file only}
  259. xywh {0 0 100 20} labelsize 11
  260. }
  261. MenuItem {} {
  262. label {in header file only}
  263. xywh {0 0 100 20} labelsize 11
  264. }
  265. MenuItem {} {
  266. label {"static" in source file}
  267. xywh {0 0 100 20} labelsize 11
  268. }
  269. MenuItem {} {
  270. label {in source and "extern" in header}
  271. xywh {0 0 100 20} labelsize 11
  272. }
  273. }
  274. Fl_Choice decl_class_choice {
  275. xywh {10 10 75 20} down_box BORDER_BOX labelsize 11 textsize 11
  276. } {
  277. MenuItem {} {
  278. label private
  279. xywh {10 10 100 20} labelsize 11
  280. }
  281. MenuItem {} {
  282. label public
  283. xywh {10 10 100 20} labelsize 11
  284. }
  285. MenuItem {} {
  286. label protected
  287. xywh {10 10 100 20} labelsize 11
  288. }
  289. }
  290. }
  291. Fl_Input decl_input {
  292. label {This can be any declaration, like "int x;", an external symbol like "extern int foo();", a \#directive like "\#include <foo.h>", a comment like "//foo" or "/*foo*/", or typedef like "typedef char byte;" or "using std::list;".}
  293. tooltip {Declaration text.} xywh {10 40 320 20} labelsize 11 align 134 when 0 textfont 4 textsize 11
  294. }
  295. Fl_Group {} {open
  296. xywh {10 205 320 20}
  297. } {
  298. Fl_Return_Button decl_panel_ok {
  299. label OK
  300. xywh {200 205 60 20} labelsize 11 hotspot
  301. }
  302. Fl_Button decl_panel_cancel {
  303. label Cancel
  304. xywh {270 205 60 20} shortcut 0xff1b labelsize 11
  305. }
  306. Fl_Box {} {
  307. xywh {10 205 185 20} resizable
  308. }
  309. }
  310. Fl_Text_Editor decl_comment_input {
  311. label {Comment:}
  312. tooltip {Declaration comment in Doxygen format} xywh {10 130 320 65} box DOWN_BOX labelfont 1 labelsize 11 align 5 textfont 4 textsize 11 resizable
  313. code0 {decl_comment_input->buffer(new Fl_Text_Buffer());}
  314. }
  315. }
  316. }
  317. Function {make_data_panel()} {open
  318. } {
  319. Fl_Window data_panel {
  320. label {Binary Data Properties} open
  321. xywh {414 355 343 237} type Double align 80 resizable size_range {343 237 0 0} visible
  322. } {
  323. Fl_Group {} {open
  324. xywh {10 10 270 20}
  325. } {
  326. Fl_Box {} {
  327. xywh {200 10 80 20} resizable
  328. }
  329. Fl_Choice data_choice {open
  330. xywh {10 10 185 20} down_box BORDER_BOX labelsize 11 textsize 11
  331. } {
  332. MenuItem {} {
  333. label {in source file only}
  334. xywh {0 0 100 20} labelsize 11
  335. }
  336. MenuItem {} {
  337. label {in header file only}
  338. xywh {0 0 100 20} labelsize 11 hide
  339. }
  340. MenuItem {} {
  341. label {"static" in source file}
  342. xywh {0 0 100 20} labelsize 11
  343. }
  344. MenuItem {} {
  345. label {in source and "extern" in header}
  346. xywh {0 0 100 20} labelsize 11
  347. }
  348. }
  349. Fl_Choice data_class_choice {open
  350. xywh {10 10 75 20} down_box BORDER_BOX labelsize 11 textsize 11
  351. } {
  352. MenuItem {} {
  353. label private
  354. xywh {10 10 100 20} labelsize 11
  355. }
  356. MenuItem {} {
  357. label public
  358. xywh {10 10 100 20} labelsize 11
  359. }
  360. MenuItem {} {
  361. label protected
  362. xywh {10 10 100 20} labelsize 11
  363. }
  364. }
  365. }
  366. Fl_Input data_input {
  367. label {Variable Name:}
  368. tooltip {Binary Data variables are declared "const unsigned char []".} xywh {10 52 320 20} labelfont 1 labelsize 11 align 133 when 0 textfont 4 textsize 11
  369. }
  370. Fl_Input data_filename {
  371. label {Filename:}
  372. tooltip {Name and path of binary file that will be included.} xywh {10 90 280 20} labelfont 1 labelsize 11 align 133 when 0 textfont 4 textsize 11
  373. }
  374. Fl_Button data_filebrowser {
  375. label {@fileopen}
  376. xywh {290 90 40 20} labelcolor 134
  377. }
  378. Fl_Group {} {open
  379. xywh {10 205 320 20}
  380. } {
  381. Fl_Return_Button data_panel_ok {
  382. label OK
  383. xywh {200 205 60 20} labelsize 11 hotspot
  384. }
  385. Fl_Button data_panel_cancel {
  386. label Cancel
  387. xywh {270 205 60 20} shortcut 0xff1b labelsize 11
  388. }
  389. Fl_Box {} {
  390. xywh {10 205 185 20} resizable
  391. }
  392. }
  393. Fl_Text_Editor data_comment_input {
  394. label {Comment:}
  395. tooltip {Declaration comment in Doxygen format} xywh {10 130 320 65} box DOWN_BOX labelfont 1 labelsize 11 align 5 textfont 4 textsize 11 resizable
  396. code0 {data_comment_input->buffer(new Fl_Text_Buffer());}
  397. }
  398. }
  399. }
  400. Function {make_class_panel()} {} {
  401. Fl_Window class_panel {
  402. label {Class Properties} open
  403. xywh {395 191 342 196} type Double labelsize 11 resizable modal size_range {343 188 0 0} visible
  404. } {
  405. Fl_Group {} {open
  406. xywh {10 10 280 20} hide
  407. } {
  408. Fl_Light_Button c_public_button {
  409. label public
  410. tooltip {Make the class publicly accessible.} xywh {10 10 60 20} labelsize 11 when 0 hide
  411. }
  412. Fl_Box {} {
  413. xywh {80 10 210 20} resizable
  414. }
  415. }
  416. Fl_Input c_name_input {
  417. label {Name:}
  418. tooltip {Name of class.} xywh {10 20 320 20} labelfont 1 labelsize 11 align 5 when 0 textfont 4 textsize 11
  419. }
  420. Fl_Input c_subclass_input {
  421. label {Subclass of (text between : and \{)}
  422. tooltip {Name of subclass.} xywh {10 55 320 20} labelfont 1 labelsize 11 align 5 when 0 textfont 4 textsize 11
  423. }
  424. Fl_Text_Editor c_comment_input {
  425. label {Comment:}
  426. tooltip {Class comment in Doxygen format} xywh {10 90 320 65} box DOWN_BOX labelfont 1 labelsize 11 align 5 textfont 4 textsize 11 resizable
  427. code0 {c_comment_input->buffer(new Fl_Text_Buffer());}
  428. }
  429. Fl_Group {} {open
  430. xywh {10 165 320 20}
  431. } {
  432. Fl_Return_Button c_panel_ok {
  433. label OK
  434. xywh {200 165 60 20} labelsize 11 hotspot
  435. }
  436. Fl_Button c_panel_cancel {
  437. label Cancel
  438. xywh {270 165 60 20} shortcut 0xff1b labelsize 11
  439. }
  440. Fl_Box {} {
  441. xywh {10 165 185 20} resizable
  442. }
  443. }
  444. }
  445. }
  446. Function {make_comment_panel()} {} {
  447. Fl_Window comment_panel {
  448. label {Comment Properties} open
  449. xywh {422 190 550 280} type Double labelsize 11 resizable
  450. code0 {o->size_range(320, 180);} modal visible
  451. } {
  452. Fl_Text_Editor comment_input {
  453. xywh {110 10 430 230} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable
  454. code0 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);}
  455. class CodeEditor
  456. }
  457. Fl_Group {} {open
  458. xywh {110 250 430 20} labelsize 11
  459. } {
  460. Fl_Return_Button comment_panel_ok {
  461. label OK
  462. xywh {370 250 80 20} labelsize 11 hotspot
  463. }
  464. Fl_Button comment_panel_cancel {
  465. label Cancel
  466. xywh {460 250 80 20} shortcut 0xff1b labelsize 11
  467. }
  468. Fl_Box {} {
  469. xywh {110 250 250 20} labelsize 11 resizable
  470. }
  471. }
  472. Fl_Group {} {open
  473. xywh {10 10 90 243} labelsize 11
  474. } {
  475. Fl_Light_Button comment_in_source {
  476. label {In Source}
  477. tooltip {Put the comment into the source (.cxx) file.} xywh {10 10 90 20} labelsize 11 when 0
  478. }
  479. Fl_Light_Button comment_in_header {
  480. label {In Header}
  481. tooltip {Put the comment into the header (.h) file.} xywh {10 40 90 20} labelsize 11 when 0
  482. }
  483. Fl_Menu_Button comment_predefined {
  484. label Predefined open
  485. xywh {10 70 90 20} labelsize 11 textsize 11
  486. } {}
  487. Fl_Button comment_load {
  488. label {Import...}
  489. xywh {10 100 90 20} labelsize 11
  490. }
  491. Fl_Box {} {
  492. xywh {10 132 90 121} labelsize 11 resizable
  493. }
  494. }
  495. }
  496. }
  497. Function {type_make_cb(Fl_Widget*,void*d)} {return_type void
  498. } {
  499. code {undo_checkpoint();
  500. Fl_Type *t = Fl_Type_make((char*)d);
  501. if (t) {
  502. select_only(t);
  503. set_modflag(1);
  504. t->open();
  505. } else {
  506. undo_current --;
  507. undo_last --;
  508. }} {}
  509. }
  510. Function {make_widgetbin()} {open
  511. } {
  512. Fl_Window widgetbin_panel {
  513. label {Widget Bin}
  514. callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
  515. exit_cb((Fl_Widget*)o, v);
  516. else
  517. toggle_widgetbin_cb((Fl_Widget*)o, v);} open
  518. xywh {410 171 574 85} type Single align 80 non_modal visible
  519. } {
  520. Fl_Group {} {
  521. xywh {3 3 79 79}
  522. } {
  523. Fl_Button {} {
  524. user_data {"Function"}
  525. callback type_make_cb
  526. tooltip Function xywh {5 5 24 24} box THIN_UP_BOX
  527. code0 {o->image(pixmap[7]);}
  528. }
  529. Fl_Button {} {
  530. user_data {"Class"}
  531. callback type_make_cb
  532. tooltip Class xywh {30 5 24 24} box THIN_UP_BOX
  533. code0 {o->image(pixmap[12]);}
  534. }
  535. Fl_Button {} {
  536. user_data {"comment"}
  537. callback type_make_cb
  538. tooltip Comment xywh {55 5 24 24} box THIN_UP_BOX
  539. code0 {o->image(pixmap[46]);}
  540. }
  541. Fl_Button {} {
  542. user_data {"Code"}
  543. callback type_make_cb
  544. tooltip Code xywh {5 30 24 24} box THIN_UP_BOX
  545. code0 {o->image(pixmap[8]);}
  546. }
  547. Fl_Button {} {
  548. user_data {"CodeBlock"}
  549. callback type_make_cb
  550. tooltip {Code Block} xywh {30 30 24 24} box THIN_UP_BOX
  551. code0 {o->image(pixmap[9]);}
  552. }
  553. Fl_Button {} {
  554. user_data {"widget_class"}
  555. callback type_make_cb
  556. tooltip {Widget Class} xywh {55 30 24 24} box THIN_UP_BOX
  557. code0 {o->image(pixmap[48]);}
  558. }
  559. Fl_Button {} {
  560. user_data {"decl"}
  561. callback type_make_cb
  562. tooltip Declaration xywh {5 55 24 24} box THIN_UP_BOX
  563. code0 {o->image(pixmap[10]);}
  564. }
  565. Fl_Button {} {
  566. user_data {"declblock"}
  567. callback type_make_cb
  568. tooltip {Declaration Block} xywh {30 55 24 24} box THIN_UP_BOX
  569. code0 {o->image(pixmap[11]);}
  570. }
  571. Fl_Button {} {
  572. user_data {"data"}
  573. callback type_make_cb
  574. tooltip {Binary Data} xywh {55 55 24 24} box THIN_UP_BOX
  575. code0 {o->image(pixmap[49]);}
  576. }
  577. }
  578. Fl_Group {} {
  579. xywh {87 3 79 79}
  580. } {
  581. Fl_Button {} {
  582. user_data {"Fl_Window"}
  583. callback type_make_cb
  584. tooltip Window xywh {89 5 24 24} box THIN_UP_BOX
  585. code0 {o->image(pixmap[1]);}
  586. }
  587. Fl_Button {} {
  588. user_data {"Fl_Group"}
  589. callback type_make_cb
  590. tooltip Group xywh {114 5 24 24} box THIN_UP_BOX
  591. code0 {o->image(pixmap[6]);}
  592. }
  593. Fl_Button {} {
  594. user_data {"Fl_Pack"}
  595. callback type_make_cb
  596. tooltip Pack xywh {139 5 24 24} box THIN_UP_BOX
  597. code0 {o->image(pixmap[22]);}
  598. }
  599. Fl_Button {} {
  600. user_data {"Fl_Tabs"}
  601. callback type_make_cb
  602. tooltip Tabs xywh {89 30 24 24} box THIN_UP_BOX
  603. code0 {o->image(pixmap[13]);}
  604. }
  605. Fl_Button {} {
  606. user_data {"Fl_Scroll"}
  607. callback type_make_cb
  608. tooltip Scroll xywh {114 30 24 24} box THIN_UP_BOX
  609. code0 {o->image(pixmap[19]);}
  610. }
  611. Fl_Button {} {
  612. user_data {"Fl_Table"}
  613. callback type_make_cb
  614. tooltip Table xywh {139 30 24 24} box THIN_UP_BOX
  615. code0 {o->image(pixmap[51]);}
  616. }
  617. Fl_Button {} {
  618. user_data {"Fl_Tile"}
  619. callback type_make_cb
  620. tooltip Tile xywh {89 55 24 24} box THIN_UP_BOX
  621. code0 {o->image(pixmap[20]);}
  622. }
  623. Fl_Button {} {
  624. user_data {"Fl_Wizard"}
  625. callback type_make_cb
  626. tooltip Wizard xywh {114 55 24 24} box THIN_UP_BOX
  627. code0 {o->image(pixmap[21]);}
  628. }
  629. }
  630. Fl_Group {} {
  631. xywh {171 3 54 79}
  632. } {
  633. Fl_Button {} {
  634. user_data {"Fl_Button"}
  635. callback type_make_cb
  636. tooltip Button xywh {173 5 24 24} box THIN_UP_BOX
  637. code0 {o->image(pixmap[2]);}
  638. }
  639. Fl_Button {} {
  640. user_data {"Fl_Return_Button"}
  641. callback type_make_cb
  642. tooltip {Return Button} xywh {198 5 24 24} box THIN_UP_BOX
  643. code0 {o->image(pixmap[23]);}
  644. }
  645. Fl_Button {} {
  646. user_data {"Fl_Light_Button"}
  647. callback type_make_cb
  648. tooltip {Light Button} xywh {173 30 24 24} box THIN_UP_BOX
  649. code0 {o->image(pixmap[24]);}
  650. }
  651. Fl_Button {} {
  652. user_data {"Fl_Repeat_Button"}
  653. callback type_make_cb
  654. tooltip {Repeat Button} xywh {198 30 24 24} box THIN_UP_BOX
  655. code0 {o->image(pixmap[25]);}
  656. }
  657. Fl_Button {} {
  658. user_data {"Fl_Check_Button"}
  659. callback type_make_cb
  660. tooltip {Check Button} xywh {173 55 24 24} box THIN_UP_BOX
  661. code0 {o->image(pixmap[3]);}
  662. }
  663. Fl_Button {} {
  664. user_data {"Fl_Round_Button"}
  665. callback type_make_cb
  666. tooltip {Round Button} xywh {198 55 24 24} box THIN_UP_BOX
  667. code0 {o->image(pixmap[4]);}
  668. }
  669. }
  670. Fl_Group {} {
  671. xywh {230 3 104 79}
  672. } {
  673. Fl_Button {} {
  674. user_data {"Fl_Slider"}
  675. callback type_make_cb
  676. tooltip Slider xywh {232 5 24 24} box THIN_UP_BOX
  677. code0 {o->image(pixmap[37]);}
  678. }
  679. Fl_Button {} {
  680. user_data {"Fl_Scrollbar"}
  681. callback type_make_cb
  682. tooltip {Scroll Bar} xywh {257 5 24 24} box THIN_UP_BOX
  683. code0 {o->image(pixmap[38]);}
  684. }
  685. Fl_Button {} {
  686. user_data {"Fl_Value_Slider"}
  687. callback type_make_cb
  688. tooltip {Value Slider} xywh {282 5 24 24} box THIN_UP_BOX
  689. code0 {o->image(pixmap[39]);}
  690. }
  691. Fl_Button {} {
  692. user_data {"Fl_Value_Output"}
  693. callback type_make_cb
  694. tooltip {Value Output} xywh {307 5 24 24} box THIN_UP_BOX
  695. code0 {o->image(pixmap[45]);}
  696. }
  697. Fl_Button {} {
  698. user_data {"Fl_Adjuster"}
  699. callback type_make_cb
  700. tooltip Adjuster xywh {232 30 24 24} box THIN_UP_BOX
  701. code0 {o->image(pixmap[40]);}
  702. }
  703. Fl_Button {} {
  704. user_data {"Fl_Counter"}
  705. callback type_make_cb
  706. tooltip Counter xywh {257 30 24 24} box THIN_UP_BOX
  707. code0 {o->image(pixmap[41]);}
  708. }
  709. Fl_Button {} {
  710. user_data {"Fl_Dial"}
  711. callback type_make_cb
  712. tooltip Dial xywh {282 30 24 24} box THIN_UP_BOX
  713. code0 {o->image(pixmap[42]);}
  714. }
  715. Fl_Button {} {
  716. user_data {"Fl_Roller"}
  717. callback type_make_cb
  718. tooltip Roller xywh {232 55 24 24} box THIN_UP_BOX
  719. code0 {o->image(pixmap[43]);}
  720. }
  721. Fl_Button {} {
  722. user_data {"Fl_Spinner"}
  723. callback type_make_cb
  724. tooltip Spinner xywh {257 55 24 24} box THIN_UP_BOX
  725. code0 {o->image(pixmap[47]);}
  726. }
  727. Fl_Button {} {
  728. user_data {"Fl_Value_Input"}
  729. callback type_make_cb
  730. tooltip {Value Input} xywh {282 55 24 24} box THIN_UP_BOX
  731. code0 {o->image(pixmap[44]);}
  732. }
  733. }
  734. Fl_Group {} {
  735. xywh {339 3 54 79}
  736. } {
  737. Fl_Button {} {
  738. user_data {"Fl_Input"}
  739. callback type_make_cb
  740. tooltip Input xywh {341 5 24 24} box THIN_UP_BOX
  741. code0 {o->image(pixmap[14]);}
  742. }
  743. Fl_Button {} {
  744. user_data {"Fl_Output"}
  745. callback type_make_cb
  746. tooltip Output xywh {366 5 24 24} box THIN_UP_BOX
  747. code0 {o->image(pixmap[27]);}
  748. }
  749. Fl_Button {} {
  750. user_data {"Fl_Text_Editor"}
  751. callback type_make_cb
  752. tooltip {Text Edit} xywh {341 30 24 24} box THIN_UP_BOX
  753. code0 {o->image(pixmap[29]);}
  754. }
  755. Fl_Button {} {
  756. user_data {"Fl_Text_Display"}
  757. callback type_make_cb
  758. tooltip {Text Display} xywh {366 30 24 24} box THIN_UP_BOX
  759. code0 {o->image(pixmap[28]);}
  760. }
  761. Fl_Button {} {
  762. user_data {"Fl_File_Input"}
  763. callback type_make_cb
  764. tooltip {File Input} xywh {341 55 24 24} box THIN_UP_BOX
  765. code0 {o->image(pixmap[30]);}
  766. }
  767. }
  768. Fl_Group {} {
  769. xywh {398 3 54 79}
  770. } {
  771. Fl_Button {} {
  772. user_data {"Fl_Menu_Bar"}
  773. callback type_make_cb
  774. tooltip {Menu Bar} xywh {400 5 24 24} box THIN_UP_BOX
  775. code0 {o->image(pixmap[17]);}
  776. }
  777. Fl_Button {} {
  778. user_data {"Fl_Input_Choice"}
  779. callback type_make_cb
  780. tooltip {Input Choice} xywh {425 5 24 24} box THIN_UP_BOX
  781. code0 {o->image(pixmap[15]);}
  782. }
  783. Fl_Button {} {
  784. user_data {"Fl_Menu_Button"}
  785. callback type_make_cb
  786. tooltip {Menu Button} xywh {400 30 24 24} box THIN_UP_BOX
  787. code0 {o->image(pixmap[26]);}
  788. }
  789. Fl_Button {} {
  790. user_data {"menuitem"}
  791. callback type_make_cb
  792. tooltip {Menu Item} xywh {425 30 24 24} box THIN_UP_BOX
  793. code0 {o->image(pixmap[16]);}
  794. }
  795. Fl_Button {} {
  796. user_data {"Fl_Choice"}
  797. callback type_make_cb
  798. tooltip Choice xywh {400 55 24 24} box THIN_UP_BOX
  799. code0 {o->image(pixmap[15]);}
  800. }
  801. Fl_Button {} {
  802. user_data {"submenu"}
  803. callback type_make_cb
  804. tooltip {Sub Menu} xywh {425 55 24 24} box THIN_UP_BOX
  805. code0 {o->image(pixmap[18]);}
  806. }
  807. }
  808. Fl_Group {} {
  809. xywh {457 3 54 79}
  810. } {
  811. Fl_Button {} {
  812. user_data {"Fl_Browser"}
  813. callback type_make_cb
  814. tooltip Browser xywh {459 5 24 24} box THIN_UP_BOX
  815. code0 {o->image(pixmap[31]);}
  816. }
  817. Fl_Button {} {
  818. user_data {"Fl_Tree"}
  819. callback type_make_cb selected
  820. tooltip Tree xywh {484 5 24 24} box THIN_UP_BOX
  821. code0 {o->image(pixmap[50]);}
  822. }
  823. Fl_Button {} {
  824. user_data {"Fl_Check_Browser"}
  825. callback type_make_cb
  826. tooltip {Check Browser} xywh {459 30 24 24} box THIN_UP_BOX
  827. code0 {o->image(pixmap[32]);}
  828. }
  829. Fl_Button {} {
  830. user_data {"Fl_File_Browser"}
  831. callback type_make_cb
  832. tooltip {File Browser} xywh {459 55 24 24} box THIN_UP_BOX
  833. code0 {o->image(pixmap[33]);}
  834. }
  835. }
  836. Fl_Group {} {
  837. xywh {515 3 55 79}
  838. } {
  839. Fl_Button {} {
  840. user_data {"Fl_Box"}
  841. callback type_make_cb
  842. tooltip Box xywh {517 5 24 24} box THIN_UP_BOX
  843. code0 {o->image(pixmap[5]);}
  844. }
  845. Fl_Button {} {
  846. user_data {"Fl_Help_View"}
  847. callback type_make_cb
  848. tooltip {Help Browser} xywh {517 30 24 24} box THIN_UP_BOX
  849. code0 {o->image(pixmap[35]);}
  850. }
  851. Fl_Button {} {
  852. user_data {"Fl_Progress"}
  853. callback type_make_cb
  854. tooltip Progress xywh {517 55 24 24} box THIN_UP_BOX
  855. code0 {o->image(pixmap[36]);}
  856. }
  857. }
  858. }
  859. }
  860. Function {make_sourceview()} {} {
  861. Fl_Window sourceview_panel {
  862. label {Code View}
  863. callback toggle_sourceview_cb
  864. xywh {430 273 520 490} type Double align 80 resizable size_range {384 120 0 0} visible
  865. } {
  866. Fl_Tabs sv_tab {
  867. callback update_sourceview_position_cb
  868. xywh {10 10 500 440} selection_color 4 labelcolor 7 resizable
  869. } {
  870. Fl_Group {} {
  871. label Source open
  872. xywh {10 35 500 415} labelsize 13 hide resizable
  873. } {
  874. Fl_Text_Editor sv_source {
  875. xywh {20 50 480 390} textfont 4 textsize 11 resizable
  876. code0 {\#include "CodeEditor.h"}
  877. class CodeViewer
  878. }
  879. }
  880. Fl_Group {} {
  881. label Header open
  882. xywh {10 35 500 415} labelsize 13
  883. } {
  884. Fl_Text_Editor sv_header {
  885. xywh {20 50 480 390} textfont 4 textsize 11 resizable
  886. code0 {\#include "CodeEditor.h"}
  887. class CodeViewer
  888. }
  889. }
  890. }
  891. Fl_Group {} {
  892. xywh {10 460 500 20}
  893. } {
  894. Fl_Button {} {
  895. label Refresh
  896. callback update_sourceview_cb
  897. xywh {10 460 61 20} labelsize 11
  898. }
  899. Fl_Light_Button sv_autorefresh {
  900. label {Auto-Refresh}
  901. xywh {76 460 91 20} labelsize 11
  902. code0 {o->callback((Fl_Callback*)update_sourceview_cb);}
  903. }
  904. Fl_Light_Button sv_autoposition {
  905. label {Auto-Position}
  906. xywh {172 460 89 20} labelsize 11
  907. }
  908. Fl_Button {} {
  909. label Close
  910. callback toggle_sourceview_b_cb
  911. xywh {460 460 50 20} labelsize 11
  912. }
  913. Fl_Box {} {
  914. xywh {265 460 190 20} resizable
  915. }
  916. }
  917. }
  918. }
  919. comment {
  920. //
  921. // End of "$Id: function_panel.fl 8172 2011-01-03 08:28:38Z matt $".
  922. //} {in_source in_header
  923. }