Fix miscalculations and infinite loops in tab width calculation
[notion/jeffpc.git] / etc / look_ios.lua
blob8427773080e09772ad537d84f0120a918b394cfc
1 -- look_ios.lua drawing engine configuration file for Ion.
3 if not gr.select_engine("de") then return end
5 de.reset()
7 de.defstyle("*", {
8 shadow_colour = "#606060",
9 highlight_colour = "#ffffff",
10 background_colour = "#d8d8d8",
11 foreground_colour = "#000000",
12 padding_pixels = 1,
13 highlight_pixels = 1,
14 shadow_pixels = 1,
15 border_style = "elevated",
16 font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
17 text_align = "center",
20 de.defstyle("tab", {
21 font = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*",
22 de.substyle("active-selected", {
23 shadow_colour = "#f09000",
24 highlight_colour = "#f0f066",
25 background_colour = "#f0c000",
26 foreground_colour = "#000000",
27 }),
28 de.substyle("active-unselected", {
29 shadow_colour = "#606060",
30 highlight_colour = "#ffffff",
31 background_colour = "#d8d8d8",
32 foreground_colour = "#000000",
33 }),
34 de.substyle("inactive-selected", {
35 shadow_colour = "#606060",
36 highlight_colour = "#efefef",
37 background_colour = "#a8a8a8",
38 foreground_colour = "#000000",
39 }),
40 de.substyle("inactive-unselected", {
41 shadow_colour = "#606060",
42 highlight_colour = "#ffffff",
43 background_colour = "#d8d8d8",
44 foreground_colour = "#000000",
45 }),
46 text_align = "center",
49 de.defstyle("input", {
50 de.substyle("*-cursor", {
51 background_colour = "#000000",
52 foreground_colour = "#d8d8d8",
53 }),
54 de.substyle("*-selection", {
55 background_colour = "#f0c000",
56 foreground_colour = "#000000",
57 }),
60 dopath("lookcommon_emboss")
62 de.defstyle("frame-tiled", {
63 spacing = 0,
66 de.defstyle("frame-tiled-alt", {
67 spacing = 0,
70 de.defstyle("tab-frame-tiled", {
71 spacing = 0,
74 gr.refresh()