7cecae5695
Fix Compile error on low level SDL2.
2017-06-01 22:50:17 +08:00
d8e8deb031
Add template-like get method in class SharedLibrary
2017-05-31 22:30:10 +08:00
d450ce8636
Add support for set/get window opacity
2017-05-31 22:17:30 +08:00
7822544701
Add More Functions to class Surface
2017-05-25 18:34:59 +08:00
79b97736b4
Add more functions to class Surface
2017-05-23 13:05:09 +08:00
1b2ba7b2d8
Update class Cursor. Fix compile bug in class Window
2017-05-22 19:17:02 +08:00
14c31689be
Add more support about keyboard.
...
Now class Window has default constructor.
2017-05-22 18:47:28 +08:00
08a858acf0
Add Clipboard Support
2017-05-22 18:27:56 +08:00
ee8780fe30
Fix Runtime Bug in class Timer
...
Now callable and vcallable are copied, while args... remains referenced.
2017-05-22 15:02:04 +08:00
a7ab24d8ab
Fix bug in class Timer (VoidCallable Constructor)
2017-05-21 21:08:53 +08:00
3e995ba610
Add XXX::release() implement.
2017-05-18 18:14:29 +08:00
c46455a2e7
Add Release Interface (For Global Objects Managing)
2017-05-18 17:58:10 +08:00
b6ecc0f856
Enhanced Window Constructor
2017-05-16 22:33:21 +08:00
65435476b6
Add Configure Header
2017-05-16 16:27:35 +08:00
6901b0054c
Add font style single-query methods
2017-05-16 16:23:40 +08:00
00a3000d1d
Fix bug in Font::setFontStyle
2017-05-16 15:52:00 +08:00
b40db11955
Query of font size is supported
2017-05-16 15:23:34 +08:00
d77c894adc
Add SharedLibrary Support
2017-05-11 11:53:26 +08:00
d8d77a5bd2
Add more functions to class Rect
2017-05-09 10:53:02 +08:00
3e2479e216
Add void timer function support. (without metaprogramming)
2017-05-05 09:02:39 +08:00
f4c629393b
Fix compile warning generated by VC.
...
Add LooperWithTime.
Fix Bug: Change Lambda Capture from "&" (Keep Reference) to "=" (Copy).
Before this fix, the following code will cause a runtime error:
int AppMain()
{
Window wnd("Title", 1280, 768);
Renderer rnd = wnd.getRenderer();
Looper lp;
lp + make_pair(SDL_QUIT, []() {printf("Quit!\n");});
lp.run();
return 0;
}
Now, the bug is fixed~!
2017-05-02 22:40:30 +08:00
87b262325f
use [[deprecated]] instead of attribute
2017-05-02 12:26:17 +08:00
76010ebd43
Add Cursor activating method.
2017-04-22 10:33:18 +08:00
bf3fc19eaa
Add class Cursor
2017-04-21 11:25:08 +08:00
9786aea48a
Add Grab setter and getter to class Window
...
Grab:
When input is grabbed the mouse is confined to the window.
If the caller enables a grab while another window is currently grabbed, the other window loses its grab in favor of the caller's window.
2017-04-21 10:52:49 +08:00
06f2d8e448
Add Template Variable Parameter For class Timer
2017-04-19 14:11:08 +08:00
bbb8bed2db
Merge branch 'mingw-dev' into pre-merge
...
Ready For Release!
2017-04-14 21:11:46 +08:00
d9b26de617
Add Scaled Blit Functions to Surface
2017-04-14 20:46:07 +08:00
3043ae0684
Add Texture-like functions in class Surface
2017-04-13 09:03:44 +08:00
a2a3e493c5
Add Rendering-like functions in class Surface
2017-04-12 09:50:12 +08:00
40c5f0dc91
Add some power functions
2017-04-12 09:26:03 +08:00
085463c873
Add BlendMode caster
2017-04-12 09:22:15 +08:00
3267be4a4e
Add support of getting width and height of Surface.
2017-04-12 09:03:03 +08:00
a315daa453
[New] Font support rendering to Surface
...
Now Font support rendering to Surface instead of Texture. If Renderer
not passed in, Font will generate a Surface.
2017-04-12 08:55:25 +08:00
c7a60f90a2
[Update] Change Smart Pointers to internal.
...
Smart pointers are now internal variables (with a '_' before its name).
And 3 methods are added (_get, _set, _clear)
[New] Now Renderer support loading surface and texture from RWop.
2017-04-12 08:40:12 +08:00
94a8afd09c
Fix compile error in VS. Include path changed.
2017-04-10 21:14:12 +08:00
7570bee178
Add Surface::savePNG, powered by IMG_SavePNG.
2017-04-10 19:52:40 +08:00
01735059fc
Add Support for SDL_RWops
2017-04-10 15:27:24 +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