Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IVideoModeList.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __IRR_I_VIDEO_MODE_LIST_H_INCLUDED__
6 #define __IRR_I_VIDEO_MODE_LIST_H_INCLUDED__
7 
8 #include "IReferenceCounted.h"
9 #include "dimension2d.h"
10 
11 namespace irr
12 {
13 namespace video
14 {
15 
17 
23  class IVideoModeList : public virtual IReferenceCounted
24  {
25  public:
26 
28 
29  virtual s32 getVideoModeCount() const = 0;
30 
32 
34  virtual core::dimension2d<u32> getVideoModeResolution(s32 modeNumber) const = 0;
35 
37 
41  virtual core::dimension2d<u32> getVideoModeResolution(const core::dimension2d<u32>& minSize, const core::dimension2d<u32>& maxSize) const = 0;
42 
44 
46  virtual s32 getVideoModeDepth(s32 modeNumber) const = 0;
47 
49 
50  virtual const core::dimension2d<u32>& getDesktopResolution() const = 0;
51 
53 
54  virtual s32 getDesktopDepth() const = 0;
55  };
56 
57 } // end namespace video
58 } // end namespace irr
59 
60 
61 #endif
62 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:57:13 by Doxygen (1.8.1)