Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OgreListSelectionEvent.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 © 2000-2002 The OGRE Team
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  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  License for more details.
00018 
00019 You should have received a copy of the GNU Lesser General  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 */
00025 
00026 /***************************************************************************
00027 OgreListSelectionEvent.h  -  
00028      This event is created whenever a list item is selected.
00029 -------------------
00030 begin                : Dec 03 2002
00031 copyright            : (C) 2002 by Kenny Sabir
00032 email                : kenny@sparksuit.com
00033 ***************************************************************************/
00034 
00035 #ifndef __ListSelectionEvent_H__
00036 #define __ListSelectionEvent_H__
00037 
00038 #include "OgrePrerequisites.h"
00039 #include "OgreString.h"
00040 #include "OgreInputEvent.h"
00041 
00042 namespace Ogre {
00043 
00044     class _OgreExport ListSelectionEvent : public InputEvent
00045     {
00046     protected:
00047     
00048     public:
00049     enum
00050     {
00054         LSE_LIST_SELECTION_FIRST        = 1501,
00055 
00059         LSE_LIST_SELECTION_LAST             = 1501
00060     };
00061 
00065     enum
00066     {
00067         LSE_LIST_SELECTED   = LSE_LIST_SELECTION_FIRST 
00068     };
00069 
00070 
00082          ListSelectionEvent(GuiElement* source, int id, Real when, int modifiers);
00083 
00090         String paramString() const;
00091 
00092     };
00093 
00094 
00095 }
00096 
00097 
00098 #endif 
00099 

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:48:31 2004