1 # data file for the Fltk User Interface Designer (fluid)
8 Function {create_mainwindow()} {} {
11 callback {interrupt_computer = 1;
13 xywh {591 625 620 420} type Double color 44 hide resizable
14 code0 {extern int stop_program;}
16 Fl_Menu_Bar menubar {open
21 xywh {0 0 100 20} labelfont 1
27 menuitem menu_loadgame {
31 menuitem menu_savegame {
35 menuitem menu_savelog {
41 xywh {0 0 100 20} divider
50 xywh {0 0 100 20} labelfont 1
54 xywh {0 0 100 20} divider
60 menuitem menu_compumove {
62 xywh {20 20 100 20} divider
68 menuitem menu_restore {
70 xywh {40 40 100 20} divider
72 menuitem menu_loadboard {
76 menuitem menu_saveboard {
78 xywh {60 60 100 20} divider
80 menuitem menu_makedrawing {
87 xywh {0 0 100 20} labelfont 1
91 xywh {0 0 100 20} labelfont 1
95 xywh {0 0 100 20} divider
104 label {the gameboard}
105 xywh {80 40 300 320} box BORDER_FRAME color 0
106 code0 {\#include "fl_board.h"}
111 xywh {10 40 70 320} box BORDER_BOX align 17
113 Fl_Output whitename {
114 xywh {10 40 70 20} box UP_BOX selection_color 47 textfont 1
116 Fl_Output whitetimer {
117 xywh {10 60 70 20} box BORDER_BOX textfont 4
119 Fl_Output lostwhite {
120 xywh {10 340 70 20} box BORDER_BOX selection_color 47
122 Fl_Output whitepieces {
123 xywh {30 310 30 20} align 0 textfont 1
127 xywh {10 80 70 230} align 128 resizable
128 code0 {\#include "fl_pile.h"}
134 xywh {380 40 70 320} box BORDER_BOX align 17
136 Fl_Output blackname {
137 xywh {380 40 70 20} box UP_BOX selection_color 47 textfont 1
139 Fl_Output blacktimer {
140 xywh {380 60 70 20} box BORDER_BOX textfont 4
142 Fl_Output lostblack {
143 xywh {380 340 70 20} box BORDER_BOX selection_color 47
145 Fl_Output blackpieces {
146 xywh {400 310 30 20} align 0 textfont 1
150 xywh {380 80 70 230} align 128 resizable
151 code0 {\#include "fl_pile.h"}
155 Fl_Browser logbrowser {
157 xywh {460 50 150 300} labelfont 1 align 1
159 Fl_Group interfacegroup1 {open
162 Fl_Counter count_lostwhite {
164 xywh {160 370 70 20} type Simple labelfont 1 align 132 step 1
165 code0 {o->range(0,18);}
167 Fl_Counter count_lostblack {
169 xywh {160 390 70 20} type Simple labelfont 1 align 132 step 1
170 code0 {o->range(0,18);}
174 xywh {190 380 30 20} labelfont 1
176 Fl_Output text_from {
178 xywh {130 380 30 20} labelfont 1
181 xywh {10 370 10 40} resizable
184 Fl_Group interfacegroup2 {open
185 xywh {240 370 210 40}
188 xywh {440 370 10 40} resizable
190 Fl_Return_Button button_execute {
192 xywh {240 370 120 40} align 128
194 Fl_Choice choice_piecetype {
195 label {Piece type:} open
196 xywh {240 380 120 30} labelfont 1 align 1 textfont 1
198 menuitem choice_white {
202 menuitem choice_whitegipf {
204 xywh {10 10 100 20} divider
206 menuitem choice_black {
210 menuitem choice_blackgipf {
217 label {gipflogo_small5.xpm}
218 xywh {490 360 100 50} box THIN_UP_BOX labeltype image
220 Fl_Menu_Button menu_piecetype {open
221 xywh {80 40 300 320} box NO_BOX resizable
223 menuitem menu_white {
227 menuitem menu_whitegipf {
229 xywh {20 20 100 20} divider
231 menuitem menu_black {
235 menuitem menu_blackgipf {
243 Function {make_newwindow()} {} {
245 label {New game} open
246 xywh {466 400 479 374} hide modal
250 xywh {160 10 160 40} box ROUND_DOWN_BOX hotspot
253 label {Game type:} open
254 xywh {100 60 130 70} labelfont 1 align 4
256 Fl_Check_Button radio_basic {
258 xywh {110 60 80 30} type Radio down_box DIAMOND_DOWN_BOX
260 Fl_Check_Button radio_standard {
262 xywh {110 80 90 30} type Radio down_box DIAMOND_DOWN_BOX
264 Fl_Check_Button radio_tournament {
266 xywh {110 100 120 30} type Radio down_box DIAMOND_DOWN_BOX
271 xywh {10 160 220 140} box THIN_DOWN_BOX labelfont 1 align 5
273 Fl_Check_Button radio_whuman {
275 xywh {20 170 100 30} type Radio down_box DIAMOND_DOWN_BOX
277 Fl_Check_Button radio_wcompu {
279 xywh {110 170 100 30} type Radio down_box DIAMOND_DOWN_BOX
281 Fl_Input whiteplayername {
284 code0 {o->value ("White");}
286 Fl_Counter whitetime {
288 xywh {60 256 150 24} align 4 minimum 1 maximum 120 step 1 value 20
289 code0 {o->lstep (10);}
294 xywh {250 160 220 140} box THIN_DOWN_BOX labelfont 1 align 5
296 Fl_Check_Button radio_bhuman {
298 xywh {260 170 90 30} type Radio down_box DIAMOND_DOWN_BOX
300 Fl_Check_Button radio_bcompu {
302 xywh {350 170 90 30} type Radio down_box DIAMOND_DOWN_BOX
304 Fl_Input blackplayername {
307 code0 {o->value ("Black");}
309 Fl_Counter blacktime {
311 xywh {300 256 150 24} align 4 minimum 1 maximum 120 step 1 value 20
312 code0 {o->lstep (10);}
315 Fl_Return_Button new_ok {
317 xywh {120 324 100 36}
319 Fl_Button new_cancel {
321 xywh {260 324 100 36}
323 Fl_Check_Button toggle_timedgame {
325 xywh {380 80 30 30} down_box ROUND_DOWN_BOX labelfont 1 align 4
330 Function {make_questionwindow()} {} {
332 label {Question?} open
333 xywh {432 146 460 90} hide modal
337 xywh {0 0 60 90} labeltype image
339 Fl_Button button_qyes {
341 xywh {140 50 90 30} hotspot
343 Fl_Button button_qno {
348 label {Player xxxxx, do you want to remove}
349 xywh {80 0 370 20} labelfont 1
352 label {the row from xx to xx ?}
353 xywh {80 20 370 20} labelfont 1
358 Function {make_setupwindow()} {} {
359 Fl_Window setupwindow {
361 xywh {22 511 370 400} hide modal
364 label {Computer strength:} open
365 xywh {160 70 200 90} box THIN_DOWN_BOX labelfont 1 align 4
367 Fl_Check_Button level2 {
369 xywh {170 90 90 30} type Radio down_box DIAMOND_DOWN_BOX
371 Fl_Check_Button level3 {
373 xywh {170 110 90 30} type Radio down_box DIAMOND_DOWN_BOX
375 Fl_Check_Button level5 {
377 xywh {270 70 80 30} type Radio down_box DIAMOND_DOWN_BOX
379 Fl_Check_Button level4 {
381 xywh {170 130 80 30} type Radio down_box DIAMOND_DOWN_BOX
383 Fl_Check_Button level6 {
385 xywh {270 90 80 30} type Radio down_box DIAMOND_DOWN_BOX
387 Fl_Check_Button level1 {
389 xywh {170 70 100 30} type Radio down_box DIAMOND_DOWN_BOX
391 Fl_Check_Button level7 {
393 xywh {270 110 80 30} type Radio down_box DIAMOND_DOWN_BOX
395 Fl_Check_Button level8 {
397 xywh {270 130 80 30} type Radio down_box DIAMOND_DOWN_BOX
401 label {Move animation:} open
402 xywh {160 170 200 50} box THIN_DOWN_BOX labelfont 1 align 4
404 Fl_Check_Button ani_none {
406 xywh {170 170 100 30} type Radio down_box DIAMOND_DOWN_BOX
408 Fl_Check_Button ani_slow {
410 xywh {170 190 90 30} type Radio down_box DIAMOND_DOWN_BOX
412 Fl_Check_Button ani_medium {
414 xywh {270 170 80 30} type Radio down_box DIAMOND_DOWN_BOX
416 Fl_Check_Button ani_fast {
418 xywh {270 190 80 30} type Radio down_box DIAMOND_DOWN_BOX
421 Fl_Value_Slider slider_computer {
422 label {Wait before computer move (seconds):}
423 xywh {220 237 140 23} type {Horz Knob} labelfont 1 align 132 maximum 10 step 1 value 2
425 Fl_Value_Slider slider_remove {
426 label {Wait before removing a row/gipf (seconds):}
427 xywh {220 277 140 23} type {Horz Knob} labelfont 1 align 132 maximum 10 step 1 value 3
429 Fl_Return_Button setup_ok {
433 Fl_Button setup_cancel {
435 xywh {210 350 110 40}
439 xywh {110 10 160 40} box ROUND_DOWN_BOX hotspot
441 Fl_Round_Button check_posname {
442 label {Show position names}
443 xywh {330 310 30 30} down_box ROUND_DOWN_BOX labelfont 1 align 4
448 Function {make_thinkwindow()} {} {
450 label {Stop thinking} open
451 xywh {420 828 110 160} hide modal
454 label {thinking2.xpm}
455 xywh {10 10 90 90} box UP_FRAME labeltype image
458 label {Stop thinking}
459 callback stop_thinking
460 xywh {10 110 90 40} labelfont 1 align 128
461 code0 {\#include "callbacks.h"}
466 Function {make_helpwindow()} {} {
468 label {GF1 help} open
469 xywh {448 309 550 420} type Double hide resizable
474 Fl_Return_Button {} {
476 callback {o->window()->hide();}
480 label {gipflogo_small5.xpm}
481 xywh {440 370 100 50} box THIN_UP_BOX labeltype image
485 xywh {200 370 30 50} labeltype NO_LABEL resizable
489 xywh {10 10 530 360} resizable
491 Fl_Browser browser_help {
492 xywh {10 100 530 270}
494 Fl_Browser browser_sections {
495 callback {showhelpsection ();}
496 xywh {10 10 530 90} type Hold hotspot
502 Function {make_startwindow()} {} {
504 label {Start game from an edited gameboard} open
505 xywh {383 291 480 340} hide
508 label {Start game from an edited gameboard}
509 xywh {100 10 280 40} box ROUND_DOWN_BOX hotspot
512 label {First player:} open
513 xywh {230 60 130 50} labelfont 1 align 4
515 Fl_Check_Button radio_white {
517 xywh {240 60 80 30} type Radio down_box DIAMOND_DOWN_BOX
519 Fl_Check_Button radio_black {
521 xywh {240 80 90 30} type Radio down_box DIAMOND_DOWN_BOX
526 xywh {10 140 220 130} box THIN_DOWN_BOX labelfont 1 align 5
528 Fl_Check_Button radio_s_whuman {
530 xywh {20 150 100 30} type Radio down_box DIAMOND_DOWN_BOX
532 Fl_Check_Button radio_s_wcompu {
534 xywh {110 150 100 30} type Radio down_box DIAMOND_DOWN_BOX
536 Fl_Input s_whiteplayername {
539 code0 {o->value ("White");}
541 Fl_Round_Button toggle_s_whitegipf {
542 label {Add GIPF possible:}
543 xywh {180 230 30 30} down_box ROUND_DOWN_BOX align 4
548 xywh {250 140 220 130} box THIN_DOWN_BOX labelfont 1 align 5
550 Fl_Check_Button radio_s_bhuman {
552 xywh {260 150 90 30} type Radio down_box DIAMOND_DOWN_BOX
554 Fl_Check_Button radio_s_bcompu {
556 xywh {350 150 90 30} type Radio down_box DIAMOND_DOWN_BOX
558 Fl_Input s_blackplayername {
561 code0 {o->value ("Black");}
563 Fl_Round_Button toggle_s_blackgipf {
564 label {Add GIPF possible:}
565 xywh {420 230 30 30} down_box ROUND_DOWN_BOX align 4
568 Fl_Return_Button start_ok {
570 xywh {120 294 100 36}
572 Fl_Button start_cancel {
574 xywh {260 294 100 36}
579 Function {make_onemovewindow()} {} {
581 label {Computer move} open
582 xywh {272 736 320 310} hide
585 label {Computer move}
586 xywh {90 10 140 40} box ROUND_DOWN_BOX
590 xywh {30 80 90 50} box THIN_DOWN_FRAME labelfont 1 align 5
592 Fl_Check_Button radio_c_white {
594 xywh {40 80 70 30} type Radio down_box DIAMOND_DOWN_BOX
596 Fl_Check_Button radio_c_black {
598 xywh {40 100 70 30} type Radio down_box DIAMOND_DOWN_BOX
602 label {Strength:} open
603 xywh {190 80 100 170} box THIN_DOWN_FRAME labelfont 1 align 5
605 Fl_Check_Button c_level1 {
607 xywh {200 80 80 30} type Radio down_box DIAMOND_DOWN_BOX
609 Fl_Check_Button c_level2 {
611 xywh {200 100 80 30} type Radio down_box DIAMOND_DOWN_BOX
613 Fl_Check_Button c_level3 {
615 xywh {200 120 80 30} type Radio down_box DIAMOND_DOWN_BOX
617 Fl_Check_Button c_level4 {
619 xywh {200 140 80 30} type Radio down_box DIAMOND_DOWN_BOX
621 Fl_Check_Button c_level5 {
623 xywh {200 160 80 30} type Radio down_box DIAMOND_DOWN_BOX
625 Fl_Check_Button c_level6 {
627 xywh {200 180 80 30} type Radio down_box DIAMOND_DOWN_BOX
629 Fl_Check_Button c_level7 {
631 xywh {200 200 80 30} type Radio down_box DIAMOND_DOWN_BOX
633 Fl_Check_Button c_level8 {
635 xywh {200 220 80 30} type Radio down_box DIAMOND_DOWN_BOX
638 Fl_Return_Button one_ok {
642 Fl_Button one_cancel {
644 xywh {180 264 100 36}
649 Function {make_gifwindow()} {} {
651 label {Make drawing} open
652 xywh {492 152 361 341} hide
656 xywh {100 10 160 40} box ROUND_DOWN_BOX
658 Fl_Input gif_filename {
660 xywh {90 70 160 30} labelfont 1
662 Fl_Button gif_choose {
664 xywh {260 70 80 30} labelfont 1
666 Fl_Value_Slider gif_size {
668 xywh {60 120 280 30} type {Horz Knob} labelfont 1 align 4 minimum 100 maximum 800 step 10 value 300
670 Fl_Input gif_extratext {
672 xywh {20 220 320 60} type Multiline labelfont 1 align 5
674 Fl_Return_Button gif_ok {
678 Fl_Button gif_cancel {
680 xywh {210 290 110 40}
683 xywh {20 160 320 30} box THIN_DOWN_FRAME
685 Fl_Check_Button gif_colour {
687 xywh {30 160 30 30} type Radio down_box DIAMOND_DOWN_BOX labelfont 1
689 Fl_Check_Button gif_bw {
691 xywh {170 160 30 30} type Radio down_box DIAMOND_DOWN_BOX labelfont 1
697 Function {make_questionsavewindow()} {} {
699 label {QuestionSave?} open
700 xywh {432 265 460 90} hide modal
704 xywh {0 0 60 90} labeltype image
706 Fl_Button button_qsyes {
708 xywh {70 50 90 30} hotspot
710 Fl_Button button_qsno {
715 label {Player xxxxx, do you want to remove}
716 xywh {80 0 370 20} labelfont 1
719 label {the row from xx to xx ?}
720 xywh {80 20 370 20} labelfont 1
722 Fl_Button button_qssave {
724 xywh {360 50 90 30} labelfont 2
729 Function {make_aboutwindow()} {open
732 label {Gipf for One} open
733 xywh {162 442 400 380} color 8 hide
735 Fl_Button about_hiddenbutton {
736 callback {remove_about ((void *) o->parent());}
737 xywh {0 0 400 380} box NO_BOX shortcut 0xff0d
738 code0 {\#include "callbacks.h"}
742 code0 {o->value (tab_image);}
745 label {Gipf for One} open
746 xywh {10 30 380 340} hide
750 xywh {20 35 360 235} labeltype image
752 Fl_Box box_versiontext {
753 label {Gipf for one v x.xx}
754 xywh {20 280 360 30} box THIN_DOWN_FRAME labeltype EMBOSSED_LABEL hotspot
757 label {(c) 1998-2000, Kurt Van den Branden}
758 xywh {20 320 360 20} labelfont 2
761 label {kurtvdb@village.uunet.be}
762 xywh {20 340 360 20} box FLAT_BOX labelfont 2
765 Fl_Group tab_license {
767 xywh {10 30 380 340} hide
770 label {Public License as published by the Free Software}
771 xywh {20 90 350 20} align 20
774 label {Foudation; either version 2 of the License, or (at your}
775 xywh {20 110 350 20} align 20
778 label {option) any later version.}
779 xywh {20 130 350 20} align 20
782 label {for details, see the COPYING.txt file.}
783 xywh {20 320 350 20} labelfont 2 align 20
786 label {This program is free software; you can redistribute it}
787 xywh {20 50 350 20} align 20
790 label {and/or modify it under the terms of the GNU General}
791 xywh {20 70 350 20} align 20
794 label {This program is distributed in the hope that it will be}
795 xywh {20 170 350 20} align 20
798 label {useful, but WITHOUT ANY WARRANTY: without even}
799 xywh {20 190 350 20} align 20
802 label {the implied warranty of MERCHANTABILITY or}
803 xywh {20 210 350 20} align 20
806 label {FITNESS FOR A PARTICULAR PURPOSE. See the}
807 xywh {20 230 350 20} align 20
810 label {GNU General Public License for more details.}
811 xywh {20 250 350 20} align 20
815 label Acknowledgements open selected
819 label {This program wouldn't have been possible without}
820 xywh {20 40 360 30} align 20
823 label {these other pieces of fine software.}
824 xywh {20 60 350 30} align 20
827 label {- The FLTK GUI library}
828 xywh {30 90 330 30} labelfont 1 align 20
831 label {- the GD image creation library}
832 xywh {30 130 330 30} labelfont 1 align 20
836 xywh {30 170 330 30} labelfont 1 align 20
840 xywh {30 210 330 30} labelfont 1 align 20
843 label {- the FileChooser widget}
844 xywh {30 250 330 30} labelfont 1 align 20
847 label {(c) Bill Spitzak and others}
848 xywh {70 110 240 20} align 20
851 label {(c) Thomas Boutell and others}
852 xywh {70 150 240 20} align 20
855 label {(c) the png-group}
856 xywh {70 190 250 20} align 20
859 label {(c) Jean-loup Gailly and Mark Adler}
860 xywh {70 230 250 20} align 20
863 label {(c) Michael Sweet}
864 xywh {70 270 250 20} align 20
867 Fl_Group tab_postcard {
868 label {Send me a postcard} open
869 xywh {10 30 380 340} labelfont 1 hide
872 label {Please send me a (paper) postcard if you like GF1.}
873 xywh {20 40 360 30} labelfont 1 align 20
876 label {This will show to me that people appreciate the work I}
877 xywh {20 80 360 30} align 20
880 xywh {110 160 180 90} box UP_BOX color 55 labelcolor 7
883 label {Kurt Van den Branden}
884 xywh {120 160 170 30} align 20
887 label {Heiveldstraat 72}
888 xywh {120 180 170 30} align 20
891 label {B-9120 Beveren}
892 xywh {120 200 170 30} align 20
896 xywh {120 220 170 30} align 20
900 label {PS: If you really like GF1,}
901 xywh {30 310 340 30} labelfont 2 align 20
904 label { you can also send me money ;-)}
905 xywh {30 330 340 30} labelfont 2 align 20
909 xywh {20 100 350 30} align 20