From 6c102d0d405200a30708ce733c0ff11fe2728056 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Thu, 29 Jan 2015 11:52:57 +0300 Subject: [PATCH] update resources --- src/dlangui/core/stdaction.d | 10 +++++----- views/res/mdpi/dialog-cancel.png | Bin 0 -> 714 bytes views/res/mdpi/dialog-close.png | Bin 0 -> 738 bytes views/res/mdpi/dialog-ok-apply.png | Bin 0 -> 523 bytes views/res/mdpi/dialog-ok.png | Bin 0 -> 527 bytes views/standard_resources.list | 4 ++++ 6 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 views/res/mdpi/dialog-cancel.png create mode 100644 views/res/mdpi/dialog-close.png create mode 100644 views/res/mdpi/dialog-ok-apply.png create mode 100644 views/res/mdpi/dialog-ok.png diff --git a/src/dlangui/core/stdaction.d b/src/dlangui/core/stdaction.d index 49adeb45..0e9fc118 100644 --- a/src/dlangui/core/stdaction.d +++ b/src/dlangui/core/stdaction.d @@ -36,11 +36,11 @@ enum StandardAction : int { OpenUrl, } -const Action ACTION_OK = new Action(StandardAction.Ok, "ACTION_OK"c); -const Action ACTION_CANCEL = new Action(StandardAction.Cancel, "ACTION_CANCEL"c); -const Action ACTION_YES = new Action(StandardAction.Yes, "ACTION_YES"c); -const Action ACTION_NO = new Action(StandardAction.No, "ACTION_NO"c); -const Action ACTION_CLOSE = new Action(StandardAction.Close, "ACTION_CLOSE"c); +const Action ACTION_OK = new Action(StandardAction.Ok, "ACTION_OK"c, "dialog-ok"); +const Action ACTION_CANCEL = new Action(StandardAction.Cancel, "ACTION_CANCEL"c, "dialog-cancel"); +const Action ACTION_YES = new Action(StandardAction.Yes, "ACTION_YES"c, "dialog-ok"); +const Action ACTION_NO = new Action(StandardAction.No, "ACTION_NO"c, "dialog-cancel"); +const Action ACTION_CLOSE = new Action(StandardAction.Close, "ACTION_CLOSE"c, "dialog-close"); const Action ACTION_ABORT = new Action(StandardAction.Abort, "ACTION_ABORT"c); const Action ACTION_RETRY = new Action(StandardAction.Retry, "ACTION_RETRY"c); const Action ACTION_IGNORE = new Action(StandardAction.Ignore, "ACTION_IGNORE"c); diff --git a/views/res/mdpi/dialog-cancel.png b/views/res/mdpi/dialog-cancel.png new file mode 100644 index 0000000000000000000000000000000000000000..5196d433399591e4bdc6073f8330e903d420b0fa GIT binary patch literal 714 zcmV;*0yX`KP)ypVO?pVPv2K+D9LWRcsZQs`+Odr^PczR0AyM`TbVrn z2p?KocSb8K=Yu?-dR|oYbF{4NSJ-6w7_F+BXS0j}iMqP(M+U?4c+FuX8yoT2=fjuw zcBH&s#Hy979eghKma^am0n0hI&k0^k7ibtugPW zfN84M&(hDGLE`i&bc@1buS(Sv)ajg0^!hz9OYTyv)`dxr2Ql{vFfU`$0U`S4aA`57 zE}Tbaj`+kr#w}LT@T@UD>m)m9?dd(6BBxzT~VqS(1!GocvsD1*dbzqn_j>V#qz9;k=gvrCajM;RM9?;=vQ}b(~JOOcn5KC*x&`P&FTY w-(`+VHOul!i_y4pB`Yh%w8$2h>A$b@Z`Lt11j{z4y#N3J07*qoM6N<$f}?p$y8r+H literal 0 HcmV?d00001 diff --git a/views/res/mdpi/dialog-close.png b/views/res/mdpi/dialog-close.png new file mode 100644 index 0000000000000000000000000000000000000000..50f2b94f16df403823d1269156514fb70321abd8 GIT binary patch literal 738 zcmV<80v-K{P)2)ayY z){JG|${U(gYFUGUBZY-2Qqn~Vi~8D!5=4Z4u-NRwUf)`Wu{dG!Y1nuUvd%;HSx9k1 zH2;$gVQ$DfZ?g@07cEj#YO0#k(o~+9sDjYYU#Fn>ILu}&hat*LZ7Yh7Rv<4=y&jMH zM%3HFLY14)eE8skct%U7f$jw!ksfsys ztdRbrFq2`&Anh{f$?62P=j_$Dp11P54=8XbMO~SxYT2`0UjhO7T`sjICCOvA%MDk7 zAPoB%XuD&#=~?m;wdCi>GW7Mc8ncpBvtyYC0v)n+m6fVyal9%W4qbquESN?rL>0jA z%23pvI9`u7MW``9OP24S2h`u`m*rK3SH8IEYKobpY8$!&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 diff --git a/views/standard_resources.list b/views/standard_resources.list index 4fd73596..9773edc4 100644 --- a/views/standard_resources.list +++ b/views/standard_resources.list @@ -53,6 +53,10 @@ res/mdpi/btn_radio_on_disabled.png res/mdpi/btn_radio_on_focused.png res/mdpi/btn_radio_on_pressed.png res/mdpi/computer.png +res/mdpi/dialog-cancel.png +res/mdpi/dialog-close.png +res/mdpi/dialog-ok.png +res/mdpi/dialog-ok-apply.png res/mdpi/dlangui-logo1.png res/mdpi/drive-harddisk.png res/mdpi/drive-optical.png