40#ifndef INCLUDED_DISTI_DISPLAY_FRAME_H
41#define INCLUDED_DISTI_DISPLAY_FRAME_H
51#ifndef GLS_EDITOR_CODE
67static const int MAX_PLAYABLE = 20;
241 inline void SetResource(
const std::string& resourceName,
const std::string& resourceVal )
249 inline void SetResource(
const char* resourceName,
const char* resourceVal )
260 std::string stringVal = value;
271 std::string stringVal = value;
Definition: disti_metadata.h:514
Definition: disti_metadata.h:87
Definition: component_light_mgr.h:56
Definition: display_frame.h:87
TexturePalette * texturePalette
Definition: display_frame.h:137
virtual DisplayObject * DragObject()
unsigned int _currentCursor
Definition: display_frame.h:104
void PushObject(DisplayObject *obj)
virtual bool MultitouchEnabled()
virtual void FocusObject(DisplayObject *obj)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
DisplayFrame(int width, int height, bool allocateObjects=true)
virtual void ClearDragAndFocus()
DragObjectMap * _dragObjectMap
Holds a focus object for each cursor.
Definition: display_frame.h:103
virtual void NotifyAttributeChanged(const AttributeName &name) override
static void RestoreOpenGLState()
ComponentLightMgr * LightMgr()
Definition: display_frame.h:426
GLbitfield _clearBitfield
Definition: display_frame.h:99
DynamicMaterialArray _materialPalette
Definition: display_frame.h:97
static void SetOpenGLDefaultState(bool saveVal)
DisplayObject * GetDragObjectForCursor(unsigned int cursorID)
bool _cullingEnabled
Definition: display_frame.h:93
virtual void SetResource_CRTClean(const char *name, const char *value)
Group * objects
Definition: display_frame.h:139
void LightMgr(ComponentLightMgr *val)
Definition: display_frame.h:435
virtual void DragObject(DisplayObject *obj)
const DistiAttribDict & FrameAttribDict() const
Definition: display_frame.h:420
void InsertObject(DisplayObject *obj, int loc)
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL)
ComponentLightMgr * _lightMgr
Definition: display_frame.h:98
std::string GetResource(const char *resourceName)
Definition: display_frame.h:268
virtual void SetResources_CRTClean(const char *buf)
virtual void GetResourceFree_CRTClean(char *memoryToFree)
virtual EventCompressor< DisplayFrame > * GetEventCompressor()
Definition: display_frame.h:130
virtual void SetRedraw()
Definition: display_frame.h:389
std::string GetResource(const std::string &resourceName)
Definition: display_frame.h:257
virtual void SetResources(std::istream &instr)
virtual char * GetResource_CRTClean(const char *name)
virtual void WriteResources(const char *filename, GlsResourceFilter *filter=NULL)
virtual void GetResourcesFree_CRTClean(char *memoryToFree)
GLbitfield ClearBitfield()
Definition: display_frame.h:158
DisplayObject * FindDragObject()
DynamicMaterialArray & MaterialPalette()
Definition: display_frame.h:423
void SetResource(const std::string &resourceName, const std::string &resourceVal)
Definition: display_frame.h:241
void ClearBitfield(GLbitfield bitField)
Definition: display_frame.h:153
virtual void CurrentCursor(unsigned int cursor_id)
virtual float Scale()
Definition: display_frame.h:134
void CullingEnabled(const bool enabled)
virtual void ClearFocus()
DistiAttribDict & FrameAttribDict()
Definition: display_frame.h:417
void InsertObject(DisplayObject *obj, bool reparent=true, bool recalculateBoundingbox=true, int loc=-1)
bool _multitouchEnabled
Definition: display_frame.h:105
SoundSystem * _sound_player
Definition: display_frame.h:138
void SetTexturePaletteSize(int cnt)
virtual DistiAttributeBase & Resource(const char *name)
std::string _componentHeaderFileName
Definition: display_frame.h:101
int _height
Definition: display_frame.h:95
virtual DisplayObject * FocusObject()
virtual void ReadResources(const char *filename)
virtual void MultitouchEnabled(bool enabled)
virtual InputHandler * GetInputHandler()
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual DisplayObject * HandleDisplayEvent(DisplayEvent *ev)
int _width
Definition: display_frame.h:94
float _lastPickedDepth
Definition: display_frame.h:96
unsigned int _cursorsDown
Definition: display_frame.h:106
void SetResource(const char *resourceName, const char *resourceVal)
Definition: display_frame.h:249
virtual char * GetResources_CRTClean(GlsResourceFilter *filter)
Definition: disti_metadata.h:734
Definition: disti_metadata.h:220
Definition: gls_resources.h:51
Definition: scoped_ptr.h:54
Definition: texture_palette.h:184
Definition: weak_referenceable_mixin.h:53
The disti::DisplayObject class and global enumerations.
The disti::DynamicArray class. A templated array of objects capable of dynamically growing.
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
A file for all GL Studio files to include.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
The GlsPainter interface.
The Image class. All textures are converted internally into Images.
The disti::Material class.
The Message functions. Implements Messages to the user in the form of pop-up dialog boxes,...
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
DynamicArray< Material > DynamicMaterialArray
Definition: display_frame.h:71
const char META_COMPONENT_HEADER_FILE_NAME[]
Attribute name for ComponentHeaderFile.
Definition: display_frame.h:69
A smart pointer with unique ownership – poor man's std::unique_ptr.
The SoundSystem class for playback of audio files.
The disti::TexturePalette class.
Generally useful defines, macros, enumerations and function prototypes.
The disti::Vertex class. A class for manipulating 3D vertices.
weak reference and related classes