Initial
This commit is contained in:
commit
62d2de747e
1 changed files with 130940 additions and 0 deletions
21
Code blocks projekt/modules/auxiliary/auxSDL.h.save
Normal file
21
Code blocks projekt/modules/auxiliary/auxSDL.h.save
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef AUXSDL_H_INCLUDED
|
||||
#define AUXSDL_H_INCLUDED
|
||||
|
||||
#include "../global.h"
|
||||
#include "unicodePrint.h"
|
||||
|
||||
#define mouseSize 20 /**< Az egérmutató négyzetnek az oldalhosszusága. */
|
||||
|
||||
typedef struct mousePos {
|
||||
Uint16 x, y;
|
||||
} mousePos;
|
||||
|
||||
SDL_Cursor* openWindow();
|
||||
Uint32 timer(Uint32 ms, void* param);
|
||||
void setMousePosition(Uint16 x, Uint16 y);
|
||||
mousePos getMousePosition();
|
||||
void drawMouse(bool isBW);
|
||||
bool isMouseOver(int yStart, int ySize, int y);
|
||||
bool isMouseOverRect(int xCenter, int yCenter, int xSize, int ySize);
|
||||
|
||||
#endif // AUXSDL_H_INCLUDED
|
||||
Loading…
Reference in a new issue