Skip to content
Snippets Groups Projects
partipanel.fl 9.14 KiB
Newer Older
teuben's avatar
teuben committed
# data file for the Fltk User Interface Designer (fluid)
slevy's avatar
 
slevy committed
version 1.0009 
slevy's avatar
 
slevy committed
header_name {partipanel.H} 
code_name {partipanel.cc} 
teuben's avatar
teuben committed
gridx 5 
gridy 5 
snap 3
decl {\#include "partiview.H"} {} 

Function {make_window()} {open
} {
  Fl_Window Mainwin {open
slevy's avatar
 
slevy committed
    xywh {380 78 385 445} box DOWN_BOX color 96 resizable visible
teuben's avatar
teuben committed
  } {
    Fl_Pack {} {open
slevy's avatar
 
slevy committed
      xywh {0 0 385 445} color 96 resizable
teuben's avatar
teuben committed
      code0 {o->spacing(0);}
    } {
      Fl_Group {ppui.toprow} {open
        xywh {0 0 385 35}
      } {
        Fl_Menu_Button {ppui.more} {
          label More
          xywh {0 0 30 20} color 35 labelsize 12 labelcolor 3 align 2
        } {
          menuitem anim {
            label item
            xywh {30 30 100 20} labelcolor 3
          }
        }
slevy's avatar
 
slevy committed
        Fl_Group {} {
teuben's avatar
teuben committed
          xywh {30 0 30 35} box FLAT_BOX color 96
        } {
          Fl_Menu_Button {ppui.obj} {
            label {[gN]}
            callback pp_obj_cb open
            xywh {35 0 25 20} color 35 labelsize 12 labelcolor 3 align 2
          } {}
        }
        Fl_Group {} {open
          xywh {60 0 40 35} box FLAT_BOX color 96
        } {
          Fl_Menu_Button {ppui.nav} {
            label {Navi  }
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback pp_nav_cb open
            xywh {65 0 32 20} color 35 labelsize 12 labelcolor 3 align 2 textsize 12
          } {}
        }
        Fl_Group {ppui.objgroup} {
          xywh {100 0 285 35} resizable
        } {
          Fl_Light_Button {ppui.point} {
            label {point }
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback {specks_commandfmt( &ppui.st, 
	"points %d", o->value());}
            xywh {108 0 20 20} color 35 selection_color 2 labelsize 12 labelcolor 3 align 2 when 1
          }
          Fl_Light_Button {ppui.poly} {
            label poly
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback {specks_commandfmt( &ppui.st, "polygons %d",
  o->value() );}
            xywh {135 0 20 20} color 35 selection_color 2 labelsize 12 labelcolor 3 align 6 when 1
          }
          Fl_Light_Button {ppui.label} {
            label lbl
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback {specks_commandfmt(&ppui.st, "label %d", o->value());}
            xywh {163 0 20 20} color 35 selection_color 2 labelsize 12 labelcolor 3 align 2 when 1
          }
          Fl_Light_Button {ppui.texture} {
            label tex
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback {specks_commandfmt( &ppui.st, "texture %d",o->value());}
            xywh {190 0 20 20} color 35 selection_color 2 labelsize 12 labelcolor 3 align 6 when 1
          }
          Fl_Light_Button {ppui.box} {
            label box
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback {specks_commandfmt( &ppui.st,
   "boxes %d",
   Fl::event_state(FL_CTRL)?2: o->value());}
            xywh {218 0 20 20} color 35 selection_color 2 labelsize 12 labelcolor 3 align 6 when 1
          }
          Fl_Menu_Button {} {
            label Boxes
            callback {specks_commandfmt(&ppui.st, "%s", o->text());} open
            xywh {218 0 20 20} type popup3
            code0 {o->add("boxes off|boxes on|boxes ONLY");}
          } {}
          Fl_Group {} {open
            xywh {240 0 145 35} box FLAT_BOX color 96 resizable
          } {}
          Fl_Value_Slider {ppui.slum} {
            label {log slum}
            user_data {&ppui.st} user_data_type {struct stuff **}
            callback pp_slum_cb
            xywh {240 0 145 20} type {Horz Knob} color 35 selection_color 4 labelsize 12 labelcolor 3 minimum -3 maximum 4.5 step 0.025 textcolor 3
          }
        }
      }
      Fl_Group {} {open
slevy's avatar
 
slevy committed
        xywh {0 35 385 25} color 96 hide
teuben's avatar
teuben committed
      } {
        Fl_Pack {ppui.objtogs} {open
          xywh {5 37 375 18} type HORIZONTAL color 96
          code0 {o->spacing(2);}
        } {
          Fl_Button {} {
            label g0
            callback pp_objtog_cb
            xywh {10 37 30 18} type Toggle color 38 selection_color 0 labelsize 12 labelcolor 3
          }
        }
      }
slevy's avatar
 
slevy committed
      Fl_Group {ppui.steprow} {open
        xywh {0 55 380 48} color 41
      } {
        Fl_Button {ppui.step[0]} {
          label {@\#|<}
          user_data {-1}
          callback pp_step_cb
          xywh {307 58 19 20} color 32 labeltype SYMBOL_LABEL labelcolor 3
        }
        Fl_Button {ppui.step[1]} {
          label {@\#>|}
          user_data 1
          callback pp_step_cb
          xywh {328 58 19 20} color 32 labeltype SYMBOL_LABEL labelcolor 3
        }
        Fl_Input {ppui.timestep} {
          label T
          callback pp_timeinput_cb
          xywh {12 58 108 21} type Float color 32 selection_color 92 labelsize 13 labelcolor 3 textsize 12 textcolor 7
          code0 {o->cursor_color( o->textcolor() );}
        }
        Fl_Roller {ppui.jog} {
slevy's avatar
 
slevy committed
          callback pp_jog_cb selected
          xywh {185 59 118 20} type Horizontal color 48 selection_color 8 labelcolor 3 minimum -1e+08 maximum 1e+08 step 0.01
slevy's avatar
 
slevy committed
        }
        Fl_Button {ppui.settrip} {
          label trip
          callback pp_settrip_cb
          xywh {123 59 27 19} color 0 labelsize 10 labelcolor 3
        }
        Fl_Button {ppui.backtrip} {
          label back
          callback pp_backtrip_cb
          xywh {152 59 26 19} color 32 labelsize 11 labelcolor 3
        }
        Fl_Input {ppui.timebase} {
          label {+}
slevy's avatar
 
slevy committed
          callback pp_timebaseinput_cb
          xywh {13 81 137 21} type Float color 97 labelsize 13 labelcolor 3 textsize 9 textcolor 52
slevy's avatar
 
slevy committed
          code0 {o->cursor_color( o->textcolor() );}
        }
        Fl_Value_Slider {ppui.stepspeed} {
          callback pp_stepspeed_cb
          xywh {165 81 137 20} type {Horz Knob} color 32 selection_color 4 labelcolor 3 step 0.0001 textsize 9 textcolor 3
          class {class Fl_Log_Slider}
        }
        Fl_Button {ppui.runstop[0]} {
          label {@\#<<}
          user_data {-1}
          callback pp_run_cb
          xywh {307 81 20 20} type Toggle color 32 labeltype SYMBOL_LABEL labelsize 12 labelcolor 3
        }
        Fl_Button {ppui.runstop[1]} {
          label {@\#>>}
          user_data 1
          callback pp_run_cb
          xywh {328 81 20 20} type Toggle color 32 labeltype SYMBOL_LABEL labelsize 12 labelcolor 3
        }
      }
      Fl_Group {ppui.animrow} {open
        xywh {0 106 385 20}
teuben's avatar
teuben committed
      } {
        Fl_Button {ppui.rdata} {
slevy's avatar
 
slevy committed
          label {Path...}
teuben's avatar
teuben committed
          user_data {&ppui.st} user_data_type {struct stuff **}
          callback pp_rdata_cb
slevy's avatar
 
slevy committed
          xywh {0 106 55 20} color 32 labelsize 12 labelcolor 3
teuben's avatar
teuben committed
        }
        Fl_Button {ppui.play} {
          label Play
          user_data {&ppui.st} user_data_type {struct stuff **}
          callback pp_play_cb
slevy's avatar
 
slevy committed
          xywh {60 106 40 20} type Toggle color 32 selection_color 58 labelsize 12 labelcolor 3
teuben's avatar
teuben committed
        }
        Fl_Menu_Button playmenu {
          label {Play Speed (Nf = every Nth frame)}
          callback {specks_commandfmt(&ppui.st,"%s",o->text());} open
slevy's avatar
 
slevy committed
          xywh {60 106 40 20} type popup3
teuben's avatar
teuben committed
          code0 {o->add("play 1|play .5|play .25|play 2|play 5|play 1f|play 2f|play 5f|play 10f");}
        } {}
        Fl_Counter {ppui.playframe} {
          user_data {&ppui.st} user_data_type {struct stuff **}
          callback pp_playframe_cb
slevy's avatar
 
slevy committed
          xywh {105 106 80 20} color 32 selection_color 1 labelcolor 3 when 4 minimum 0 maximum 3000 step 1 textsize 11
teuben's avatar
teuben committed
        }
        Fl_Value_Slider {ppui.playtime} {
          user_data {&ppui.st} user_data_type {struct stuff **}
          callback pp_playtime_cb
slevy's avatar
 
slevy committed
          xywh {190 106 195 20} type {Horz Knob} color 32 selection_color 4 labelcolor 3 maximum 100 step 0 textcolor 3 resizable
teuben's avatar
teuben committed
        }
      }
      Fl_Tile {ppui.maintile} {open
slevy's avatar
 
slevy committed
        xywh {0 126 385 319} color 139 resizable
teuben's avatar
teuben committed
      } {
        Fl_Group {ppui.cmdhist} {
slevy's avatar
 
slevy committed
          xywh {0 126 385 75} box DOWN_BOX color 96
teuben's avatar
teuben committed
          code0 {\#include "Hist.H"}
          class Hist
        } {
          Fl_Browser {} {
slevy's avatar
 
slevy committed
            xywh {0 126 385 50} type Multi color 0 selection_color 9 labelsize 12 textsize 12 textcolor 3 resizable
teuben's avatar
teuben committed
            code0 {o->scrollbar.align( FL_ALIGN_LEFT );}
            code1 {o->scrollbar_width( 8 );}
            code2 {o->hist(ppui.cmdhist);}
            class HistBrowser
          }
          Fl_Group {} {open
slevy's avatar
 
slevy committed
            xywh {0 176 385 25}
teuben's avatar
teuben committed
          } {
            Fl_Box {} {
              label {Cmd:}
slevy's avatar
 
slevy committed
              xywh {0 176 30 25} labelsize 12 labelcolor 3
teuben's avatar
teuben committed
            }
            Fl_Input {} {
              callback pp_cmd_cb
slevy's avatar
 
slevy committed
              xywh {30 176 355 25} color 38 selection_color 9 labelfont 1 labelsize 10 labelcolor 3 when 10 textcolor 55 resizable
teuben's avatar
teuben committed
              code0 {o->cursor_color( o->textcolor() );}
              code1 {o->hist( ppui.cmdhist );}
              class HistInput
            }
          }
        }
        Fl_Box {} {
          label tilelimiter
slevy's avatar
 
slevy committed
          xywh {0 186 385 259} hide resizable
teuben's avatar
teuben committed
        }
        Fl_Group {} {open
slevy's avatar
 
slevy committed
          xywh {0 201 385 244} box DOWN_BOX
teuben's avatar
teuben committed
        } {
          Fl_Box {ppui.view} {
slevy's avatar
 
slevy committed
            xywh {0 201 385 244}
teuben's avatar
teuben committed
            class Fl_Gview
          }
        }
      }
    }
  }
}