X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=r2c2.res;h=20bae38b1c41ce7910a79e995822b8f453d29a3e;hb=fcc044d4eb24820af9acf1431042e4c422366915;hp=2fbdb7826602d12108a30ed36d003d06feecad7a;hpb=094ed2835144e4157fee5b178ab6948f92f97e07;p=r2c2.git diff --git a/r2c2.res b/r2c2.res index 2fbdb78..20bae38 100644 --- a/r2c2.res +++ b/r2c2.res @@ -15,6 +15,17 @@ style "label" }; }; +style "label-title" +{ + font_color 0 0 0; + part "text" + { + align 0.5 1.0; + fill 0.0 0.0; + margin { bottom 5; }; + }; +}; + style "image" { part "image" @@ -27,7 +38,7 @@ graphic "tooltip" { texture "gui.png"; slice 50 93 20 10; - border { top 2; right 2; bottom 2; left 2; }; + border { horizontal 2; vertical 2; }; }; style "label-tooltip" @@ -43,7 +54,7 @@ style "label-tooltip" { align 0.0 0.5; fill 0.0 0.0; - margin { top 2; right 2; bottom 2; left 2; }; + margin { horizontal 2; vertical 2; }; }; }; @@ -161,12 +172,14 @@ style "button" graphic ACTIVE "grey_button_pressed"; align 0.5 0.0; fill 0.0 0.0; + margin { horizontal 5; }; }; part "text" { align 0.5 1.0; fill 0.0 0.0; + margin { bottom 10; }; }; }; @@ -180,12 +193,14 @@ style "button-green" graphic ACTIVE "green_button_pressed"; align 0.5 0.0; fill 0.0 0.0; + margin { horizontal 5; }; }; part "text" { align 0.5 1.0; fill 0.0 0.0; + margin { bottom 10; }; }; }; @@ -199,12 +214,14 @@ style "button-red" graphic ACTIVE "red_button_pressed"; align 0.5 0.0; fill 0.0 0.0; + margin { horizontal 5; }; }; part "text" { align 0.5 1.0; fill 0.0 0.0; + margin { bottom 10; }; }; }; @@ -325,7 +342,7 @@ graphic "raised_grey_bg" { texture "gui.png"; slice 2 74 24 16; - border { top 4; right 4; bottom 4; left 4; }; + border { horizontal 4; vertical 4; }; }; style "panel" @@ -346,7 +363,7 @@ graphic "sunken_black_bg" { texture "gui.png"; slice 2 110 24 16; - border { top 4; right 4; bottom 4; left 4; }; + border { horizontal 4; vertical 4; }; }; style "label-digital" @@ -371,7 +388,7 @@ graphic "sunken_white_bg" { texture "gui.png"; slice 2 92 24 16; - border { top 4; right 4; bottom 4; left 4; }; + border { horizontal 4; vertical 4; }; }; graphic "cursor" @@ -393,7 +410,7 @@ style "entry" { align 0.0 0.5; fill 0.0 0.0; - margin { left 3; right 3; }; + margin { horizontal 3; vertical 2; }; }; part "cursor" @@ -419,7 +436,7 @@ style "entry-multiline" { align 0.0 1.0; fill 0.0 0.0; - margin { top 2; right 13; left 3; bottom 2; }; + margin { vertical 2; right 13; left 3; }; }; part "cursor" @@ -433,7 +450,7 @@ style "entry-multiline" align 1.0 0.0; fill 0.0 1.0; size 10 0; - margin { top 3; right 2; bottom 3; }; + margin { vertical 3; right 2; }; }; }; @@ -441,28 +458,19 @@ graphic "selection" { texture "gui.png"; slice 44 81 20 10; - border { top 4; right 4; bottom 4; left 4; }; + border { horizontal 4; vertical 4; }; }; style "list" { - font_color 0.0 0.0 0.0; - part { graphic NORMAL "sunken_white_bg"; }; - part "selection" - { - graphic NORMAL "selection"; - fill 1.0 1.0; - margin { top 2; right 13; bottom 2; left 2; }; - }; - part "items" { - margin { top 2; right 13; bottom 2; left 2; }; + margin { vertical 2; right 13; left 2; }; }; part "slider" @@ -470,7 +478,21 @@ style "list" align 1.0 0.0; fill 0.0 1.0; size 10 0; - margin { top 3; right 2; bottom 3; }; + margin { vertical 3; right 2; }; + }; +}; + +style "listitem" +{ + part + { + graphic ACTIVE "selection"; + fill 1.0 1.0; + }; + + part "children" + { + margin { vertical 1; horizontal 2; }; }; }; @@ -496,7 +518,7 @@ style "dropdown" { align 0.0 0.5; fill 0.0 0.0; - margin { left 2; }; + margin { vertical 2; left 3; right 17; }; }; part "list"; @@ -539,7 +561,7 @@ graphic "horizontal_slot" { texture "gui.png"; slice 32 97 12 2; - border { left 1; right 1; }; + border { horizontal 1; }; }; graphic "horizontal_knob" @@ -556,7 +578,7 @@ style "hslider" graphic NORMAL "horizontal_slot"; align 0.5 0.5; fill 1.0 0.0; - margin { left 4; right 4; }; + margin { horizontal 4; }; }; part "slider" @@ -570,7 +592,7 @@ graphic "vertical_slot" { texture "gui.png"; slice 32 75 2 12; - border { top 1; bottom 1; }; + border { vertical 1; }; }; graphic "vertical_knob" @@ -587,7 +609,7 @@ style "vslider" graphic NORMAL "vertical_slot"; align 0.5 0.5; fill 0.0 1.0; - margin { top 4; bottom 4; }; + margin { vertical 4; }; }; part "slider"