CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUIDialogButtonBox.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2025 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
19#include "FxUIBaseView.h"
20#include "FxUIPushButton.h"
21#include "FxUIDialog.h"
22
27{
28public:
33 NoButton = 0x00000000,
34 Ok = 0x00000400,
35 Save = 0x00000800,
36 SaveAll = 0x00001000,
37 Open = 0x00002000,
38 Yes = 0x00004000,
39 YesToAll = 0x00008000,
40 No = 0x00010000,
41 NoToAll = 0x00020000,
42 Abort = 0x00040000,
43 Retry = 0x00080000,
44 Ignore = 0x00100000,
45 Close = 0x00200000,
46 Cancel = 0x00400000,
47 Discard = 0x00800000,
48 Help = 0x01000000,
49 Apply = 0x02000000,
50 Reset = 0x04000000,
51 RestoreDefaults = 0x08000000,
52
55 };
56
59
62
69
78
83
88
93
98
99 //...
100};
#define COMMONUI_API
CFxUISignal< void(void)> & rejected()
CFxUISignal< void(void)> & helpRequest()
@ Ignore
An "Ignore" button defined.Clicking the button causes the dialog to be accepted.
@ NoButton
An invalid button defined.
@ Save
A "Save" button defined.Clicking the button causes the dialog to be accepted.
@ No
A "No" button defined.
@ SaveAll
A "SaveAll" button defined.Clicking the button causes the dialog to be accepted.
@ Close
A "Close" button defined.Clicking the button causes the dialog to be rejected.
@ FirstButton
An "Ok" button defined.
@ NoToAll
A "NoToAll" button defined.
@ Open
An "Open" button defined.Clicking the button causes the dialog to be accepted.
@ Apply
An "Apply" button defined.
@ RestoreDefaults
A "RestoreDefaults" button defined.
@ Cancel
A "Cancel" button defined.Clicking the button causes the dialog to be rejected.
@ Discard
A "Discard" button defined.
@ Abort
An "Abort" button defined.Clicking the button causes the dialog to be rejected.
@ Help
A "Help" button defined.
@ Yes
A "Yes" button defined.
@ LastButton
A "RestoreDefaults" button defined.
@ YesToAll
A "YesToAll" button defined.
@ Ok
An "Ok" button defined.Clicking the button causes the dialog to be accepted.
@ Retry
A "Retry" button defined.Clicking the button causes the dialog to be accepted.
@ Reset
A "Reset" button defined.
CFxUISignal< void(void)> & accepted()
CFxUIDialogButtonBox(CFxUIDialog *parent)
CFxUISignal< void(CFxUIPushButton *button)> & clicked()
CFxUIPushButton * button(StandardButton which) const
void setStandardButtons(StandardButton buttons)
CFxUIObject * parent()
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)