CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUITabWidget.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
24{
25public:
28
30 virtual ~CFxUITabWidget();
31
39 void addTab( CFxUIBaseView* view, const CFxUIString& name );
40
48 int indexOf( CFxUIBaseView* view ) const;
49
57 void setTabText( int index, const CFxUIString& text );
58
66 void setTabEnabled( int index, bool enabled );
67
75 int currentIndex() const;
76
83
90
95
100
105
110
111 //...
112};
#define COMMONUI_API
CFxString CFxUIString
CFxUISignal< void(int)> & tabCloseRequested()
CFxUISignal< void(int)> & tabBarClicked()
CFxUISignal< void(int)> & currentChanged()
void addTab(CFxUIBaseView *view, const CFxUIString &name)
int indexOf(CFxUIBaseView *view) const
virtual ~CFxUITabWidget()
void setTabText(int index, const CFxUIString &text)
void setCurrentWidget(CFxUIBaseView *widget)
CFxUISignal< void(int)> & tabBarDoubleClicked()
void setCurrentIndex(int index)
int currentIndex() const
void setTabEnabled(int index, bool enabled)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLuint index
Definition gles2_ext.h:265
GLuint const GLchar * name
Definition gles2_ext.h:265