From 48540940b6c28bb4378abfeb500ec45a625b37b6 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 15 May 2012 10:38:20 +0000 Subject: initial commit git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/res/classic.popupskin | 167 ++++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 plugins/Popup/res/classic.popupskin (limited to 'plugins/Popup/res/classic.popupskin') diff --git a/plugins/Popup/res/classic.popupskin b/plugins/Popup/res/classic.popupskin new file mode 100644 index 0000000000..2fb9d3b65f --- /dev/null +++ b/plugins/Popup/res/classic.popupskin @@ -0,0 +1,167 @@ +options + #option id val title + option 1 1 Draw gradient background + option 2 1 Flat borders + option 3 1 Enable avatars +end + +padding-right 4 +padding-bottom 4 +w (text.width+(25>(avatar.width+4+4))+4)>(25+title.width+4+clock.width+4) + +# background +object + type bitmap + ifnotset 1 + source pixel:808080 + mono + x 0 + y 0 + w -1 + h -1 +end + +object + type bitmap + ifset 1 + source gradient:v/707070/909090 + mono + x 0 + y 0 + w -1 + h -1 +end + +# 3d border +object + type bitmap + ifnotset 2 + source pixel:d0d0d0 + mono + x 0 + y 0 + w -1 +end + +object + type bitmap + ifnotset 2 + source pixel:d0d0d0 + mono + x 0 + y 0 + h -1 +end + +object + type bitmap + ifnotset 2 + source pixel:303030 + mono + x 0 + y -1 + w -1 +end + +object + type bitmap + ifnotset 2 + source pixel:303030 + mono + x -1 + y 0 + h -1 +end + +object + type bitmap + ifnotset 2 + source pixel:303030 + mono + x -1 + y -1 +end + +# flat border +object + type bitmap + ifset 2 + source pixel:000000 + x 0 + y 0 + w -1 +end + +object + type bitmap + ifset 2 + source pixel:000000 + x 0 + y 0 + h -1 +end + +object + type bitmap + ifset 2 + source pixel:000000 + y -1 + w -1 +end + +object + type bitmap + ifset 2 + source pixel:000000 + x -1 + y 0 + h -1 +end + +object + type bitmap + ifset 2 + source pixel:000000 + x -1 + y -1 +end + +# popup icon +object + type icon + x 5 + y 3 +end + +# popup title +object + type title + x 25 + y 4 + w window.width-25-4-clock.width-4 +end + +# avatar +object + type avatar + ifset 3 + x 4 + y title.height+4+4 + w options.avatarsize<(options.avatarsize*avatarbitmap.width/avatarbitmap.height) + proportional 1 +end + +# popup text +object + type text + x 25>(avatar.width+4+4) + y title.height+4+4 + w window.width-(25>(avatar.width+4+4))-4 +end + +#clock +object + type clock + x window.width-4-clock.width + y 4 +end -- cgit v1.2.3