Adrien Destugues 6c8bbfbc56 Now idles when there is nothing to do. Much less CPUtime use, but the spray is slowed down. We need to improve the handling of Get_input in Gestion_principale.
Get_input now returns 1 if something happened, and 0 if not. So we can chose what to do depending on that.
We should try not to wait if the operation needs to be asynchronous, but there is no way to know that for now, and it may be quite complex to determine (i think the shade effect can be asynchronous for example, so it'll affect pretty much all operations).

The other solution would be to drop events to react to the more recent ones. It would look smoother but the mouse will do strange things.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@378 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-14 11:17:15 +00:00
2008-10-08 19:40:47 +00:00
2008-11-29 00:49:06 +00:00
2008-10-12 19:09:29 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2007-04-14 20:18:30 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-11-29 00:49:06 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2008-11-29 00:49:06 +00:00
2008-11-29 00:49:06 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-11-28 23:50:28 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2008-10-08 19:40:47 +00:00
2008-11-29 00:49:06 +00:00
Description
Fork of grafX2: The ultimate 256 color painting program https://gitlab.com/GrafX2/grafX2
16 MiB
Languages
C 89.3%
Lua 6.9%
Makefile 1.6%
NSIS 1.1%
Objective-C 0.4%
Other 0.5%