#ifndef _GUIINCLUDE_H_
#define _GUIINCLUDE_H_

//#include "sdl.h"
//#include "SDL_opengl.h"
#include "../../DemoTractor/opengl.hpp"

// Empty space around widgets
const float EMPTY_W = 5;
const float EMPTY_H = 5;

// Widget types
const int GUIUNDEFINED		= 0;
const int GUIBUTTON			= 1;
const int GUITOGGLEBUTTON	= 2;
const int GUISLIDER			= 3;
const int GUITEXTFIELD		= 4;

// Event types
const int GUIEVENT_UNDEFINED = 0;
const int GUIEVENT_MOUSEMOVED = 1;
const int GUIEVENT_MOUSEPRESSED = 2;
const int GUIEVENT_KEYBOARDPRESSED = 3;

int GUISnapValue(int value, int low_limit, int high_limit);

#endif
