Home
Forum
Documentation
C++
|
Lua
Issue Tracker
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
AllComponents.hpp
1
/*
2
Cafu Engine, http://www.cafu.de/
3
Copyright (c) Carsten Fuchs and other contributors.
4
This project is licensed under the terms of the MIT license.
5
*/
6
7
#ifndef CAFU_GUISYS_ALL_COMPONENTS_HPP_INCLUDED
8
#define CAFU_GUISYS_ALL_COMPONENTS_HPP_INCLUDED
9
10
#include "TypeSys.hpp"
11
12
13
namespace
cf
14
{
15
namespace
GuiSys
16
{
17
/// All classes in the ComponentBaseT hierarchy must register their TypeInfoT
18
/// members with this TypeInfoManT instance.
19
cf::TypeSys::TypeInfoManT
& GetComponentTIM();
20
21
/// Returns whether the given component type is fundamental to its parent window.
22
/// Fundamental components are explicit C++ members of class WindowT. Users cannot delete them in the GUI
23
/// Editor or via script, and cannot add new ones in the GUI Editor. (It is possible to add additional
24
/// ones via script, but not useful.)
25
/// Note that most components are not fundamental, but "custom": Users can freely add or delete them in
26
/// the GUI Editor or via scripts.
27
bool
IsFundamental(
const
cf::TypeSys::TypeInfoT
* CompType);
28
}
29
}
30
31
#endif
cf::TypeSys::TypeInfoManT
This class manages the type infos.
Definition:
TypeSys.hpp:145
cf::TypeSys::TypeInfoT
This class keeps type information (about an entity class that occurs in the game).
Definition:
TypeSys.hpp:79
Libs
GuiSys
AllComponents.hpp
Generated on Wed Jun 22 2016 11:29:36 for Cafu Engine by
1.8.6
Copyright © 2002-2016 Carsten Fuchs Software.