Commit graph

96 commits

Author SHA1 Message Date
Thomas Martitz
a1842c04f9 lcd-24bit: Introduce a 24-bit mid-level LCD driver
With LCD driver all calculation will be performed on RGB888 and the hardware/OS
can display from our 24bit framebuffer.

It is not yet as performance optimized as the existing drivers but should be
good enough.The vast number of small changes is due to the fact that
fb_data can be a struct type now, while most of the code expected a scalar type.

lcd-as-memframe ASM code does not work with 24bit currently so the with 24bit
it enforces the generic C code.

All plugins are ported over. Except for rockpaint. It uses so much memory that
it wouldnt fit into the 512k plugin buffer anymore (patches welcome).

Change-Id: Ibb1964545028ce0d8ff9833ccc3ab66be3ee0754
2014-06-21 00:15:53 +02:00
Szymon Dziok
f8d367be94 Add Cabbiev2 port for 128x96x16 targets (Samsung YH-820), made by me.
Change-Id: I21c408e8c25c42a1e6c3d3e44c0999ae85d73154
2014-03-27 19:50:48 +00:00
Thomas Martitz
05a67d021c Touchscreen: Show a line separator in lists.
This patch adds a configurable line separator between list items, very
similar to lists in Android. Additionally, below the list item there is a
thicker line. It can be disabled in the settings. Its color can
be configured as well.

Remote and monochrome displays are explicitly unsupported. If there is desire
this can be changed but it doesn't seem useful to me.

Change-Id: I005313b0d8f5ecd15864bf20e66ea4e3390d8b7d
2014-03-03 15:14:16 +01:00
Alex Mayer
93023002d6 Make Cabbiev2 enable icons when selected
adds 'show icons: on' to cabbiev2.cfg file.
when you switch theme away from cabbiev2 to a theme
with 'show icons: off' then switch back to cabbiev2
the icons are still off which doesnt mimic the default
settings presented by rockbox.

Change-Id: Iee051c687a9a6843fece96a2a16280916b1d2599
Reviewed-on: http://gerrit.rockbox.org/325
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-10-06 22:59:20 +02:00
Marcin Bukat
9f13f881b3 WPSLIST: fix default font for 400x240x16 target
Change-Id: I70dbab7e52311f031bf1f353cff2f8e8245b3a47
2012-07-10 18:08:58 +02:00
Marcin Bukat
93c462f9d5 cabbiev2 for rk27xx generic design target
Change-Id: I2052869b14125b90e8202e81e4e8391376e9c341
2012-07-09 20:30:43 +02:00
Marcin Bukat
3a58307c7b WPSLIST: add backdrop and cabbiev2 fms for 128x128x2
Change-Id: I671fed88cb2f963168f6bd6eb65b91a26eede638
2012-07-09 20:30:43 +02:00
Marcin Bukat
5785cfb741 Add fms to cabbiev2 by default
Currently we have only fms for 160x128x2 and all others will
fallback to built in one.

Change-Id: I43efa2795e1ab62185e2e25b6c8c4979c87c4299
2012-06-25 22:07:43 +02:00
Marcin Bukat
cd1b6a1183 Fix cabbiev2 on iaudio x5 remote
Change-Id: I00c597ac5ac40865f943b6c2f488196727bad13c
2012-06-17 15:36:45 +02:00
Thomas Martitz
ba5802ed88 WPSLIST: Add some more forgotten wps entries.
Fixes cabbiev2 for clip/clip+ (FS#12698) and others.

Change-Id: I1ff71db145ac9662551e50029a605776abb5af36
2012-06-15 11:08:05 +02:00
Akio Idehara
3254fb72c6 Bring back iAudio M3 cabbiev2 support
This patch brings back iAudio M3 cabbiev2 (128x96x2) support again.

Change-Id: Ibb9ccc6f0d0acde5b99e2c41e08da3999129f817
Reviewed-on: http://gerrit.rockbox.org/274
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-06-15 10:57:35 +02:00
Thomas Martitz
66b6fdbb73 wpsbuild: Rewrite to fix various issues and support .fms
wpsbuild.pl is enhanced to produce fallback themes that were previously
hardcoded in buildzip.pl. It also recognizes resolution strings as
regular expressions now so you can specify resolution dependant settings
as <setting>.<regex>: <value> (needed to support single themes on multiple
resolutions). The WPSBUILD syntax completely changed as
well and it includes the fallback themes as well. Ultimately wpsbuild is
also able to install .fms files.

Change-Id: Idf5994f17b9750983d7bc3ef583540a8cdae1dde
2012-06-10 21:20:36 +02:00
Bertrik Sikken
cc0c6744fa Use 8x8 icons for clip zip cabbiev2
Change-Id: Ic790ea0042314fdb4b1e13954e3f149a3b7c993f
Reviewed-on: http://gerrit.rockbox.org/198
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-05-20 12:02:04 +02:00
Bertrik Sikken
d206afbe6b FS#12390 - Sansa Clip Zip Cabbiev2 Port by Stephen Carroll
Change-Id: I49ce0bfdc228bed55d47b5e743a7fa87ccd4da8a
Reviewed-on: http://gerrit.rockbox.org/197
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-05-20 12:01:41 +02:00
Thomas Martitz
b907f2fd23 lcd_color/cabbiev2: New iconset in multiple sizes
The new iconset features transparency which can be more easier generated
from svgs and looks better. For for bigger displays there are new sizes.

The bmps are the generated from the SVGs added to the tree and
create-icons-from-tango.pl is updated to enable easy generation.

rockbox-clef.svg is changed to have a bit more border.

NOTE: Icons for greyscale are unchanged. Someone needs to update them, I don't know how to do it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31059 a1c6a512-1295-4272-9138-f99709370657
2011-11-26 16:01:11 +00:00
Dominik Riebeling
f56e453f60 Remove all themes but Cabbiev2.
As discussed remove all other themes from svn since they are available through
the theme website so there is no need to ship them with every Rockbox download
/ installation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30158 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 19:25:34 +00:00
Thomas Jarosch
7d4f3a7861 Add cabbie theme for 800x480
Theme was quickly ported by kugel from 480x800 theme.

Still has viewport bugs: Brings up the context menu
every time one touches the rew/ff buttons.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29253 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 21:13:57 +00:00
Robert Menes
8b59b03404 Commit part of FS#10937: CabbieV2 port for the Philips GoGear
SA9200 (128x160x16 LCD). Ported by Michael Carr with cleanup
by Stephen Carroll.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29018 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 22:10:29 +00:00
Jonathan Gordon
9928e3418f Another major skin backend update/hopefully bugfix:
Skins are now more self contained in the skin manager which in the future might allow on demand skin loading (i.e smaller skin buffers)
Skin backdrops are also managed more intelegently (fixes a bug where you can get a crazy backdrop loaded if a .sbs fails to load)

the rockbox_default rescue theme is now called rockbox_failsafe to better express what it actually is.

This commit hopefully/maybe fixes the heavily reported data aborts, so please check if you are getting them

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28073 a1c6a512-1295-4272-9138-f99709370657
2010-09-14 11:56:50 +00:00
Thomas Martitz
4bca51b5b7 Cabbiev2 480x800 port, very similar to the 320x480 one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27794 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 19:06:40 +00:00
Thomas Martitz
af708fd544 Cabbiev2 for 320x480.
TODO: Touch regions, battery and hold button icons

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27722 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 17:54:36 +00:00
Thomas Martitz
240923a801 Rockbox as an application: Commit current Android port progress.
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too).
Problems:
 - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now.
 - no cabbiev2 (only some preliminary files for it), no other default theme.
 - screen flickers sometimes if the updates are too frequent
 - no multi screen apk/package
 - strange behavior when a phone call comes in

The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder.
I've put a small README in there for instructions. There are some steps needed after the make part, which are described there,
and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 20:34:47 +00:00
Thomas Martitz
9c0b2479f7 Rockbox as an application: add get_user_file_path().
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox).
This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local.

On the DAPs it's a no-op, returing /.rockbox directly.

Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:15:27 +00:00
Jonathan Gordon
c0a289cf46 undo accidental commit from the big one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26645 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 04:31:05 +00:00
Jonathan Gordon
5b0521c9aa Changeover to the new skin format. SkinBreakingChange in the wiki has the runown of the changes.
Major changes are paramerterised tags now use %tag(param,param), colours are removed from the %V() tag, %Vi gets a required (but can be -) label as its first param).

utils/skinupdater/ has a program to update individual skins, and a perl script to update a whole zip.
Themesite will be unusable for the time being (you should be able to upload new themes once it updates checkwps though).

I obviously havnt tested every updated wps in this change so let me know if one doesnt load


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26641 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 03:44:11 +00:00
Rafaël Carré
1dc7f490c9 Use a different remote font than the main LCD font
Works for both wps config and settings
Only change targets with LCD_REMOTE_HEIGHT <= 64 (irivers) to use
08-Rockfont

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26505 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 07:30:01 +00:00
Marianne Arnold
7e9537c834 Cabbiev2 port for the mpio HD20's 128x128 greyscale screen - mixing the same size colour version with the same width greyscale version (code could be cleaned up though). Add the necessary changes to let it be included automatically and used as default WPS. Menu backdrop and dedicated icons are missing but the inbuilt ones are still there - same as on the M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25744 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 22:59:32 +00:00
Thomas Martitz
d401d7bc55 Fix wpsbuild to properly generate "-" for theme related settings (to get the default values/no file for filename settings).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24813 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 19:10:57 +00:00
Thomas Martitz
1016ee4e80 Initial custom statusbar commit.
The custom statusbar can be used as a WPS for the main UI, using .(r)sbs files. It's using the skin engine and knows all tags the WPS also knows.
The default folder for .sbs is the wps folder to reuse images used in the WPS.
As it can be shown in the WPS also, it's useful to move shared parts to the custom statusbar in order to save skin buffer space.
There are a few restrictions/TODOs:
*) Peak meter doesn't redraw nicely(not frequent enough), as very frequent updates would slow the UI down as hell (some targets fight with it in the WPS already: FS#10686)
*) No touchregion support as the statusbar doesn't have any action handling (it won't fail to parse though).
*) Drawing stuff into the default VP is forbidden (loading images in it is not). You *need* to use viewports for the displaying stuff (parsing fails if no viewport is used).
*) Themes that don't use a custom ui viewport can be fixed up using the new %Vi tag to avoid nasty redraw effectts (you must not draw into it as well, it's used to fix up the ui viewport). %Vi describes the viewport that the lists can use without getting in the way of the statusbar.

Otherwise, it behaves like the classic statusbar, it can be configured in the theme settings, and can be turned off in the wps using %wd.

Note to translaters: When translating LANG_STATUSBAR_CUSTOM, please consider using the same translation as for LANG_CHANNEL_CUSTOM if it's compatible. They could be combined later then.

Flyspray: FS#10566
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23258 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 15:28:15 +00:00
Thomas Martitz
94f7651341 Revert r23212, I committed it accidentally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:34:04 +00:00
Thomas Martitz
8d032ae136 initial custom statusbar commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:30:09 +00:00
Jonas Häggqvist
13e23dd496 Clear up theme licensing:
- All theme authors have been contacted and agreed to relicense their theme
    under the CC-BY-SA 3.0 unported license.
  - Themes can still be used as GPLv2 or later if you like.
  - The marquee theme is removed, as the author couldn't be contacted.
  - An AUTHORS and COPYING file is added, containing a list of authors and the
    full license text, respectively.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23131 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 15:40:18 +00:00
Thomas Martitz
4c48b59be8 User definable UI viewport, to be able to restrict the UI into a viewport for all bitmap displays.
Flyspray: FS#8799

This will allow for pretty themes, for example those with nice glass effects on their backdrops (some might argue they're wasting screen space but it's upto them),
as well as allowing for future background WPS updates in the main UI.

Plugins are not converted yet, they simply use the full screen. Ideally, any plugin that does *not* want the UI viewport, should take care of that itself (i.e. plugins should normally use the UI viewport).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22365 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 22:20:11 +00:00
Jonathan Gordon
672b8b6375 Fix the shipped themes statusbar config line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21825 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:02:02 +00:00
Maurus Cuelenaere
493a595db0 Add CabbieV2 for Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20522 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 22:05:28 +00:00
Jens Arnold
1a79cfd174 Explicitly exclude the font for the Player in rockbox_default.wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19831 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 21:16:05 +00:00
Thomas Martitz
44f88585cb Clip: fix font compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19823 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 06:42:05 +00:00
Jens Arnold
f2c7a69403 Font cleanup step 3 - The Big Shuffle: Renamed all fonts to a consistent naming scheme that allows easy selection of alternatives based on size, as discussed on IRC. Adjusted themes in SVN and Makefile for the sysfont. ** Attention **: Clean up your /.rockbox/fonts folder before installing the new release, and then install a new font pack as well. Adjust font names in your custom .cfg files. A reference table can be found in fonts/README.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18388 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 22:31:11 +00:00
Dave Chapman
7c5722ad78 Remove a trailing space that prevented the font being copied for the 138x110x2 cabbiev2 theme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16766 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:08:06 +00:00
Marianne Arnold
29d9ee40f3 Cabbiev2 for the m:robe 100. It seems that just adding the WPS already makes it show as default and no other chaanges were needed (worked in the sim). The default font was already set correctly to helvR10 because this is what all 160x128 screens use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16554 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 12:49:04 +00:00
Nicolas Pennequin
064f702a80 Improvements to cabbie v2 for the Gigabeat. The font is now helvR12, which looks better than helvR14 and is consistent with other targets. Also corrected kB/s to kbit/s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16537 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 13:55:36 +00:00
Jens Arnold
d11c4dd655 Forgot to adjust one WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16403 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 09:33:37 +00:00
Jens Arnold
f928c8f0f8 Turned out that setting the viewer iconset to empty properly chooses the default iconset, and the problem with the default viewer iconset on greyscale targets was that there was a file too much in icons/. The defaults are copied from elsewhere, and differ between grey/mono and colour targets. The extraneous file overwrote the default when building the .zip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16399 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 22:54:33 +00:00
Marianne Arnold
620da596fb Third time's the charme - even if it's just in comments, no mention of the weather etc. necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16391 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 13:25:43 +00:00
Marianne Arnold
a12eefb36c Copy and paste mishap in the DancePuffDuo section: statusbar was already defined but the selector type setting was missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16390 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 13:12:08 +00:00
Marianne Arnold
01bf4d35ac Themes need to specify backdrop, colours, icon sets and selector type bar if they differ from the new default cabbiev2. Add the necessary strings to WPSLIST so that all shipped themes include them in their cfg files to prevent black text on the dark cabbiev2 background. Define black on 'rockboxblue' for themes with colour screen versions but no colours defined before; set the selector type to 'bar (inverse)' for most of them and use the text only RWPS for Rockboxed - it would have used the cabbiev2.rwps before which would look on a H3x0 with remote due to a different font size and the graphics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16388 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 13:04:41 +00:00
Dave Chapman
e7e3172b52 "viewers iconset:" must not be empty, so revert that change to wpsbuild.pl and make iCatcher specify /.rockbox/icons/viewers.bmp. Thanks to Jens for pointing this out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16386 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 10:48:30 +00:00
Dave Chapman
3716179a24 Add empty strings for "backdrop:", "iconset:" and "viewers iconset:" for iCatcher, and adapt wpsbuild.pl to accept empty strings. Also change wpslist to allow any number of spaces (including 0) between the : and the value. NOTE: The other bundled themes (and third-party themes) should be changed to specify values for everything set by CabbieV2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16385 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 10:22:06 +00:00
Michael Giacomelli
875937a26d The sims look funny for me unless I set a default line selector type. Since no one else has complained this probably doesn't matter on the actual device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16376 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 03:39:46 +00:00
Michael Giacomelli
66cfed16b0 Make the build script ignore color-only options on grayscale targets. Also, change how backdrop files are entered in preperation for setting a default theme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16373 a1c6a512-1295-4272-9138-f99709370657
2008-02-22 22:32:22 +00:00