summaryrefslogtreecommitdiff
path: root/apps/plugins/clock.c (follow)
Commit message (Collapse)AuthorAge
* Rewrote the clock plugin in a cleaner and more modular way so that it can ↵Kevin Ferrare2007-08-04
| | | | | | scale on remote screens. Use left-right keys to change the type of clock displayed (analogic, digital, binary) and up/downto change the look of the clock git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14174 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7311 '64 bit simulator crashes when using the menus in some plugins.' ↵Nils Wallménius2007-07-31
| | | | | | by resolving a naming conflict between the plugins' private settings structs and the global 'settings' struct git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14095 a1c6a512-1295-4272-9138-f99709370657
* Converted the menus to the new API in the clock plugin and started to port ↵Kevin Ferrare2007-07-31
| | | | | | to remote display git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14091 a1c6a512-1295-4272-9138-f99709370657
* Removed duplicated code for menu items definition, made the plugin use the ↵Kevin Ferrare2007-07-31
| | | | | | action API git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14089 a1c6a512-1295-4272-9138-f99709370657
* plugins code cleanup : moved the duplicated fixed point table loockup based ↵Kevin Ferrare2007-07-31
| | | | | | sinus/cosinus functions to fixedpoint.c, removed the bmp size definition in the clock.c|-(useless as the size is already defined in a .h generated with every bitmaps ...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14087 a1c6a512-1295-4272-9138-f99709370657
* If setting a bool, tell the settings code it is bool, not int. Fixes FS #7205Peter D'Hoye2007-06-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13719 a1c6a512-1295-4272-9138-f99709370657
* Move the old api out of the core and into the plugin lib.Jonathan Gordon2007-05-08
| | | | | | | ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 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
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* FS#6419 - driver for H1x0 series RTC Mod with runtime detectionRobert Kukla2007-02-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
* Correct drawing of hour hand when hour == 12Linus Nielsen Feltzing2007-02-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12430 a1c6a512-1295-4272-9138-f99709370657
* Add changes to in-file changelog. Changes of huge previous commit: Drawing ↵Zakk Roberts2007-02-20
| | | | | | now scales to all displays using bitmaps for most modes, color where applicable.. Switched to rockbox menu drawing code for menus. Combined LCD/Digital modes into one LCD mode. A few new keymaps and changes. Source code improvements. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12408 a1c6a512-1295-4272-9138-f99709370657
* git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12407 ↵Zakk Roberts2007-02-20
| | | | a1c6a512-1295-4272-9138-f99709370657
* Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold2007-02-01
| | | | | | ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 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
* fix the analog clock on 'portrait' screensMarcoen Hirschberg2006-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11664 a1c6a512-1295-4272-9138-f99709370657
* add gigabeat button definesMarcoen Hirschberg2006-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
* * Move checkbox to plugin api (core never uses it)Jonathan Gordon2006-11-19
| | | | | | | * replace the last of the scrollbar() calls with gui_scrollbar_draw() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 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
* Fix the second inverseKarl Kurbjun2006-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11492 a1c6a512-1295-4272-9138-f99709370657
* Clock plugin now scales with the screen size. The binary and plain mode ↵Karl Kurbjun2006-11-10
| | | | | | still need updated bitmaps for larger screens and the time's up graphic could be updated as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11491 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
* Barry Wardell's keymappings for H10Daniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
* I should be sleepingKevin Ferrare2006-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10158 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
* Add button mappings and support for iAudio X5, also simplified a bit of code.Zakk Roberts2006-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9545 a1c6a512-1295-4272-9138-f99709370657
* Actually. Let's build for the 3G.Zakk Roberts2006-03-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8930 a1c6a512-1295-4272-9138-f99709370657
* Fix H300 builds. Don't compile for iPod 3G yet.Zakk Roberts2006-03-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8929 a1c6a512-1295-4272-9138-f99709370657
* Enormous clock update. Most major functions rewritten & hugely optimized; a ↵Zakk Roberts2006-03-06
| | | | | | new Main Menu eliminates need for many different keys and thus brings the clock to iRiver H300 and iPod targets (working but not scaled up - yet). New mode: plain. New logo. Other miscellaneous fixes/improvements. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8928 a1c6a512-1295-4272-9138-f99709370657
* New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold2006-01-15
| | | | | | keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
* Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC ↵Dave Chapman2005-12-04
| | | | | | defines from config-*.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
* Patch #1272052 by Henrik Backe - Move credits to a pluginLinus Nielsen Feltzing2005-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
* 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold2005-07-06
| | | | | | light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
* Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold2005-06-28
| | | | | | converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
* First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold2005-06-24
| | | | | | pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
* Fixed general settings typo, split up general settings function, added ↵Zakk Roberts2004-12-14
| | | | | | cursor animations and updated cursor look (rounded edges). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5483 a1c6a512-1295-4272-9138-f99709370657
* There will soon exist bitmapped players without RTC (iRiver)Linus Nielsen Feltzing2004-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5438 a1c6a512-1295-4272-9138-f99709370657
* Plugin rework 2: (most) Compile-time keyboard configuration, for Ondio ↵Jens Arnold2004-10-17
| | | | | | adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (calendar, chip8) Fixed usb handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5295 a1c6a512-1295-4272-9138-f99709370657
* Show counter option is now saved to diskZakk Roberts2004-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5050 a1c6a512-1295-4272-9138-f99709370657
* Removed extra constZakk Roberts2004-08-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4988 a1c6a512-1295-4272-9138-f99709370657
* New checkboxes introduced for improved, reworked options screen - new option ↵Zakk Roberts2004-08-05
| | | | | | at General settings: Save (when) - faster boot - cleaned up a bit more, removed redundant code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4987 a1c6a512-1295-4272-9138-f99709370657
* General settings at ON+F3, more animations and progressbar at credits roll, ↵Zakk Roberts2004-08-01
| | | | | | centering of text in lots of places, new arrow bitmap used at mode selector, 12:00am is no longer displayed as 00:00am git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4977 a1c6a512-1295-4272-9138-f99709370657
* Now you can exit the clock plugin againLinus Nielsen Feltzing2004-07-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4927 a1c6a512-1295-4272-9138-f99709370657
* Fixed credits roll, and improved animations. Revised the release notes as well.Zakk Roberts2004-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4893 a1c6a512-1295-4272-9138-f99709370657
* Cosmetic code changes, new countdown mode - accessed at ON+F2Zakk Roberts2004-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4892 a1c6a512-1295-4272-9138-f99709370657
* Analog time display bugfix and digital/lcd 12h settings seperatedZakk Roberts2004-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4891 a1c6a512-1295-4272-9138-f99709370657
* Removed progressbar() and a few tables as wellLinus Nielsen Feltzing2004-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4855 a1c6a512-1295-4272-9138-f99709370657
* Changed the behaviour of F2, and simplified the version string handlingLinus Nielsen Feltzing2004-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4816 a1c6a512-1295-4272-9138-f99709370657
* Fixed simulator buildHardeep Sidhu2004-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4815 a1c6a512-1295-4272-9138-f99709370657
* Major clock update by Zakk Roberts (patch #932605)Hardeep Sidhu2004-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4814 a1c6a512-1295-4272-9138-f99709370657