File: counters.fl

package info (click to toggle)
pyfltk 1.3.8%2Brepack-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,868 kB
  • sloc: python: 7,494; cpp: 351; perl: 55; makefile: 24
file content (38 lines) | stat: -rw-r--r-- 837 bytes parent folder | download
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
# data file for the Fltk User Interface Designer (fluid)
version 1.00 
header_name {.h} 
code_name {.cxx} 
gridx 5 
gridy 5 
snap 3
Function {adjusterChanged(ptr)} {} {
  code {dial = Fl_AdjusterPtr(ptr)
anAdjuster.value(dial.value())
aCounter.value(dial.value())
aSimpleCounter.value(dial.value())} {}
} 

Function {} {open
} {
  Fl_Window {} {open selected
    xywh {560 330 239 225} color 215 visible
  } {
    Fl_Adjuster anAdjuster {
      label Adjuster
      callback adjusterChanged
      xywh {20 15 195 25}
    }
    Fl_Adjuster aCounter {
      label Counter
      callback adjusterChanged
      xywh {20 155 195 25}
      class Fl_Counter
    }
    Fl_Adjuster aSimpleCounter {
      label {Simple Counter}
      callback adjusterChanged
      xywh {20 85 195 25} selection_color 1
      class Fl_Simple_Counter
    }
  }
}