FRX SDK Documentation
2025 SP0
Loading...
Searching...
No Matches
SDK
FxARX
_impl_include
adui17
CAdUiThemeManager.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
class
CAdUiTheme
;
20
class
CAdUiThemeMgrReactor
;
21
template
<
typename
Param1,
typename
Param2 >
class
StrTraitMFC_DLL
;
22
23
class
ARX_API
CAdUiThemeManager
24
{
25
public
:
26
void
ActiveThemeChanged
(
void
);
27
CAdUiThemeManager
(
void
);
28
~CAdUiThemeManager
(
void
);
29
CAdUiTheme
*
GetTheme
(
wchar_t
const
*);
30
int
HasTheme
(
wchar_t
const
*)
const
;
31
int
ReleaseTheme
(
CAdUiTheme
*);
32
void
SystemColorChanged
(
void
);
33
34
private
:
35
int
GetThemeIndex(
CAdUiTheme
const
*)
const
;
36
int
GetThemeIndex(
wchar_t
const
*)
const
;
37
int
RegisterThemeMgrReactor(
CAdUiThemeMgrReactor
*);
38
int
RemoveTheme(
wchar_t
const
*);
39
int
UnregisterThemeMgrReactor(
CAdUiThemeMgrReactor
*);
40
void
Cleanup(
void
);
41
void
NotifySysColorReactors(
void
);
42
void
NotifyThemeAddedReactors(
CStringW
const
&);
43
44
};
ARX_API
#define ARX_API
Definition
_impl_include/ac1st/CommonHeader.h:21
AcArrayObjectCopyReallocator
Definition
_AcArray.h:21
CAdUiTheme
Definition
CAdUiTheme.h:24
CAdUiThemeManager
Definition
CAdUiThemeManager.h:24
CAdUiThemeManager::GetTheme
CAdUiTheme * GetTheme(wchar_t const *)
CAdUiThemeManager::HasTheme
int HasTheme(wchar_t const *) const
CAdUiThemeManager::~CAdUiThemeManager
~CAdUiThemeManager(void)
CAdUiThemeManager::ReleaseTheme
int ReleaseTheme(CAdUiTheme *)
CAdUiThemeManager::CAdUiThemeManager
CAdUiThemeManager(void)
CAdUiThemeManager::SystemColorChanged
void SystemColorChanged(void)
CAdUiThemeManager::ActiveThemeChanged
void ActiveThemeChanged(void)
CAdUiThemeMgrReactor
Definition
CAdUiThemeMgrReactor.h:21
StrTraitMFC_DLL
Definition
AcadPlotHostAppServices.h:19
Generated on Mon Mar 4 2024 12:50:08