1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-17 10:00:37 +02:00
Commit Graph

181 Commits

Author SHA1 Message Date
Maarten ter Huurne
a382a425a9 ASFont: access font pixels efficiently.
Previous commit ensures that the font surface is always 32 bpp.
Therefore we can read font pixels directly through a pointer.
2011-05-12 02:10:40 +02:00
Maarten ter Huurne
41e6e4693e ASFont: only convert font surface if it is not already in a 32bpp format. 2011-05-12 01:20:26 +02:00
Maarten ter Huurne
db5ebff16f Fixed debug print.
GCC 4.5.1 has stricter checking of format strings and refused to compile this.
2011-05-11 02:31:41 +02:00
Maarten ter Huurne
8592038f95 Merge branch 'master' of projects.qi-hardware.com:gmenu2x 2011-05-11 01:37:57 +02:00
Maarten ter Huurne
bff04d2418 ASFont: removed duplication of horizontal alignment code. 2011-05-10 02:43:15 +02:00
Maarten ter Huurne
b4f3cde526 ASFont: merged SFontPlus class into ASFont class. 2011-05-10 02:37:10 +02:00
Maarten ter Huurne
1bc55392cd ASFont: cleanups in text write methods. 2011-05-10 02:23:13 +02:00
Maarten ter Huurne
ff546cdcb0 ASFont: have a single routine for computing text width that also handles newlines.
This way the text has to be scanned only once and no copying is needed.
2011-05-10 02:08:14 +02:00
Maarten ter Huurne
e4b71138b9 ASFont: removed precalculation of half heights.
There is no point in precalculating something so cheap to recalculate.
Also, the majority of uses was to compensate for passing the wrong alignment argument.
2011-05-10 00:31:45 +02:00
Maarten ter Huurne
492a36b9df ASFont: simplified object initialization and cleanup.
Do initialization and cleanup in constructor and destructor respectively.
Removed constructors that are not used by gmenu2x.
2011-05-09 14:54:11 +02:00
Maarten ter Huurne
ec5d426d83 ASFont: moved SFontPlus code into ASFont source files.
This is in preparation of merging the classes.
2011-05-09 14:25:16 +02:00
Maarten ter Huurne
a35a7e2c35 Introduced enums for text alignment in the ASFont class. 2011-05-09 05:17:25 +02:00
Maarten ter Huurne
c54dec90f5 Minor cleanups in SFontPlus and ASFont.
Removed unused includes.
Avoid importing classes into default namespace in headers.
Don't use a type alias if it does not add value.
2011-05-09 04:29:59 +02:00
Maarten ter Huurne
e6be835038 Isolate all PNG loading in a separate source/header.
This is in preparation of replacing SDL_image with direct use of libpng.
2011-05-09 03:56:57 +02:00
Ayla
38a83dd385 On the skin menu, the ALTLEFT/ALTRIGHT buttons will now respectively decrease/increase the ARGB values by 10. 2011-04-14 19:35:50 +02:00
Maarten ter Huurne
c22cc4d663 Cleaned up link flags.
Use the flags found by "configure" and nothing more.
The hardcoded "-lpng12" broke linking with libpng 1.4.
2011-04-13 03:40:36 +02:00
Maarten ter Huurne
f9db1fbd53 Merge remote branch 'origin/master' 2011-04-13 03:14:45 +02:00
Maarten ter Huurne
34a3d55d10 Added missing #include.
Fixes compile error when compiling with GCC 4.5.1.
2011-04-13 03:14:10 +02:00
Ayla
ba9fef5c42 The locale configuration will now be saved. 2011-04-12 13:24:35 +02:00
Ayla
ec000e0214 Changed an error message, that was displaying "Error:" twice. Plus, it now more meaningful. 2011-03-30 15:44:32 +02:00
kyak
bbda0d9cf8 add tclsh icon 2011-02-23 12:38:14 +03:00
kyak
8cc1b02e8f add icon for qstardict 2011-02-23 12:21:38 +03:00
Xiangfu Liu
ffa28acf78 new icon: qstardict 2011-02-23 10:40:49 +08:00
Xiangfu Liu
f5820b6c6d mv pyclock to applications section 2011-02-23 09:53:48 +08:00
Xiangfu Liu
0807b1b70d byobu, fix touch path 2011-02-23 09:53:48 +08:00
kyak
b218991cb9 freedroid: add icon 2011-02-22 20:35:35 +03:00
Xiangfu Liu
3ab2a4f6cf touch utmp for byobu, add -b ~/ ~/ to mc params 2011-02-22 12:14:39 +08:00
David Kühling
5300921fab gmenu2x: make console the foreground console before launching applications
Emacs didn't like how it was launched before
2011-02-21 23:54:07 +01:00
Xiangfu Liu
e9c58f5114 screen, add icon 2011-02-22 00:19:36 +08:00
Xiangfu Liu
30cd9fdc7b add hnb icon, add snownews icon 2011-02-21 23:43:50 +08:00
Xiangfu Liu
81900046d3 add -q to freedroid 2011-02-21 23:22:31 +08:00
David Kühling
58eae74c31 add octave icon 2011-02-15 23:13:00 +01:00
David Kühling
f1c4bd8110 add launcher for Octave 2011-02-15 23:00:09 +01:00
David Kühling
bd8ee72263 use gforth.png icon for gforth 2011-02-15 22:58:46 +01:00
Xiangfu Liu
bb826e0cdf add recently new package icons 2011-02-15 16:14:10 +08:00
kyak
6dc9b3fbb0 gmenu2x: add supertux launcher 2011-02-14 17:33:04 +03:00
David Kühling
63f462caa5 add icon for brainless (launched in utf-8 graphics mode in a jfbterm) 2011-02-13 12:37:07 +01:00
kyak
db48e7387d gmenu2x: load unicode mapping file at start
needed for unicode box drawing characters
2011-02-12 23:04:22 +03:00
David Kühling
b500059b9e add icon for sokoban game: an example included with gforth 2011-02-12 14:38:17 +01:00
David Kühling
d43223c60d add shortcut for dunnet: emacs built in text adventure, run in batch mode 2011-02-12 14:18:49 +01:00
David Kühling
766824f943 add icon for gnuplot 2011-02-09 23:06:40 +01:00
David Kühling
d5cef5b67e add icon for zgv 2011-02-09 22:50:28 +01:00
kyak
b891febe08 links2: add gmenu2x icon 2011-02-09 20:55:41 +03:00
bartbes
c619594888 Backgammon launcher now uses backgammon.sh 2011-02-01 19:10:16 +01:00
Xiangfu Liu
1d8fe2cc3d add some sections 2011-01-28 15:51:27 +08:00
Xiangfu Liu
fbcbd879ba move all nanonote openwrt package file to this repo 2011-01-28 15:25:54 +08:00
Xiangfu Liu
91d3fea2ec fixed section display not correct in ben nanonote 2011-01-13 17:20:17 +08:00
Xiangfu Liu
bfe772b690 using STDOUT_FILENO, remove tcsetpgrp 2011-01-05 22:11:54 +08:00
David Kühling
dd0709e1da Fix problems with missing tty for launched applications 2010-12-26 17:58:22 +01:00
Xiangfu Liu
6773ad7d3a set the default wallpaper to open.png 2010-11-22 11:31:44 +08:00