Rigs of Rods
2023.09
Soft-body Physics Simulation
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
Loading...
Searching...
No Matches
source
main
gfx
ColoredTextAreaOverlayElementFactory.h
Go to the documentation of this file.
1
/*
2
This source file is part of Rigs of Rods
3
Copyright 2005-2012 Pierre-Michel Ricordel
4
Copyright 2007-2012 Thomas Fischer
5
6
For more information, see http://www.rigsofrods.org/
7
8
Rigs of Rods is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License version 3, as
10
published by the Free Software Foundation.
11
12
Rigs of Rods is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#pragma once
22
23
#include "
Application.h
"
24
25
#include <OgreString.h>
26
#include <Overlay/OgreOverlayElement.h>
27
#include <Overlay/OgreOverlayElementFactory.h>
28
#include "
ColoredTextAreaOverlayElement.h
"
29
31
class
ColoredTextAreaOverlayElementFactory
:
public
Ogre::OverlayElementFactory
32
{
33
public
:
35
Ogre::OverlayElement*
createOverlayElement
(
const
Ogre::String& instanceName)
36
{
37
return
new
ColoredTextAreaOverlayElement
(instanceName);
38
}
39
41
const
Ogre::String&
getTypeName
()
const
42
{
43
static
Ogre::String name =
"ColoredTextArea"
;
44
return
name;
45
}
46
};
Application.h
Central state/object manager and communications hub.
ColoredTextAreaOverlayElement.h
ColoredTextAreaOverlayElementFactory
Factory for creating TextAreaOverlayElement instances.
Definition
ColoredTextAreaOverlayElementFactory.h:32
ColoredTextAreaOverlayElementFactory::createOverlayElement
Ogre::OverlayElement * createOverlayElement(const Ogre::String &instanceName)
See OverlayElementFactory.
Definition
ColoredTextAreaOverlayElementFactory.h:35
ColoredTextAreaOverlayElementFactory::getTypeName
const Ogre::String & getTypeName() const
See OverlayElementFactory.
Definition
ColoredTextAreaOverlayElementFactory.h:41
ColoredTextAreaOverlayElement
Definition
ColoredTextAreaOverlayElement.h:29
Generated on Fri Jan 2 2026 09:37:02 for Rigs of Rods by
1.9.8