FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiPanelSet.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\adui17\AdUi.h"
20#include <afxwin.h>
21
22class CAdUiPanel;
23class CAdUiTheme;
24class CObject;
25class CSize;
26
27class ARX_API CAdUiPanelSet : public CWnd
28{
29public:
31
32public:
35 CAdUiPanel * GetPanel(int)const ;
36 CAdUiTheme * GetTheme(void)const ;
39 int GetActivePanelIndex(void)const ;
40 int GetPanelCount(void)const ;
42 int HasVisiblePanel(void)const ;
45 int RemovePanel(int);
50 virtual ~CAdUiPanelSet(void);
51 virtual int GetMinimumSize( CSize &)const ;
52 virtual int Load( IUnknown *);
53 virtual int Save( IUnknown *);
54
55protected:
56 long OnActivatePanel(unsigned int,long);
57 long OnAdUiThemeChanged(unsigned int,long);
58 DECLARE_MESSAGE_MAP()
59 virtual int AdUiThemeModified( CAdUiTheme *);
60 virtual int OnActivatedPanel( CAdUiPanel *);
61 virtual int UpdateLayout(void);
62 void OnPaint(void);
63 void OnSize(unsigned int,int,int);
64
65};
int RemovePanel(CAdUiPanel *)
DECLARE_DYNCREATE(CAdUiPanelSet)
CAdUiPanelSet(void)
int HasVisiblePanel(void) const
int SetIconMode(AdUi::AdUiIconMode)
virtual ~CAdUiPanelSet(void)
CAdUiPanel * GetActivePanel(void) const
int SetActivePanel(int)
CAdUiTheme * GetTheme(void) const
long OnAdUiThemeChanged(unsigned int, long)
virtual int Save(IUnknown *)
int GetPanelCount(void) const
int GetActivePanelIndex(void) const
int SetTheme(CAdUiTheme *)
virtual int GetMinimumSize(CSize &) const
int AddPanel(CAdUiPanel *)
int InsertPanel(int, CAdUiPanel *)
int RemovePanel(int)
virtual int Load(IUnknown *)
int SetActivePanel(CAdUiPanel *)
CAdUiPanel * GetPanel(int) const
int GetPanelIndex(CAdUiPanel *) const
long OnActivatePanel(unsigned int, long)
AdUi::AdUiIconMode GetIconMode(void) const