package { import flash.display.Graphics; import flash.display.Sprite; import skins.*; public class Motif extends Sprite { public var buttonSkin: Class = skins.ButtonSkin; public var accordionButtonSkin: Class = skins.AccordionButton; public var verticalScrollSkin: Class = skins.VScroll; public var verticalScrollArrowSkin: Class = skins.VScrollArrow; public var comboBoxSkin: Class = skins.ComboSkin; public var titleWindowCloseSkin: Class = skins.TitleWindowCloseButton; public var tabSkin: Class = skins.TabBar; public var titleBorderSkin: Class = skins.TitleBorder; public var privateChatRestoreButtonSkin: Class = skins.PrivateChatRestoreButtonSkin; public var verticalScrollTrackSkin: Class = skins.VScrollTrack; public var avtSkin: Class = skins.AvtSkin; // public var defaultTheme: String = ''; /*public function drawListItem(tGraphics: Graphics, w: Number, h: Number, name: String = ''): void { var colStrip: uint = 0x444444; var stripAlpha: Number = 0.3; switch (name) { case 'highlight': break; case 'selection': stripAlpha = 0.5; break; default: break; } tGraphics.clear(); tGraphics.lineStyle(1, colStrip, stripAlpha); //left - right var sX: int, sY: int, eX: int, eY: int, next: int; var tmp: Number; sY = -w; while (sY < h) { next = sY + 7; sX = 0; eX = sX + w; eY = sY + (eX - sX); if (sY < 0) { tmp = 0 - sY; sY = 0; sX = tmp; } if (eY > h) { tmp = eY - h; eY = h; eX -= tmp; } sX += Math.random()*2-1; sY += Math.random()*4-2; eX += Math.random()*2-1; eY += Math.random()*4-2; tGraphics.moveTo(sX, sY); tGraphics.lineTo(eX, eY); sY = next; } //right - left sY = -w; while (sY < h) { next = sY + 7; sX = w; eX = 0; eY = sY + Math.abs(eX - sX); if (sY < 0) { tmp = 0 - sY; sY = 0; sX -= tmp; } if (eY > h) { tmp = eY - h; eY = h; eX += tmp; } sX += Math.random()*2-1; sY += Math.random()*4-2; eX += Math.random()*2-1; eY += Math.random()*4-2; tGraphics.moveTo(sX, sY); tGraphics.lineTo(eX, eY); sY = next; } }*/ } }