Project

General

Profile

Window » History » Version 2

Per Amundsen, 07/18/2014 03:11 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/window [-abBcCde[N]fg[N]hHij[N]k[N]l[N]mMn[N]oprRsSuvw[N]xz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]*
4
5
*Switches*
6
7
Option Switches
8
9
-a - Set as the active window.
10
-b - TODO
11
-B - Prevent window from using an internal border.
12
-c - Close window.
13
-C - Center window.
14
-d - Create desktop window instead of child.
15
-e[N] - Enable editbox; 0 = single, 1 = multi, 2 = auto, 3 = default.
16
-f - Makes the w h the required width and height of the text display area. (instead of the window size)
17
-g[N] - TODO
18 2 Per Amundsen
-h - Hide window.
19 1 Per Amundsen
-H - TODO
20
-i - TODO
21
-k[N] - Hides the @ prefix; 0 = hide, 1 = show.
22
-l[N] - TODO
23
-m - Enable line marker in the window.
24
-M - TODO
25
-n[N] - TODO
26
-o - Stop ontop. (used with -d)
27
-p - Creates a picture windows.
28
-r - TODO
29
-R - TODO
30
-s - TODO
31
-S - TODO
32
-u - TODO
33
-v - TODO
34
-w[N] - Show/hide window from treebar or switchbar; 0 = hide from both, 1 = show in switchbar, 2 = show in switchbar, 3 = show in both
35 2 Per Amundsen
-x - Maximize window
36 1 Per Amundsen
-z[N] - TODO
37
38
Tab Switches
39
40
-tN,..,N - TODO
41
42
Appearance Switches
43
44
+b - Border.
45
+d - No border.
46
+e - 3d Edge.
47
+f - Dialog frame.
48
+l - Tool window.
49
+L - Tool window. (hide from taskbar)
50
+n - Minimize window.
51
+s - TODO
52
+t - Titlebar.
53
+x - Maximize window.
54
55
*Parameters*
56
57
<@name> - Window name.
58
x y [w h] - Left top [width height] - position and size of window. (A -1 value for any of the parameters means use default (or existing) value).
59
/command - Default command.
60
popup.txt - Popup filename, must be plane text file. TODO
61
font [size] - Font name [font size].
62
iconfile [N] - Sets a custom titlebar icon for the window [index]. (Iconindex TODO)
63
64
*Êxample*
65
66
<pre>
67
alias example1 {
68
  ;Create a desktop + picture window, Coordinates: (250,250), size 300x300.
69
  /window -dep @Example 250 250 300 300
70
71
  ;Color it color 3. (default green)
72
  /drawfill @Example 3 3 1 1 100 100
73
74
  ;Draw text "Hello There!".
75
  /drawtext @Example 1 Arial 30 50 100 Hello There!
76
}
77
</pre>