Commit Graph

169 Commits

Author SHA1 Message Date
c0677b055b Add CRC32 calculating support. 2017-06-06 19:05:52 +08:00
e183a09f34 Add class UniRandom. (Random Number Generator) 2017-06-06 18:38:28 +08:00
d8e2bb9e2b Add Surface compare function.
Build Notice!:
I got a link error while compiling the full project. The link error is
"undefined reference to SDL_GetRGBA" and "undefined reference to
SDL_snprintf"...
Currently there is one way to solve it : Link SDL2test.lib first (Before
SDL2 and SDL2main)
2017-05-24 18:17:29 +08:00
1cdf7956f6 Need Surface operating methods.
Merge branch 'mingw-dev' into mingw-dev-test
2017-05-24 18:03:44 +08:00
709e67a40f Fix compile error on C4 2017-05-24 03:09:27 +08:00
337694bd89 Fix compile error 2017-05-24 02:57:23 +08:00
f2d60629a0 Use new UTF8-GBK converter. 2017-05-23 22:31:57 +08:00
79b97736b4 Add more functions to class Surface 2017-05-23 13:05:09 +08:00
1e8a0d6155 Add SDLTest lib support 2017-05-23 12:26:42 +08:00
1b2ba7b2d8 Update class Cursor. Fix compile bug in class Window 2017-05-22 19:17:02 +08:00
52cb15482e More Event Functions 2017-05-22 19:07:26 +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
6c4f1c345d Merge branch 'mingw-dev-xml-parser' into mingw-dev
Provide XML Parsing
2017-05-21 10:20:08 +08:00
54e057b590 Add More Function of Attr and Node 2017-05-20 16:00:19 +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
26beb30f77 Fix bug in StringEngine 2017-05-18 13:04:20 +08:00
547be65c3e Add more functions to Attr and Node 2017-05-18 09:00:27 +08:00
d47a3ed09d Add support functions of XML Node 2017-05-17 23:24:43 +08:00
fc4940c09b Add XML Objects
Document,Node,Attribute...
2017-05-17 21:40:33 +08:00
b6ecc0f856 Enhanced Window Constructor 2017-05-16 22:33:21 +08:00
0d5e8e2893 Set include path of VS to normal in config 2017-05-16 16:50:16 +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
bb563d069d Change decltype to typedef. 2017-05-08 15:42:54 +08:00
7cab64132d Add more support for Event Handling. 2017-05-08 14:17:42 +08:00
a33a27dbb0 Add More Event Handling Functions.
Remove Debug Message in _global_timer_executor...
2017-05-05 17:28:11 +08:00
3e2479e216 Add void timer function support. (without metaprogramming) 2017-05-05 09:02:39 +08:00
1641dbf4bc Merge branch 'master' into mingw-dev 2017-05-04 18:14:02 +08:00
9d9ba52d76 Merge pull request #6 from Kiritow/pre-merge
Weekly Update
2017-05-02 09:53:42 -05: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
2ecddc44e7 Add Poller
Add implement of Looper::operator -
2017-05-02 20:51:56 +08:00
d18fcf385d Rewrite Event Looper 2017-05-02 19:05:48 +08:00
64ec1cfa42 Add Event Looper 2017-05-02 13:37:03 +08:00
65c8b2e6ef Add Minimum Event Support 2017-05-02 12:59:57 +08:00
8a9d347800 Merge remote-tracking branch 'refs/remotes/origin/mingw-dev' into mingw-dev 2017-05-02 12:26:43 +08:00
87b262325f use [[deprecated]] instead of attribute 2017-05-02 12:26:17 +08:00
71c6b36a1c Update makefile_linux
Change Command Line Define to __LINUX__
2017-05-02 12:18:40 +08:00
d43ecd4981 Add makefile for linux 2017-05-02 12:14:34 +08:00
c94ae16f77 Add Document For class Rect 2017-05-01 20:41:13 +08:00
c2bb8ff190 Add Document 2017-05-01 20:25:51 +08:00
89048bba72 Add makefile for C4droid build 2017-04-29 11:32:19 +08:00
976ca24326 Merge branch 'mingw-dev-sqlite' into mingw-dev
Bug Fixed in branch mingw-dev-sqlite.
2017-04-22 10:34:16 +08:00