-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcolors.m
More file actions
executable file
·30 lines (26 loc) · 862 Bytes
/
colors.m
File metadata and controls
executable file
·30 lines (26 loc) · 862 Bytes
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
#! xbigforth
\ automatic generated code
\ do not edit
also editor also minos also forth
component class set-colors
public:
( [varstart] ) ( [varend] )
how:
: params DF[ 0 ]DF X" Set Colors" ;
class;
set-colors implements
( [methodstart] ) ( [methodend] )
: widget ( [dumpstart] )
^^ #192 #256 SC[ to red re-color dpy draw ]SC ( MINOS ) TT" red" hscaler new
^^ #192 #256 SC[ to green re-color dpy draw ]SC ( MINOS ) TT" green" hscaler new
^^ #192 #256 SC[ to blue re-color dpy draw ]SC ( MINOS ) TT" blue" hscaler new
^^ #92 #50 SC[ to contrast re-color dpy draw ]SC ( MINOS ) TT" Contrast" hscaler new #50 SC#
$120 $1 *hfilll $0 $0 *vfil rule new
#5 vabox new
( [dumpend] ) ;
class;
: main
set-colors open-app
event-loop bye ;
script? [IF] main [THEN]
previous previous previous