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 00000000..5196d433 Binary files /dev/null and b/views/res/mdpi/dialog-cancel.png differ diff --git a/views/res/mdpi/dialog-close.png b/views/res/mdpi/dialog-close.png new file mode 100644 index 00000000..50f2b94f Binary files /dev/null and b/views/res/mdpi/dialog-close.png differ diff --git a/views/res/mdpi/dialog-ok-apply.png b/views/res/mdpi/dialog-ok-apply.png new file mode 100644 index 00000000..fafc8a3b Binary files /dev/null and b/views/res/mdpi/dialog-ok-apply.png differ diff --git a/views/res/mdpi/dialog-ok.png b/views/res/mdpi/dialog-ok.png new file mode 100644 index 00000000..89c4fe28 Binary files /dev/null and b/views/res/mdpi/dialog-ok.png differ 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