summaryrefslogtreecommitdiff
path: root/plugins/Popup/res/classic.popupskin
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
commit48540940b6c28bb4378abfeb500ec45a625b37b6 (patch)
tree2ef294c0763e802f91d868bdef4229b6868527de /plugins/Popup/res/classic.popupskin
parent5c350913f011e119127baeb32a6aedeb4f0d33bc (diff)
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/res/classic.popupskin')
-rw-r--r--plugins/Popup/res/classic.popupskin167
1 files changed, 167 insertions, 0 deletions
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