Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 62 lines (56 sloc) 3.849 kb
4c5e6d4 first commit
megaannum authored
1
2 " ------------------------------------------------------------
3 " forms#dialog#palletdesigner#Make:
4 " Pallet Designer Dialog
5 " buttons.
6 " The form has:
7 " Sliders
8 " Field editors
9 " Spcialized TextAreas
10 " Deck
11 " Buttons submit and cancel
12 " Example:
13 " ┌───────────────────────────────────────────────────┐
14 " │ Pallet Designer │
15 " ├───────────────────────────────────────────────────┤
16 " │ ┌────────────────────────────────┐ ┌───┐ ┌───┐ │
17 " │R │█ │ │0 │ │44 │ │
18 " │ └────────────────────────────────┘ └───┘ └───┘ │
19 " │ ┌────────────────────────────────┐ ┌───┐ ┌──────┐│
20 " │G │ ▉▉ │ │205│ │ ││
21 " │ └────────────────────────────────┘ └───┘ └──────┘│
22 " │ ┌────────────────────────────────┐ ┌───┐ ┌──────┐│
23 " │B │ ▉▉ │ │230│ │00cde6││
24 " │ └────────────────────────────────┘ └───┘ └──────┘│
25 " ├───────────────────────────────────────────────────┤
26 " │ Accented Analogic │
27 " │ │
28 " │ Tint Shade c0f3f9 80e6f3 00cde6 00899a 00454e│
29 " │One 0.75 0.00 159 117 44 30 23 │
30 " │Two 0.50 0.00 │
31 " │Three 0.00 0.33 c0d6f9 80adf3 005ae6 003c9a 001e4e│
32 " │Four 0.00 0.66 153 111 26 24 17 │
33 " │ │
34 " │ c0f9e3 80f3c6 00e68c 009a5d 004e2f│
35 " │ 158 122 42 29 22 │
36 " │ │
37 " │ f9c6c0 f38c80 e61900 9a1000 4e0800│
38 " │ 223 210 160 88 52 │
39 " ├───────────────────────────────────────────────────┤
40 " │ Cancel Submit │
41 " └───────────────────────────────────────────────────┘
42 "
43 " parameters: None
44 " ------------------------------------------------------------
45 " forms#dialog#palletdesigner#Make: {{{1
46 function! forms#dialog#palletdesigner#Make()
47 return forms#dialog#color#Make(1)
48 endfunction
49
ee21b40 Better support for both 'light' and 'dard' backgrounds.
megaannum authored
50 " forms#dialog#palletdesigner#MakeTest: {{{1
51 function! forms#dialog#palletdesigner#MakeTest()
52 call forms#AppendInput({'type': 'Sleep', 'time': 5})
53 call forms#AppendInput({'type': 'Exit'})
54 call forms#dialog#palletdesigner#Make()
55 endfunction
56
4c5e6d4 first commit
megaannum authored
57 " Modelines: {{{1
58 " ================
59 " vim: ts=4 fdm=marker
60
61
Something went wrong with that request. Please try again.