Commit Graph

22 Commits

Author SHA1 Message Date
6b53686383 Add support for Viewport and ClipRect setting.
New Method in class Renderer: setViewport/getViewport ,
setClipRect/getClipRect... , drawLine
class Rect can be initialized from SDL_Rect now.
2017-04-07 16:39:35 +08:00
fb6bee96a7 [Fix Bug] Renderer Settings
We changed shared_ptr to weak_ptr in class Renderer and add a Renderer
shared_ptr in class Window.
Now, after calling Window::setRenderer, the original renderer is not
avaliable (SDL_Renderer* is NULL). And a new valid renderer is created.
2017-04-05 11:52:14 +08:00
af18ae23da Fix bug in setRenderer 2017-04-05 11:43:01 +08:00
f78eb839bf Rewrite setRenderer with template 2017-04-05 11:16:44 +08:00
592a4bbae4 Add Font Style Support 2017-04-05 09:23:13 +08:00
f3b1b2208c Add Timer Support 2017-04-04 20:33:41 +08:00
499c25ddd3 Remove Event Handling in main file 2017-04-04 09:49:18 +08:00
ccb47aad08 Add Start Paramenters API 2017-03-30 11:16:57 +08:00
32f91125e9 Add LogSystem 2017-03-24 13:50:48 +08:00
9a632324b7 Add TextInput in SDLSystem 2017-03-24 11:07:27 +08:00
c7c59975ca Add Font::ready()
Now we can check if a Font Object is Ready. ( Font Library Loaded )
2017-03-24 10:46:33 +08:00
23553b1330 Set Renderer::Renderer() to public
Renderer::isReady() is added to check if the renderer is ready.
2017-03-23 14:01:06 +08:00
0bd9811452 Visual Studio Special Version
We have met a few problems on Visual Studio.
We have to change the header and source file to pass the compilation.
2017-03-23 12:22:02 +08:00
7ae6b3442a Add SuperCopy.
Use: SDL_RenderCopyEx
2017-03-21 17:03:03 +08:00
2c1f055a49 SimpleMessageBox are supported.
Use: SDL_ShowSimpleMessageBox
2017-03-21 13:58:48 +08:00
3e0b0739ba Add PowerState Support. 2017-03-21 12:30:29 +08:00
ea9e6e8ac4 [New] Add drawPoint to Renderer 2017-03-14 17:29:22 +08:00
7dd70b971a StringEngine Added. 2017-03-09 18:52:57 +08:00
df4d96dfed Android Platform APIs Supported. 2017-03-09 18:00:19 +08:00
409c126a78 Update MiniEngine.h 2017-03-02 13:11:50 +08:00
c3d477b818 Update MiniEngine.h 2017-02-25 22:40:48 +08:00
0c6db7e28a Update and rename MiniEngine_Simple.hpp to MiniEngine.h 2017-02-25 09:29:34 +08:00