![]() |
2011-07-14
, 13:27
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#2
|
Allegro 4 and Allegro 5 are cross-platform, libraries mainly aimed at video game and multimedia programming. They handle common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.
The Following 3 Users Say Thank You to jedi For This Useful Post: | ||
![]() |
2011-07-15
, 10:05
|
Posts: 298 |
Thanked: 197 times |
Joined on Dec 2009
@ Norway
|
#3
|
![]() |
2012-06-05
, 09:54
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#4
|
The Following 2 Users Say Thank You to ivgalvez For This Useful Post: | ||
![]() |
2012-08-23
, 12:29
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#5
|
The Following 2 Users Say Thank You to ivgalvez For This Useful Post: | ||
![]() |
2012-08-23
, 13:12
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#6
|
git clone git://alleg.git.sourceforge.net/gitroot/alleg/allegro
git checkout origin/4.4
commit 7b758129deb21c7d4afd666dc9c7c9213dc8846f Author: Evert Glebbeek <eglebbk@users.sourceforge.net> Date: Tue Nov 9 14:10:56 2010 +0000 Peter Johansson (X-G) fixed a problem with keyboard focus being lost on OS X when switching from windowed mode to fullscreen mode. commit 2f1cf2d18589b93acbe06e73ca79d226c42a62c3 Author: Peter Wang <tjaden@users.sourceforge.net> Date: Mon Nov 8 22:28:36 2010 +0000 alsa_rawmidi_init could return success on failure. Reported by Nicolas Kaiser (bug #3104614).
git diff 2f1cf2d18589b93acbe06e73ca79d226c42a62c3 7b758129deb21c7d4afd666dc9c7c9213dc8846f
diff --git a/src/macosx/qzfull.m b/src/macosx/qzfull.m index 513d36b..7df89ad 100644 --- a/src/macosx/qzfull.m +++ b/src/macosx/qzfull.m @@ -254,6 +254,11 @@ static BITMAP *osx_qz_full_init(int w, int h, int v_w, int v_h, int color_depth) _unix_lock_mutex(osx_event_mutex); bmp = private_osx_qz_full_init(w, h, v_w, v_h, color_depth); _unix_unlock_mutex(osx_event_mutex); + + _unix_lock_mutex(osx_skip_events_processing_mutex); + osx_skip_events_processing = FALSE; + _unix_unlock_mutex(osx_skip_events_processing_mutex); + if (!bmp) osx_qz_full_exit(bmp); return bmp; @@ -294,6 +299,10 @@ static void osx_qz_full_exit(BITMAP *bmp) osx_gfx_mode = OSX_GFX_NONE; _unix_unlock_mutex(osx_event_mutex); + + _unix_lock_mutex(osx_skip_events_processing_mutex); + osx_skip_events_processing = TRUE; + _unix_unlock_mutex(osx_skip_events_processing_mutex); }
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||
Wiki: http://wiki.maemo.org/Allegro
Issues:
*In fullscreen Allegro grabs the keyboard
'Grabs' = system wide shortcuts e.g. ctrl+backspace nor screenshots with ctrl+shift+p are not working.
These are working in windowed mode.
*Sounds use too much processing power
Rename/remove file /usr/lib/allegro/4.4.2/alleg-alsadigi.so to disable sounds.
*Fullscreen is not fullscreen. Window manager's top-panel is still visible, but not focusable.
*Can't start from menu, because started application stay bottom than desktop -> nobody has focus.
Package name is liballeg4.4, and relating dev package is liballeg4.4-dev.
Last edited by AapoRantalainen; 2011-07-14 at 13:34. Reason: added wiki