summaryrefslogtreecommitdiff
path: root/apps/plugins/star.c (follow)
Commit message (Collapse)AuthorAge
...
* Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.Michael Giacomelli2009-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
* Decouple the statusbar drawing from the rest of the screen drawing. it is ↵Jonathan Gordon2008-12-31
| | | | | | | | | | | | not drawn roughly 4x per second automatically. viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.) All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false). This commit also includes some menu/list viewport cleanups from kugel in FS#9603 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
* m200v4: rename Keys, so they match better other targets with similar ↵Dominik Wenger2008-12-12
| | | | | | key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657
* Added keymaps for ZVM to plugins. Enabled zvm plugin building in ↵Björn Stenberg2008-12-04
| | | | | | tools/configure. FS#9605 by Adam Hogan and Robert Menes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: build plugins (FS#9578)Rafaël Carré2008-11-28
| | | | | | | | | | | | Use unmodified C200 keymap when possible, variation of it when not Use Archos bitmaps when possible Current problems: - Pegbox plugin shows display corruption (corruption is different in the simulator) - Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen - Splitted screen (yellow/blue) is a bit weird in most plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
* Makefile overhaul. All generated bitmaps are now explicitly in ↵Björn Stenberg2008-11-03
| | | | | | OBJDIR/bitmaps and OBJDIR/pluginbitmaps, and plugins properly depend on their respective bitmap files. Fixes #6847. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18987 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREENMaurus Cuelenaere2008-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
* Remove a viewport ambiguity by changing the screens width/heigth members ↵Peter D'Hoye2008-06-28
| | | | | | into lcdwidth/lcdheight. Normal usercode should always use getwidth()/getheigth() as that returns the viewport width/height. Fixes issues that would have appeared in many places when introducing viewports with sizes != lcd sizes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17857 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* fix star.c (FS#8998)Jonathan Gordon2008-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17567 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.Rob Purchase2008-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
* the menu and list now accepts a parent viewport to draw in (and the menu can ↵Jonathan Gordon2008-03-26
| | | | | | be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
* D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas ↵Rob Purchase2008-03-22
| | | | | | Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
* Adapt most single-file plugins to the M3 keypad and screen. It's still ↵Jens Arnold2008-03-22
| | | | | | preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 100: add button definition/bitmaps to plugins and enable compilationRobert Kukla2008-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
* Plugins now enabled and working for the Gigabeat S.Will Robertson2008-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
* Enable star transition on all targets and prevent lcd partial updating of 0 ↵Antoine Cellerier2007-10-15
| | | | | | area rectangles. This should fix FS #6334. As I don't own one of the targets which were affected by this bug I can't confirm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15127 a1c6a512-1295-4272-9138-f99709370657
* Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by ↵Marianne Arnold2007-09-20
| | | | | | Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14771 a1c6a512-1295-4272-9138-f99709370657
* Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.Jens Arnold2007-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
* * Speed up the level transition in Star for iPod Video (else it's sloooooow).Antoine Cellerier2007-06-06
| | | | | | | * Remove a bunch of trailing spaces. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13578 a1c6a512-1295-4272-9138-f99709370657
* Update some comments in menu.h to be hopefully more helpful.Jonathan Gordon2007-05-20
| | | | | | | Fix all the wrong usage of rb->do_menu() (my fault, sorry) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
* attempt to make the Gigabeat button mappings in the plugins more logical and ↵Marcoen Hirschberg2007-05-19
| | | | | | in line with the mapping in rockbox itself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13436 a1c6a512-1295-4272-9138-f99709370657
* Adjust plugins to use the new menu API. Int settings still use the old API. ↵Tom Ross2007-03-28
| | | | | | Remove a nasty global in Star and add some error checking. Add a work-around for the gigabeat so that Star doesn't crash on target. The transition works fine on the sim and I see nothing obviously wrong with the code but it manages to crash on target everytime. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12946 a1c6a512-1295-4272-9138-f99709370657
* Rename some macros to account for the recently added M5 port. No code changes.Jens Arnold2007-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
* Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman2007-01-14
| | | | | | simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
* Improved Sansa keymappings for Pacbox, Solitaire and Star. From FS#6466 by ↵Daniel Ankers2007-01-03
| | | | | | Piotr Jafiszow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11892 a1c6a512-1295-4272-9138-f99709370657
* Don't need to remove the backdrop for all plugins - leave it up for some.Karl Kurbjun2006-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
* Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell2006-10-26
| | | | | | nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
* Ooops.Jens Arnold2006-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11284 a1c6a512-1295-4272-9138-f99709370657
* Star: * Uses bitmap build system for all resolutions. * Working bitmaps for ↵Jens Arnold2006-10-21
| | | | | | H10_5GB and iPod mini, and extra bitmaps for iPod Nano, by Marianne Arnold. * 6x7 pixel bitmaps for archos to utilise the full screen width, have almost correct aspect ratio, and real stars. * Working button definitions for X5, some cleanup for Gigabeat and H10. * Faster transition update, working properly for portrait displays. * Proper vertical alignment and nicer horizontal alignment for the info display. * Better tile animation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11283 a1c6a512-1295-4272-9138-f99709370657
* Change Star to display levels as 1-20 rather than 0-19 (FS#6126 Thanks to ↵Barry Wardell2006-10-18
| | | | | | Dave Hooper for the patch). Also add Star button help text for H10. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11253 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#6126 - bug in Star where non-existant level 20 was accessable after ↵Barry Wardell2006-10-06
| | | | | | you finish the game. Also fix spelling error in Star mentioned in the same bug report. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11139 a1c6a512-1295-4272-9138-f99709370657
* ...nither sleep(0.2). thanks FS#5509 for letting me believe it isShachar Liberman2006-08-10
| | | | | | | legit, and Philippe Miossec for his work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10516 a1c6a512-1295-4272-9138-f99709370657
* ON+NEXT make no sense.Shachar Liberman2006-08-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10515 a1c6a512-1295-4272-9138-f99709370657
* star game: fix several menu pointer bugs, add the option to chooseShachar Liberman2006-08-10
| | | | | | | level, better keybinds for h1x0. (FS #2693,2701). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10512 a1c6a512-1295-4272-9138-f99709370657
* Barry Wardell's keymappings for H10Daniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
* Star plugin (again): Apply http://www.rockbox.org/tracker/task/5493 (button ↵Antoine Cellerier2006-07-27
| | | | | | help strings for all targets) and rework the help string for grey/color targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10345 a1c6a512-1295-4272-9138-f99709370657
* Add bitmaps for greyscale LCD targets for "star" game. Closes ↵Antoine Cellerier2006-07-27
| | | | | | | | | http://www.rockbox.org/tracker/task/5509 (bitmaps are a bit too large for ipod mini, but the game is still playable) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10344 a1c6a512-1295-4272-9138-f99709370657
* Thou shall always test compilation before commiting. (fixes b&w LCD targets)Antoine Cellerier2006-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10343 a1c6a512-1295-4272-9138-f99709370657
* Apply patch from http://www.rockbox.org/tracker/task/5569Antoine Cellerier2006-07-27
| | | | | | | | | | | Quote: * Reduced the speed back to normal on colour targets (except 5G because it's LCD is slow) * Added the ability to use the select button to navigate menus on iPod and irivers. * Tried to fix the animation next to the menu. It's a little better but still very flakey. * Adjusted the position of the ball and block indicator bitmap while playing the game, so they are not placed off the edge of the screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10342 a1c6a512-1295-4272-9138-f99709370657
* To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare2006-06-30
| | | | | | from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
* Make the ball/block move faster on color screens.Antoine Cellerier2006-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10111 a1c6a512-1295-4272-9138-f99709370657
* Ooops. Fix compilation on non color lcd targets.Antoine Cellerier2006-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10101 a1c6a512-1295-4272-9138-f99709370657
* Scale and use color bitmaps on color lcd targets.Antoine Cellerier2006-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10100 a1c6a512-1295-4272-9138-f99709370657
* Change Star keymappings for iPod - now Menu and Play are used for up/down ↵Zakk Roberts2006-06-03
| | | | | | instead of the wheel. Fixes bug #5249. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10040 a1c6a512-1295-4272-9138-f99709370657
* Code Police raid. Mostly changed // comments and indented to Rockbox style.Daniel Stenberg2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G work from Seven Le MesleDave Chapman2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
* Button driver for iAudio X5Linus Nielsen Feltzing2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657