# OgreOverlayElementCommands.h

Go to the documentation of this file.

    00001 /*
    00002 -----------------------------------------------------------------------------
    00003 This source file is part of OGRE
    00004     (Object-oriented Graphics Rendering Engine)
    00005 For the latest info, see http://www.ogre3d.org/
    00006
    00007 Copyright (c) 2000-2006 Torus Knot Software Ltd
    00008 Also see acknowledgements in Readme.html
    00009
    00010 This program is free software; you can redistribute it and/or modify it under
    00011 the terms of the GNU Lesser General Public License as published by the Free Software
    00012 Foundation; either version 2 of the License, or (at your option) any later
    00013 version.
    00014
    00015 This program is distributed in the hope that it will be useful, but WITHOUT
    00016 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    00017 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
    00018
    00019 You should have received a copy of the GNU Lesser General Public License along with
    00020 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
    00021 Place - Suite 330, Boston, MA 02111-1307, USA, or go to
    00022 http://www.gnu.org/copyleft/lesser.txt.
    00023
    00024 You may alternatively use this source under the terms of a specific version of
    00025 the OGRE Unrestricted License provided you have obtained such a license from
    00026 Torus Knot Software Ltd.
    00027 -----------------------------------------------------------------------------
    00028 */
    00029 #ifndef __OverlayElementEmitterCommands_H__
    00030 #define __OverlayElementEmitterCommands_H__
    00031
    00032 #include "OgrePrerequisites.h"
    00033 #include "OgreStringInterface.h"
    00034
    00035 namespace Ogre  {
    00036
    00037
    00038     namespace OverlayElementCommands {
    00040         class _OgreExport CmdLeft : public ParamCommand
    00041         {
    00042         public:
    00043             String doGet(const void* target) const;
    00044             void doSet(void* target, const String& val);
    00045         };
    00047         class _OgreExport CmdTop : public ParamCommand
    00048         {
    00049         public:
    00050             String doGet(const void* target) const;
    00051             void doSet(void* target, const String& val);
    00052         };
    00054         class _OgreExport CmdWidth : public ParamCommand
    00055         {
    00056         public:
    00057             String doGet(const void* target) const;
    00058             void doSet(void* target, const String& val);
    00059         };
    00061         class _OgreExport CmdHeight : public ParamCommand
    00062         {
    00063         public:
    00064             String doGet(const void* target) const;
    00065             void doSet(void* target, const String& val);
    00066         };
    00068         class _OgreExport CmdMaterial : public ParamCommand
    00069         {
    00070         public:
    00071             String doGet(const void* target) const;
    00072             void doSet(void* target, const String& val);
    00073         };
    00075         class _OgreExport CmdCaption : public ParamCommand
    00076         {
    00077         public:
    00078             String doGet(const void* target) const;
    00079             void doSet(void* target, const String& val);
    00080         };
    00082         class _OgreExport CmdMetricsMode : public ParamCommand
    00083         {
    00084         public:
    00085             String doGet(const void* target) const;
    00086             void doSet(void* target, const String& val);
    00087         };
    00089         class _OgreExport CmdHorizontalAlign : public ParamCommand
    00090         {
    00091         public:
    00092             String doGet(const void* target) const;
    00093             void doSet(void* target, const String& val);
    00094         };
    00096         class _OgreExport CmdVerticalAlign : public ParamCommand
    00097         {
    00098         public:
    00099             String doGet(const void* target) const;
    00100             void doSet(void* target, const String& val);
    00101         };
    00103         class _OgreExport CmdVisible : public ParamCommand
    00104         {
    00105         public:
    00106             String doGet(const void* target) const;
    00107             void doSet(void* target, const String& val);
    00108         };
    00109
    00110     }
    00111 }
    00112
    00113 #endif
    00114
    00115

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat May 10 16:25:00 2008