1/////////////////////////////////////////////////////////////////////////// 2//// used in the font selection dialog to give a base for black text 3//// previews so they are always visible 4group { name: "terminology/fontpreview"; 5 images { 6 image: "fn_shadow.png" COMP; 7 } 8 parts { 9 part { name: "shadow"; 10 mouse_events: 0; 11 description { state: "default" 0.0; 12 rel1 { 13 offset: -2 -1; 14 to: "base"; 15 } 16 rel2 { 17 offset: 1 2; 18 to: "base"; 19 } 20 image { 21 normal: "fn_shadow.png"; 22 border: 5 5 5 5; 23 } 24 fill.smooth: 0; 25 } 26 } 27 part { name: "base"; type: RECT; 28 mouse_events: 1; 29 description { state: "default" 0.0; 30 color_class: "BG"; 31 rel1.offset: 2 2; 32 rel2.offset: -3 -3; 33 } 34 } 35 part { name: "clip"; type: RECT; 36 description { state: "default" 0.0; 37 rel1.to: "base"; 38 rel2.to: "base"; 39 color: 255 255 255 255; 40 } 41 } 42 part { name: "terminology.text.preview"; type: SWALLOW; 43 clip_to: "clip"; 44 description { state: "default" 0.0; 45 rel1 { 46 to: "base"; 47 offset: 1 1; 48 } 49 rel2 { 50 to: "base"; 51 offset: -2 -2; 52 } 53 } 54 } 55 } 56} 57