From 71d9074fff8620e743bc3a593b649b4a6cc6902e Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Wed, 16 Nov 2011 15:24:43 -0200 Subject: [PATCH] motd button, adjust colorbox image --- modules/core_styles/icons/motd.png | Bin 0 -> 331 bytes modules/core_styles/images/colorbox.png | Bin 250 -> 262 bytes modules/core_styles/images/top_button.png | Bin 1184 -> 1190 bytes modules/core_styles/styles/buttons.otui | 8 ++++---- modules/topmenu/topmenu.otui | 15 +++++++++++++++ 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 modules/core_styles/icons/motd.png diff --git a/modules/core_styles/icons/motd.png b/modules/core_styles/icons/motd.png new file mode 100644 index 0000000000000000000000000000000000000000..01cb2800456221063b545f2a9107630f6465cd0b GIT binary patch literal 331 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg)ZUI3a)}Z@AAk$8Jx;TbdoL)Nl zHCK~^K_uG5So-WIoe;@lPHBrTF|CRI4@2>n^VWW9|@vqcLOWZzYZC!JP*Fl1< zHtZtHjcv9(1^eyWB5&ket8Y~~ZNlVpNQpg)qiLt)hKLs3x!qT8B{Zt&oL==)gn`AO zLtsfBd&b&{%lsF!UN1c>{9|8uWW?pRM5g02%c^XYf>mdKI;Vst0N%)c3;+NC literal 0 HcmV?d00001 diff --git a/modules/core_styles/images/colorbox.png b/modules/core_styles/images/colorbox.png index 59d5276711f52d250c71492f6221d9d901592ac2..9d2ef7ff55da8c1a07e2f709c8e51c7d00e41be0 100644 GIT binary patch delta 131 zcmV-}0DS-Y0fqvQVg?i?>#FLPk!UP(T}ebiR7l6|)v*o0AP@w>!E!ltK|_>64fH{6 z@5s50Es?O&Wq;B}_s|iO>0kQ^5fNrcDS=YTRDX=&^b;$rNgu*k!UPtQAtEWR7l6|)v*o0PzXc8M{2fY0A^u@zo^qB z1B4VbSfaFat^hcIns@&84Ui-{F*5)n0(bx1uPS%|t-MPzv)#WK&H@&&fCVgI9KiHD Zz5%}twaxe_CRP9d002ovPDHLkV1k3ZFeU&1 diff --git a/modules/core_styles/images/top_button.png b/modules/core_styles/images/top_button.png index 0f735dfe13a4ce6e5c220c81b4862d03bb436650..6a8ef9d03922a49bc498f40a9f7f76c713ace916 100644 GIT binary patch delta 1096 zcmV-O1h@O338o2<7YZ5(1^@s68MSKsks%fd{{a60|De66laW9m2oMnv2+A3A=8Mc=ZZl7y>|#xQ-)T&hbUJi(mKmA)-hN$h(~mZd|>JANTg) z1pzo?a2Uhw%}x9^7$6)DwcxyC+qic5G9Ep70$&Jtz7NJ2KDu%RzaJbRbJa9W0RWWJ z6U3`h=GtkR;==j!c>dxAq9}r?e|Cx}f|L?c$`cY z2^@nEaLys6EG4Xn%qmPuDc(PO7AB>TQqB^WUv&06Z-8y0^r~@e+b$(cC8LS8O%ol~ z%zx-In=Ga&5h{4yoK@pkmQ^`Fv$iTCs|Yol3@TcjI!^6xs{E>PjFSE;f7h)dIX~X4 z+sV8esqLy#c_Qi*YYRtJI-kk&iDMoyo0@B#Yt7?k{}xUWQIyiTtgn=~Wu(llbjz|h zRYa9#+PtMx{4WcMR*PGum8}vdALEMLdtu_59y6*Awf`j?)g|j(x2WG-WS6Tl+p^Zs z7EaTIP&Urgp`5z=+4(8ae^Ab83#W+-*Pi3%&0_ig%P7(ojt;9dt76CT={vW(MFCTt zC#9@)g|=|Y0)NpBLT#%`7`1oRWa=JG;>)}-r!AbaV4o+Vj;Og~oVvUDOtwr(s4bjj zlR(+s_L#V`+L^k@ri2)Tl*XX8aH;})RnTurD9s0Esklv1d{O(#e<~1}GDRe{g;Pf2 zA{Y9iIcC<8BneDPF_{i3i#f&|Wure{zebv-l1x9cDx8BiZ;q8yztdS;!zhlmWLMj= zW~`5#cHOU}ls~wf}_@Z z%$c7$ozBPn)G6r1@r9UqTRrVKTL5;L1{_sH7$TMOx*r6;WW-qjJ_GP5H+HgQAz<6{ z{rlM;*KsV{w!dAoth+iDisSg<;oG+}57L~mYXE-MiDOW@8vWN)pT7Za7Icfo`pjqm O0000j5K~z}7%~>&z+(Z=qW^A7qGPWZ{7ibctO*qjcQ34fZ6rmHWBE+o}QPSl)%G4Az zgocJD5_gJ@RTSk1PzDr)POB(A5|@Zm3T%(Pd)~Dl&H9-2*4Q_00I2_sx6X z8_zII&2!y*0KSDLV~l}_dVUb>s?RT7f4I<}q-hr#Z9JJg{Oj=W3-y`nI9mXAh)5^Y zb|~co0AMOI>T3;@76 zKS8`|RjHk287^JCh-c5ABaUO3e`=$QV-OLD=)?=FfXa-B5RXPk)3mfb8VRCexG%6@1>9RpVHeRXaY9wmKr~2sN8@Dw~|zPi=4N{Hk$`iuStHf2||A*x#JD zlEpMqpQ}z4iJ0eDTR5uI#Y$c*9E+IQG+gJU)*@;4U*VJy#W`On`YMTA#;Vdvw=IiP zM^sg%Ek?Rl;#Nu4DshUbS{9|Jj<}}PvTkqof5K5CYhDDFwVS6|R#!0QesZPL^k||li)v0=I8|a_Bw`*>3u~OZy2VPi%*jSuILj7+s!z0I z;;N2-)JZla#9*vagWAHW6ZksOZ%QaH3NtBbQ>HI!Th)hj?o1g;e{JDZk$9T#(y}pT z-jJp#OwKWxcB;}GV}a9;KVQ8-yaMh<9H08Gs#E z2z-3&78qkQ2au;Ke<;(`>_2^qKuQo%FTdsb0l;0)aV#C1);x;xTcP}laQ)o5pF5q- zN6wiu(1{aBIdesL)^)c4>vuqMsza>!(VgaEC8PZcvR>+S@IxY+Yf>V`5(`9 zE!(!gS+lHrIvq-qBLDyZ07*qo IM6N<$f=I6iMgRZ+ diff --git a/modules/core_styles/styles/buttons.otui b/modules/core_styles/styles/buttons.otui index a1b0f8b8..099e22f6 100644 --- a/modules/core_styles/styles/buttons.otui +++ b/modules/core_styles/styles/buttons.otui @@ -26,17 +26,17 @@ Button < UIButton TopButton < UIButton background-color: white - size: 26 25 + size: 26 26 text-translate: 0 0 border-image: source: /core_styles/images/top_button.png - size: 26 25 + size: 26 26 border: 3 $hover: border-image: source: /core_styles/images/top_button.png - size: 26 25 + size: 26 26 offset: 26 0 border: 3 @@ -44,7 +44,7 @@ TopButton < UIButton text-translate: 1 1 border-image: source: /core_styles/images/top_button.png - size: 26 25 + size: 26 26 offset: 52 0 border: 3 diff --git a/modules/topmenu/topmenu.otui b/modules/topmenu/topmenu.otui index b410b575..3e5422b9 100644 --- a/modules/topmenu/topmenu.otui +++ b/modules/topmenu/topmenu.otui @@ -21,6 +21,7 @@ TopPanel phantom: true TopButton + id: enterGameButton anchors.top: prev.top anchors.left: prev.right margin.left: 6 @@ -38,6 +39,20 @@ TopPanel anchors.centerIn: parent phantom: true + TopButton + id: motdButton + anchors.top: prev.top + anchors.left: prev.right + margin.left: 6 + tooltip: Message of the day + @onClick: + + UIWidget + size: 16 16 + image: /core_styles/icons/motd.png + anchors.centerIn: parent + phantom: true + TopButton anchors.top: parent.top anchors.right: parent.right