Newer
Older
invertedlogic / InvertedLogic / iLFramework / toolkit / include / GL / Program.h
@John Ryland John Ryland on 10 Nov 2019 846 bytes rename
#ifndef PROGRAM_H
#define PROGRAM_H


// Windows Headers
#define Rectangle WinRectangle
#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
#include <windows.h>
#undef Rectangle

#include <string>
#include <ctype.h>
#include "Events.h"
#include "Widget.h"
#include "Graphics.h"


#include "Namespace.h"
BEGIN_NAMESPACE


extern float g_zoomFactor;
extern float g_xOff;
extern float g_yOff;
extern int mouseX, mouseY, mouseButtons;


void AppMouseUpdate(int a_mouseX, int a_mouseY, int a_buttons, MouseButtons a_mouseButtons, MouseState a_mouseState);
void AppPaint(CUTE_PaintTarget a_target);
void AppInit(HWND a_hwnd, CUTE_PaintTarget a_target);
void AppDestroy(HWND a_hwnd);
void AppWheelUpdate(int a_wheel);
void AppContruct();


END_NAMESPACE


#endif // PROGRAM_H