RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AngelOgre_OverlayElement.h
Go to the documentation of this file.
1 
2 namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3 
12  // Register the GuiMetricsMode enum
14  {
18  }
19 
20  // Register the GuiHorizontalAlignment enum
21  enum GuiHorizontalAlignment
22  {
23  GHA_LEFT,
24  GHA_CENTER,
25  GHA_RIGHT
26  }
27 
28 
29  class OverlayElement
30  {
31  public:
32  // (order roughly matches OgreOverlayElement.h)
33  const string& getName() const;
34  // > visibility
35  void show();
36  void hide();
37  bool isVisible() const;
38  // > positioning
39  void setPosition(float, float);
40  void setDimensions(float, float);
41  float getLeft() const;
42  float getTop() const;
43  float getWidth() const;
44  float getHeight() const;
45  void setLeft(float);
46  void setTop(float);
47  void setWidth(float);
48  void setHeight(float);
49  // > material
50  const string& getMaterialName() const;
51  void setMaterialName(const string&in, const string&in);
52  // > caption
53  void setCaption(const string&in);
54  const string& getCaption() const;
55  // > color
56  void setColour(const color&in);
57  const color& getColour() const;
58  // > GuiMetricsMode
61  // > GuiHorizontalAlignment
62  GuiHorizontalAlignment getHorizontalAlignment() const;
63  void setHorizontalAlignment(GuiHorizontalAlignment);
64 
65 
66  };
67 
70 
71 } // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
72 
73 
AngelOgre::getCaption
const string & getCaption() const
AngelOgre::setPosition
void setPosition(float, float)
AngelOgre::setColour
void setColour(const color &in)
AngelOgre::setMaterialName
void setMaterialName(const string &in, const string &in)
AngelOgre::GMM_RELATIVE
@ GMM_RELATIVE
Definition: AngelOgre_OverlayElement.h:16
AngelOgre::getWidth
float getWidth() const
AngelOgre::GHA_CENTER
enum AngelOgre::GuiMetricsMode GHA_CENTER
AngelOgre::show
void show()
AngelOgre::getMaterialName
const string & getMaterialName() const
AngelOgre::GMM_RELATIVE_ASPECT_ADJUSTED
@ GMM_RELATIVE_ASPECT_ADJUSTED
Definition: AngelOgre_OverlayElement.h:17
AngelOgre::getColour
const color & getColour() const
AngelOgre::GuiMetricsMode
GuiMetricsMode
Definition: AngelOgre_OverlayElement.h:13
AngelOgre::setCaption
void setCaption(const string &in)
AngelOgre::setHeight
void setHeight(float)
AngelOgre::getHorizontalAlignment
GuiHorizontalAlignment getHorizontalAlignment() const
AngelOgre::setMetricsMode
void setMetricsMode(GuiMetricsMode)
AngelOgre::setLeft
void setLeft(float)
AngelOgre::setTop
void setTop(float)
AngelOgre::isVisible
bool isVisible() const
AngelOgre
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...
Definition: AngelOgre_AnimationState.h:2
AngelOgre::hide
void hide()
AngelOgre::getMetricsMode
GuiMetricsMode getMetricsMode() const
AngelOgre::setHorizontalAlignment
void setHorizontalAlignment(GuiHorizontalAlignment)
AngelOgre::getName
class AngelOgre::OverlayManager & getName
AngelOgre::GHA_LEFT
enum AngelOgre::GuiMetricsMode GHA_LEFT
AngelOgre::getTop
float getTop() const
AngelOgre::getHeight
float getHeight() const
AngelOgre::setWidth
void setWidth(float)
AngelOgre::GMM_PIXELS
@ GMM_PIXELS
Definition: AngelOgre_OverlayElement.h:15
AngelOgre::getLeft
float getLeft() const
AngelOgre::setDimensions
void setDimensions(float, float)