Om  1.0.0
A universal framework for multimedia simulation
Public Types | Static Public Member Functions | List of all members
om::editors::base::EditorImages Class Reference

A class that stores the user preferences for a collection of resource type editors. More...

#include <omEditorImages.h>

Public Types

enum  Type {
  TYPES, RESOURCE_SET, PROTOTYPE, SCENE,
  SEQUENCE, TRANSFORM, POSITION, ORIENTATION,
  CAMERA, LIGHT, GRAPHICS_OBJECT, GRAPHICS_SHAPE,
  GRAPHICS_MATERIAL, VERTEX_BUFFER, INDEX_BUFFER, TEXTURE,
  IMAGE, SOUND_SOURCE, SOUND_LISTENER, SOUND_OBJECT,
  SOUND_SHAPE, SOUND_MATERIAL, SOUND_PLUGIN, DIRECTIONAL_IR,
  SOUND, PHYSICS_OBJECT, PHYSICS_SHAPE, PHYSICS_MATERIAL,
  CONSTRAINT, FORCE, FORCE_FIELD, CHARACTER_CONTROLLER
}
 An enum containing standard GUI image types. More...
 

Static Public Member Functions

static Bool get (Type imageType, const Vector2f &size, const Color4f &color, GUIImage &image)
 Get an image object that represents the specified standard image type. More...
 
static GUIImage get (Type imageType, const Vector2f &size, const Color4f &color)
 Return an image object that represents the specified standard image type. More...
 

Detailed Description

A class that stores the user preferences for a collection of resource type editors.

Member Enumeration Documentation

An enum containing standard GUI image types.

Enumerator
TYPES 

An icon representing the concept of object types.

RESOURCE_SET 

An icon representing a resource set.

PROTOTYPE 

An icon representing a prototype.

SCENE 

An icon representing a scene.

SEQUENCE 

An icon representing a sequence.

TRANSFORM 

An icon representing a 3D transformation.

POSITION 

An icon representing a 3D position.

ORIENTATION 

An icon representing a 3D orientation.

CAMERA 

An icon representing a camera.

LIGHT 

An icon representing a light source.

GRAPHICS_OBJECT 

An icon representing a graphics object.

GRAPHICS_SHAPE 

An icon representing a graphics shape.

GRAPHICS_MATERIAL 

An icon representing a graphics material.

VERTEX_BUFFER 

An icon representing a vertex buffer.

INDEX_BUFFER 

An icon representing an index buffer.

TEXTURE 

An icon representing a texture.

IMAGE 

An icon representing an image.

SOUND_SOURCE 

An icon representing a sound source.

SOUND_LISTENER 

An icon representing a sound listener.

SOUND_OBJECT 

An icon representing a sound object.

SOUND_SHAPE 

An icon representing a sound shape.

SOUND_MATERIAL 

An icon representing a sound material.

SOUND_PLUGIN 

An icon representing a sound plugin.

DIRECTIONAL_IR 

An icon representing a directional impulse response.

SOUND 

An icon representing a sound.

PHYSICS_OBJECT 

An icon representing a physics object.

PHYSICS_SHAPE 

An icon representing a physics shape.

PHYSICS_MATERIAL 

An icon representing a physics material.

CONSTRAINT 

An icon representing a physics constraint.

FORCE 

An icon representing a physics force.

FORCE_FIELD 

An icon representing a physics force field.

CHARACTER_CONTROLLER 

An icon representing a character controller.

Member Function Documentation

static Bool om::editors::base::EditorImages::get ( Type  imageType,
const Vector2f size,
const Color4f color,
GUIImage image 
)
static

Get an image object that represents the specified standard image type.

The image is created with the given size and tint color. The method returns whether or not an image for that type was found.

static GUIImage om::editors::base::EditorImages::get ( Type  imageType,
const Vector2f size,
const Color4f color 
)
static

Return an image object that represents the specified standard image type.

The image is created with the given size and tint color.


The documentation for this class was generated from the following file: