]> git.decadent.org.uk Git - ion3.git/blob - etc/look_newviolet.lua
76e2d5ada1a70696a7659ec109c470f126f01748
[ion3.git] / etc / look_newviolet.lua
1 --
2 -- look_newviolet for Ion's default drawing engine. 
3 -- Based on look_cleanviolet
4 -- 
5
6 if not gr.select_engine("de") then
7     return
8 end
9
10 de.reset()
11
12 de.defstyle("*", {
13     highlight_colour = "#e7e7ff",
14     shadow_colour = "#e7e7ff",
15     background_colour = "#b8b8c8",
16     foreground_colour = "#000000",
17     
18     shadow_pixels = 1,
19     highlight_pixels = 2,
20     padding_pixels = 1,
21     spacing = 1,
22     border_style = "elevated",
23     border_sides = "tb",
24     
25     font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
26     text_align = "center",
27 })
28
29
30 de.defstyle("tab", {
31     based_on = "*",
32     font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
33     
34     de.substyle("active-selected", {
35         highlight_colour = "#aaaacc",
36         shadow_colour = "#aaaacc",
37         background_colour = "#666699",
38         foreground_colour = "#eeeeee",
39     }),
40
41     de.substyle("inactive-selected", {
42         highlight_colour = "#cfcfdf",
43         shadow_colour = "#cfcfdf",
44         background_colour = "#9999bb",
45         foreground_colour = "#000000",
46     }),
47 })
48
49
50 de.defstyle("input", {
51     based_on = "*",
52     text_align = "left",
53     highlight_colour = "#eeeeff",
54     shadow_colour = "#eeeeff",
55     
56     de.substyle("*-selection", {
57         background_colour = "#666699",
58         foreground_colour = "#000000",
59     }),
60
61     de.substyle("*-cursor", {
62         background_colour = "#000000",
63         foreground_colour = "#b8b8c8",
64     }),
65 })
66
67
68 de.defstyle("input-menu", {
69     based_on = "input",
70     highlight_pixels = 0,
71     shadow_pixels = 0,
72     padding_pixels = 0,
73 })
74
75
76 de.defstyle("frame", {
77     based_on = "*",
78     background_colour = "#000000",
79     transparent_background = false,
80     shadow_pixels = 1,
81     highlight_pixels = 1,
82     padding_pixels = 0,
83     border_sides = "all",
84     de.substyle("quasiactive", {
85         -- Something detached from the frame is active
86         padding_colour = "#901010",
87     }),
88 })
89
90 de.defstyle("frame-tiled", {
91     based_on = "frame",
92     shadow_pixels = 0,
93     highlight_pixels = 0,
94     padding_pixels = 1,
95 })
96
97 de.defstyle("frame-tiled-alt", {
98     based_on = "frame-tiled",
99     bar = "none",
100 })
101
102 de.defstyle("frame-floating", {
103     based_on = "frame",
104     bar = "shaped",
105     padding_pixels = 0,
106 })
107
108
109 dopath("lookcommon_clean_stdisp")
110 dopath("lookcommon_clean_tab")
111     
112 -- Refresh objects' brushes.
113 gr.refresh()