Changed Moved resources around
~G2k
This commit is contained in:
34
src/screen.h
Normal file
34
src/screen.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef __screen_h__
|
||||
#define __screen_h__
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
namespace OpenArena
|
||||
{
|
||||
class Screen
|
||||
{
|
||||
public:
|
||||
Screen();
|
||||
int GetWidth() const;
|
||||
int GetHeight() const;
|
||||
int GetColorDepth() const;
|
||||
bool GetFullscreen() const;
|
||||
const char* GetName() const;
|
||||
void SetWidth(int);
|
||||
void SetHeight(int);
|
||||
void Resize(int, int);
|
||||
void SetColorDepth(int);
|
||||
void SetFullscreen(bool);
|
||||
void ToggleFullscreen();
|
||||
void SetName(const char*);
|
||||
void SetName(string);
|
||||
protected:
|
||||
short _width;
|
||||
short _height;
|
||||
char _colorDepth;
|
||||
bool _fullscreen;
|
||||
// public:
|
||||
string _name;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user