fltk/test/keyboard_ui.fl

697 lines
17 KiB
Plaintext

# data file for FL User Interface Designer (fluid)
version 0.99
gridx 5
gridy 5
snap 3
Function {make_window()} {open
} {
Fl_Window {} {open
xywh {118 466 494 193}
} {
Fl_Button {} {
label {Esc }
user_data FL_Escape user_data_type {void*}
callback key_cb open
xywh {15 50 20 20} labelsize 8
}
Fl_Button {} {
label F1
user_data {FL_F+1} user_data_type {void*}
callback key_cb open
xywh {50 50 20 20} labelsize 10
}
Fl_Button {} {
label F2
user_data {FL_F+2} user_data_type {void*}
callback key_cb open
xywh {70 50 20 20} labelsize 10
}
Fl_Button {} {
label F3
user_data {FL_F+3} user_data_type {void*}
callback key_cb open
xywh {90 50 20 20} labelsize 10
}
Fl_Button {} {
label F4
user_data {FL_F+4} user_data_type {void*}
callback key_cb open
xywh {110 50 20 20} labelsize 10
}
Fl_Button {} {
label F5
user_data {FL_F+5} user_data_type {void*}
callback key_cb open
xywh {140 50 20 20} labelsize 10
}
Fl_Button {} {
label F6
user_data {FL_F+6} user_data_type {void*}
callback key_cb open
xywh {160 50 20 20} labelsize 10
}
Fl_Button {} {
label F7
user_data {FL_F+7} user_data_type {void*}
callback key_cb open
xywh {180 50 20 20} labelsize 10
}
Fl_Button {} {
label F8
user_data {FL_F+8} user_data_type {void*}
callback key_cb open
xywh {200 50 20 20} labelsize 10
}
Fl_Button {} {
label F9
user_data {FL_F+9} user_data_type {void*}
callback key_cb open
xywh {230 50 20 20} labelsize 10
}
Fl_Button {} {
label F10
user_data {FL_F+10} user_data_type {void*}
callback key_cb open
xywh {250 50 20 20} labelsize 10
}
Fl_Button {} {
label F11
user_data {FL_F+11} user_data_type {void*}
callback key_cb open
xywh {270 50 20 20} labelsize 10
}
Fl_Button {} {
label F12
user_data {FL_F+12} user_data_type {void*}
callback key_cb open
xywh {290 50 20 20} labelsize 10
}
Fl_Button {} {
label {Print }
user_data FL_Print user_data_type {void*}
callback key_cb open
xywh {325 50 20 20} labelsize 8
}
Fl_Button {} {
label {Sclk }
user_data FL_Scroll_Lock user_data_type {void*}
callback key_cb open
xywh {345 50 20 20} labelsize 8
}
Fl_Button {} {
label {Paus }
user_data FL_Pause user_data_type {void*}
callback key_cb open
xywh {365 50 20 20} labelsize 8
}
Fl_Button {} {
label {`}
callback key_cb open
xywh {15 80 20 20} labelsize 10
}
Fl_Button {} {
label 1
callback key_cb open
xywh {35 80 20 20} labelsize 10
}
Fl_Button {} {
label 2
callback key_cb open
xywh {55 80 20 20} labelsize 10
}
Fl_Button {} {
label 3
callback key_cb open
xywh {75 80 20 20} labelsize 10
}
Fl_Button {} {
label 4
callback key_cb open
xywh {95 80 20 20} labelsize 10
}
Fl_Button {} {
label 5
callback key_cb open
xywh {115 80 20 20} labelsize 10
}
Fl_Button {} {
label 6
callback key_cb open
xywh {135 80 20 20} labelsize 10
}
Fl_Button {} {
label 7
callback key_cb open
xywh {155 80 20 20} labelsize 10
}
Fl_Button {} {
label 8
callback key_cb open
xywh {175 80 20 20} labelsize 10
}
Fl_Button {} {
label 9
callback key_cb open
xywh {195 80 20 20} labelsize 10
}
Fl_Button {} {
label 0
callback key_cb open
xywh {215 80 20 20} labelsize 10
}
Fl_Button {} {
label {-}
callback key_cb open
xywh {235 80 20 20} labelsize 10
}
Fl_Button {} {
label {=}
callback key_cb open
xywh {255 80 20 20} labelsize 10
}
Fl_Button {} {
label Bksp
user_data FL_BackSpace user_data_type {void*}
callback key_cb open
xywh {275 80 35 20} labeltype 2 labelsize 8 align 20
}
Fl_Button {} {
label {Ins }
user_data FL_Insert user_data_type {void*}
callback key_cb open
xywh {325 80 20 20} labelsize 8
}
Fl_Button {} {
label Home
user_data FL_Home user_data_type {void*}
callback key_cb open
xywh {345 80 20 20} labelsize 8
}
Fl_Button {} {
label {pgup }
user_data FL_Page_Up user_data_type {void*}
callback key_cb open
xywh {365 80 20 20} labelsize 8
}
Fl_Button {} {
label Num
user_data FL_Num_Lock user_data_type {void*}
callback key_cb open
xywh {400 80 20 20} labelsize 8
}
Fl_Button {} {
label {/}
user_data {FL_KP+'/'} user_data_type {void*}
callback key_cb open
xywh {420 80 20 20} labelsize 10
}
Fl_Button {} {
label {*}
user_data {FL_KP+'*'} user_data_type {void*}
callback key_cb open
xywh {440 80 20 20} labelsize 10
}
Fl_Button {} {
label {-}
user_data {FL_KP+'-'} user_data_type {void*}
callback key_cb open
xywh {460 80 20 20} labelsize 10
}
Fl_Button {} {
label Tab
user_data FL_Tab user_data_type {void*}
callback key_cb open
xywh {15 100 27 20} labelsize 8 align 20
}
Fl_Button {} {
label Q
callback key_cb open
xywh {42 100 20 20} labelsize 10
}
Fl_Button {} {
label W
callback key_cb open
xywh {62 100 20 20} labelsize 10
}
Fl_Button {} {
label E
callback key_cb open
xywh {82 100 20 20} labelsize 10
}
Fl_Button {} {
label R
callback key_cb open
xywh {102 100 20 20} labelsize 10
}
Fl_Button {} {
label T
callback key_cb open
xywh {122 100 20 20} labelsize 10
}
Fl_Button {} {
label Y
callback key_cb open
xywh {142 100 20 20} labelsize 10
}
Fl_Button {} {
label U
callback key_cb open
xywh {162 100 20 20} labelsize 10
}
Fl_Button {} {
label I
callback key_cb open
xywh {182 100 20 20} labelsize 10
}
Fl_Button {} {
label O
callback key_cb open
xywh {202 100 20 20} labelsize 10
}
Fl_Button {} {
label P
callback key_cb open
xywh {222 100 20 20} labelsize 10
}
Fl_Button {} {
label {[}
callback key_cb open
xywh {242 100 20 20} labelsize 10
}
Fl_Button {} {
label {]}
callback key_cb open
xywh {262 100 20 20} labelsize 10
}
Fl_Button {} {
label {\\}
user_data {'|'}
callback key_cb open
xywh {282 100 28 20} labelsize 10 align 20
}
Fl_Button {} {
label {Del }
user_data FL_Delete user_data_type {void*}
callback key_cb open
xywh {325 100 20 20} labelsize 8
}
Fl_Button {} {
label {End }
user_data FL_End user_data_type {void*}
callback key_cb open
xywh {345 100 20 20} labelsize 8
}
Fl_Button {} {
label {pgdn }
user_data FL_Page_Down user_data_type {void*}
callback key_cb open
xywh {365 100 20 20} labelsize 8
}
Fl_Button {} {
label 7
user_data {FL_KP+'7'} user_data_type {void*}
callback key_cb open
xywh {400 100 20 20} labelsize 10
}
Fl_Button {} {
label 8
user_data {FL_KP+'8'} user_data_type {void*}
callback key_cb open
xywh {420 100 20 20} labelsize 10
}
Fl_Button {} {
label 9
user_data {FL_KP+'9'} user_data_type {void*}
callback key_cb open
xywh {440 100 20 20} labelsize 10
}
Fl_Button {} {
label {+}
user_data {FL_KP+'+'} user_data_type {void*}
callback key_cb open
xywh {460 100 20 40} labelsize 10 align 17
}
Fl_Button {} {
label Lock
user_data FL_Caps_Lock user_data_type {void*}
callback key_cb open
xywh {15 120 36 20} labelsize 8 align 20
}
Fl_Button {} {
label A
callback key_cb open
xywh {51 120 20 20} labelsize 10
}
Fl_Button {} {
label S
callback key_cb open
xywh {71 120 20 20} labelsize 10
}
Fl_Button {} {
label D
callback key_cb open
xywh {91 120 20 20} labelsize 10
}
Fl_Button {} {
label F
callback key_cb open
xywh {111 120 20 20} labelsize 10
}
Fl_Button {} {
label G
callback key_cb open
xywh {131 120 20 20} labelsize 10
}
Fl_Button {} {
label H
callback key_cb open
xywh {151 120 20 20} labelsize 10
}
Fl_Button {} {
label J
callback key_cb open
xywh {171 120 20 20} labelsize 10
}
Fl_Button {} {
label K
callback key_cb open
xywh {191 120 20 20} labelsize 10
}
Fl_Button {} {
label L
callback key_cb open
xywh {211 120 20 20} labelsize 10
}
Fl_Button {} {
label {;}
callback key_cb open
xywh {231 120 20 20} labelsize 10
}
Fl_Button {} {
label {'}
callback key_cb open
xywh {251 120 20 20} labelsize 10
}
Fl_Button {} {
label Enter
user_data FL_Enter user_data_type {void*}
callback key_cb open
xywh {271 120 39 20} labelsize 8 align 20
}
Fl_Button {} {
label 4
user_data {FL_KP+'4'} user_data_type {void*}
callback key_cb open
xywh {400 120 20 20} labelsize 10
}
Fl_Button {} {
label 5
user_data {FL_KP+'5'} user_data_type {void*}
callback key_cb open
xywh {420 120 20 20} labelsize 10
}
Fl_Button {} {
label 6
user_data {FL_KP+'6'} user_data_type {void*}
callback key_cb open
xywh {440 120 20 20} labelsize 10
}
Fl_Button {} {
label Shift
user_data FL_Shift_L user_data_type {void*}
callback key_cb open
xywh {15 140 45 20} labelsize 8 align 20
}
Fl_Button {} {
label Z
callback key_cb open
xywh {60 140 20 20} labelsize 10
}
Fl_Button {} {
label X
callback key_cb open
xywh {80 140 20 20} labelsize 10
}
Fl_Button {} {
label C
callback key_cb open
xywh {100 140 20 20} labelsize 10
}
Fl_Button {} {
label V
callback key_cb open
xywh {120 140 20 20} labelsize 10
}
Fl_Button {} {
label B
callback key_cb open
xywh {140 140 20 20} labelsize 10
}
Fl_Button {} {
label N
callback key_cb open
xywh {160 140 20 20} labelsize 10
}
Fl_Button {} {
label M
callback key_cb open
xywh {180 140 20 20} labelsize 10
}
Fl_Button {} {
label {,}
callback key_cb open
xywh {200 140 20 20} labelsize 10
}
Fl_Button {} {
label {.}
callback key_cb open
xywh {220 140 20 20} labelsize 10
}
Fl_Button {} {
label {/}
callback key_cb open
xywh {240 140 20 20} labelsize 10
}
Fl_Button {} {
label Shift
user_data FL_Shift_R user_data_type {void*}
callback key_cb open
xywh {260 140 50 20} labelsize 8 align 20
}
Fl_Button {} {
label {@8->}
user_data FL_Up user_data_type {void*}
callback key_cb open
xywh {345 140 20 20} labeltype 2 labelsize 10 labelcolor 47
}
Fl_Button {} {
label 1
user_data {FL_KP+'1'} user_data_type {void*}
callback key_cb open
xywh {400 140 20 20} labelsize 10
}
Fl_Button {} {
label 2
user_data {FL_KP+'2'} user_data_type {void*}
callback key_cb open
xywh {420 140 20 20} labelsize 10
}
Fl_Button {} {
label 3
user_data {FL_KP+'3'} user_data_type {void*}
callback key_cb open
xywh {440 140 20 20} labelsize 10
}
Fl_Button {} {
user_data FL_KP_Enter user_data_type {void*}
callback key_cb open
xywh {460 140 20 40}
}
Fl_Button {} {
label Ctrl
user_data FL_Control_L user_data_type {void*}
callback key_cb open
xywh {15 160 30 20} labelsize 8 align 20
}
Fl_Button {} {
label {Meta }
user_data FL_Meta_L user_data_type {void*}
callback key_cb open
xywh {45 160 30 20} labelsize 8
}
Fl_Button {} {
label {Alt }
user_data FL_Alt_L user_data_type {void*}
callback key_cb open
xywh {75 160 30 20} labelsize 8
}
Fl_Button {} {
user_data {' '} user_data_type {void*}
callback key_cb open
xywh {105 160 85 20} labelsize 10
}
Fl_Button {} {
label {Alt }
user_data FL_Alt_R user_data_type {void*}
callback key_cb open
xywh {190 160 30 20} labelsize 8
}
Fl_Button {} {
label {Meta }
user_data FL_Meta_R user_data_type {void*}
callback key_cb open
xywh {220 160 30 20} labelsize 8
}
Fl_Button {} {
label {Menu }
user_data FL_Menu user_data_type {void*}
callback key_cb open
xywh {250 160 30 20} labelsize 8
}
Fl_Button {} {
label Ctrl
user_data FL_Control_R user_data_type {void*}
callback key_cb open
xywh {280 160 30 20} labelsize 8 align 20
}
Fl_Button {} {
label {@4->}
user_data FL_Left user_data_type {void*}
callback key_cb open
xywh {325 160 20 20} labeltype 2 labelsize 10 labelcolor 47
}
Fl_Button {} {
label {@2->}
user_data FL_Down user_data_type {void*}
callback key_cb open
xywh {345 160 20 20} labeltype 2 labelsize 10 labelcolor 47
}
Fl_Button {} {
label {@6->}
user_data FL_Right user_data_type {void*}
callback key_cb open
xywh {365 160 20 20} labeltype 2 labelsize 10 labelcolor 47
}
Fl_Button {} {
label 0
user_data {FL_KP+'0'} user_data_type {void*}
callback key_cb open
xywh {400 160 40 20} labelsize 10 align 20
}
Fl_Button {} {
label {.}
user_data {FL_KP+'.'} user_data_type {void*}
callback key_cb open
xywh {440 160 20 20} labelsize 10
}
Fl_Button {} {
label {shift }
user_data FL_SHIFT user_data_type {void*}
callback shift_cb open
xywh {400 15 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {lock }
user_data FL_CAPS_LOCK user_data_type {void*}
callback shift_cb open
xywh {420 15 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label ctrl
user_data FL_CTRL user_data_type {void*}
callback shift_cb open
xywh {440 15 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label alt
user_data FL_ALT user_data_type {void*}
callback shift_cb open
xywh {460 15 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label num
user_data FL_NUM_LOCK user_data_type {void*}
callback shift_cb open
xywh {400 25 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {?}
user_data 0x20 user_data_type {void*}
callback shift_cb open
xywh {420 25 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {meta }
user_data FL_META user_data_type {void*}
callback shift_cb open
xywh {440 25 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label sclk
user_data FL_SCROLL_LOCK user_data_type {void*}
callback shift_cb open
xywh {460 25 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label b1
user_data FL_BUTTON1 user_data_type {void*}
callback shift_cb open
xywh {400 35 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label b2
user_data FL_BUTTON2 user_data_type {void*}
callback shift_cb open
xywh {420 35 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label b3
user_data FL_BUTTON3 user_data_type {void*}
callback shift_cb open
xywh {440 35 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {?}
user_data 0x800 user_data_type {void*}
callback shift_cb open
xywh {460 35 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {?}
user_data 0x1000 user_data_type {void*}
callback shift_cb open
xywh {400 45 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {?}
user_data 0x2000 user_data_type {void*}
callback shift_cb open
xywh {420 45 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {?}
user_data 0x4000 user_data_type {void*}
callback shift_cb open
xywh {440 45 20 10} box 6 color {47 3} labelsize 8
}
Fl_Button {} {
label {?}
user_data 0x8000 user_data_type {void*}
callback shift_cb open
xywh {460 45 20 10} box 6 color {47 3} labelsize 8
}
Fl_Output key_output {
label {Fl::event_key():} open
xywh {15 15 170 30} labelsize 8 align 5
}
Fl_Box {} {
label {Fl::event_state():} open
xywh {395 15 85 40} labelsize 8 align 5
}
Fl_Output text_output {
label {Fl::event_text():} open selected
xywh {195 15 190 30} labelsize 8 align 5
}
}
}