color: 0 0 0 0;
}
}
+ part { name: "button.base";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
+ max: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
+ color: 0 0 0 0;
+ }
+ }
part { name: "button0";
mouse_events: 0;
scale: 1;
}
}
}
+ part { name: "indicator.area";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 1.5*SLIDER_SWALLOW_BAR_HEIGHT_INC;
+ max: 99999 1.5*SLIDER_SWALLOW_BAR_HEIGHT_INC;
+ align: 1.0 0.5;
+ rel1 {
+ to_x: "bar_left_padding";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "bar_right_padding";
+ relative: 0.0 1.0;
+ }
+ color: 0 0 0 0;
+ }
+ }
part {
name: "bar_left_padding";
type: SWALLOW;
dragable {
x: 1 1 0;
y: 0 0 0;
- confine: "bg";
+ confine: "indicator.area";
}
description { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
+ min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
fixed: 1 1;
- rel1 {
- relative: 0.5 0.0;
- to_x: "bg";
- }
- rel2 {
- relative: 0.5 1.0;
- to_x: "bg";
- }
+ align: 0.5 0.5;
color: 0 0 0 0;
}
}