CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
commonui_inc
UI
FxUIStackedWidget.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
#pragma once
17
18
#include "
FxUIBaseView.h
"
19
23
class
COMMONUI_API
CFxUIStackedWidget
:
public
CFxUIBaseView
24
{
25
public
:
27
CFxUIStackedWidget
();
28
30
virtual
~CFxUIStackedWidget
();
31
39
void
addPage
(
CFxUIBaseView
* view );
40
44
void
removeWidget
(
CFxUIBaseView
*
widget
);
45
51
int
count
()
const
;
52
60
int
indexOf
(
CFxUIBaseView
* view )
const
;
61
69
int
currentIndex
()
const
;
70
76
void
setCurrentIndex
(
int
index
);
77
83
void
setCurrentWidget
(
CFxUIBaseView
*
widget
);
84
88
CFxUIBaseView
*
currentWidget
()
const
;
89
93
CFxUIBaseView
*
widget
(
int
index
)
const
;
94
98
CFxUISignal
<
void
(
int
)>&
currentChanged
();
99
100
//...
101
};
COMMONUI_API
#define COMMONUI_API
Definition
FxCommonFramework.h:20
FxUIBaseView.h
CFxUIBaseView::CFxUIBaseView
CFxUIBaseView()
CFxUISignal
Definition
FxUISignal.h:72
CFxUIStackedWidget::currentWidget
CFxUIBaseView * currentWidget() const
CFxUIStackedWidget::setCurrentIndex
void setCurrentIndex(int index)
CFxUIStackedWidget::CFxUIStackedWidget
CFxUIStackedWidget()
CFxUIStackedWidget::~CFxUIStackedWidget
virtual ~CFxUIStackedWidget()
CFxUIStackedWidget::count
int count() const
CFxUIStackedWidget::currentChanged
CFxUISignal< void(int)> & currentChanged()
CFxUIStackedWidget::widget
CFxUIBaseView * widget(int index) const
CFxUIStackedWidget::addPage
void addPage(CFxUIBaseView *view)
CFxUIStackedWidget::setCurrentWidget
void setCurrentWidget(CFxUIBaseView *widget)
CFxUIStackedWidget::currentIndex
int currentIndex() const
CFxUIStackedWidget::indexOf
int indexOf(CFxUIBaseView *view) const
CFxUIStackedWidget::removeWidget
void removeWidget(CFxUIBaseView *widget)
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
index
GLuint index
Definition
gles2_ext.h:265
Generated on Tue Apr 15 2025 11:29:57