mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CMsgBox: add option for No Yes button arrangement
Useful if order of red and green buttons must be changed.
Return values are untouched.
Origin commit data
------------------
Branch: ni/coolstream
Commit: f1e4723964
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-27 (Thu, 27 Oct 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -74,7 +74,8 @@ class CMsgBox : public CHintBox
|
||||
mbOKCancel = 0x20,
|
||||
mbYesNoCancel = 0x40,
|
||||
mbYesNo = 0x80,
|
||||
mbAll = 0x100,
|
||||
mbNoYes = 0x100,
|
||||
mbAll = 0x200,
|
||||
//unused allign stuff, only for compatibility
|
||||
mbBtnAlignCenter1 = 0x0400, /* centered, large distances */
|
||||
mbBtnAlignCenter2 = 0x0800, /* centered, small distances */
|
||||
@@ -267,7 +268,8 @@ class CMsgBox : public CHintBox
|
||||
* mbOKCancel = 0x20,
|
||||
* mbYesNoCancel = 0x40,
|
||||
* mbYesNo = 0x80,
|
||||
* mbAll = 0x100,
|
||||
* mbNoYes = 0x100,
|
||||
* mbAll = 0x200,
|
||||
* NOTE: allign parameters are currently not supported, these values are existing for compatibility only!
|
||||
*/
|
||||
void setShowedButtons(const int& ShowButtons){mb_show_button = ShowButtons; initButtons();}
|
||||
|
Reference in New Issue
Block a user