mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
#pragma once
|
|
#include "include.h"
|
|
#include "_BlendMode.h"
|
|
#include "_WindowType.h"
|
|
#include "_SystemCursorType.h"
|
|
#include "_FontStyle.h"
|
|
#include "_FlipMode.h"
|
|
#include "_SDLInitFlag.h"
|
|
#include "_IMGInitFlag.h"
|
|
#include "_MixInitFlag.h"
|
|
#include <vector>
|
|
#include "begin_code.h"
|
|
namespace _internal
|
|
{
|
|
BlendMode getBlendModeFromSDLBlendMode(SDL_BlendMode mode);
|
|
SDL_BlendMode getSDLBlendModeFromBlendMode(BlendMode mode);
|
|
/// FIXME: return SDL_WindowFlags or Uint32 ?
|
|
Uint32 getSDLWindowFlagsFromWindowType(WindowType type);
|
|
SystemCursorType getCursorTypeFromSDLSystemCursor(SDL_SystemCursor id);
|
|
SDL_SystemCursor getSDLSystemCursorFromSystemCursorType(SystemCursorType type);
|
|
int getTTFFontStyleFromFontStyle(FontStyle style);
|
|
std::vector<FontStyle> getFontStyleVecFromMixedTTFFontStyle(int Mixed_TTF_Font_Style);
|
|
SDL_RendererFlip getSDLRendererFlipFromFlipMode(FlipMode mode);
|
|
Uint32 getUint32FromSDLInitFlag(SDLInitFlag flag);
|
|
int getIntFromIMGInitFlag(IMGInitFlag flag);
|
|
int getIntFromMixInitFlag(MixInitFlag flag);
|
|
}/// End of namespace _internal
|
|
#include "end_code.h"
|