Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekly Update #6

Merged
merged 20 commits into from
May 2, 2017
Merged

Weekly Update #6

merged 20 commits into from
May 2, 2017

Conversation

Kiritow
Copy link
Owner

@Kiritow Kiritow commented May 2, 2017

TDM-GCC 5.1 编译通过 运行正常
Visual Studio 2015 编译通过 运行正常
Linux(Ubuntu) GCC 6.2.0 使用makefile_linux 编译通过 未测试运行(缺少图形界面)
C4droid GCC 6.1.0 使用makefile_c4 编译通过 运行正常

添加C4droid和Linux的makefile
开始添加文档
添加SDL事件的封装

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.
Accept Changes from mingw-dev-sqlite
Bug Fixed in branch mingw-dev-sqlite.
Change Command Line Define to __LINUX__
Add implement of Looper::operator -
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~!
@Kiritow Kiritow merged commit 9d9ba52 into master May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant