summaryrefslogtreecommitdiff
path: root/apps/plugins/clock.c (unfollow)
Commit message (Collapse)Author
2007-08-04Rewrote the clock plugin in a cleaner and more modular way so that it can ↵Kevin Ferrare
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
2007-07-31Fix FS#7311 '64 bit simulator crashes when using the menus in some plugins.' ↵Nils Wallménius
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
2007-07-31Converted the menus to the new API in the clock plugin and started to port ↵Kevin Ferrare
to remote display git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14091 a1c6a512-1295-4272-9138-f99709370657
2007-07-31Removed duplicated code for menu items definition, made the plugin use the ↵Kevin Ferrare
action API git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14089 a1c6a512-1295-4272-9138-f99709370657
2007-07-31plugins code cleanup : moved the duplicated fixed point table loockup based ↵Kevin Ferrare
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
2007-06-25If setting a bool, tell the settings code it is bool, not int. Fixes FS #7205Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13719 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Move the old api out of the core and into the plugin lib.Jonathan Gordon
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
2007-03-16Rename some macros to account for the recently added M5 port. No code changes.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold
500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-02-28FS#6419 - driver for H1x0 series RTC Mod with runtime detectionRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-21Correct drawing of hour hand when hour == 12Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12430 a1c6a512-1295-4272-9138-f99709370657
2007-02-20Add changes to in-file changelog. Changes of huge previous commit: Drawing ↵Zakk Roberts
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
2007-02-20git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12407 ↵Zakk Roberts
a1c6a512-1295-4272-9138-f99709370657
2007-02-01Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold
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
2007-01-14Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman
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
2006-12-05fix the analog clock on 'portrait' screensMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11664 a1c6a512-1295-4272-9138-f99709370657
2006-12-05add gigabeat button definesMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
2006-11-19* Move checkbox to plugin api (core never uses it)Jonathan Gordon
* 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
2006-11-15Don't need to remove the backdrop for all plugins - leave it up for some.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Fix the second inverseKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11492 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Clock plugin now scales with the screen size. The binary and plain mode ↵Karl Kurbjun
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
2006-10-26Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell
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
2006-08-03Barry Wardell's keymappings for H10Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-06-30I should be sleepingKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10158 a1c6a512-1295-4272-9138-f99709370657
2006-06-30To avoid having to use the main unit when accidentally launching a plugin ↵Kevin Ferrare
from the remote, plugins now support remote quit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-04-07Add button mappings and support for iAudio X5, also simplified a bit of code.Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9545 a1c6a512-1295-4272-9138-f99709370657
2006-03-06Actually. Let's build for the 3G.Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8930 a1c6a512-1295-4272-9138-f99709370657
2006-03-06Fix H300 builds. Don't compile for iPod 3G yet.Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8929 a1c6a512-1295-4272-9138-f99709370657
2006-03-06Enormous clock update. Most major functions rewritten & hugely optimized; a ↵Zakk Roberts
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
2006-01-15New plugin loader. Solves the crashes introduced with the .bss changes while ↵Jens Arnold
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
2005-12-04Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC ↵Dave Chapman
defines from config-*.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-09-02Patch #1272052 by Henrik Backe - Move credits to a pluginLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
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
2005-06-28Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold
converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-24First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold
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
2004-12-14Fixed general settings typo, split up general settings function, added ↵Zakk Roberts
cursor animations and updated cursor look (rounded edges). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5483 a1c6a512-1295-4272-9138-f99709370657
2004-11-19There will soon exist bitmapped players without RTC (iRiver)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5438 a1c6a512-1295-4272-9138-f99709370657
2004-10-17Plugin rework 2: (most) Compile-time keyboard configuration, for Ondio ↵Jens Arnold
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
2004-09-07Show counter option is now saved to diskZakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5050 a1c6a512-1295-4272-9138-f99709370657
2004-08-05Removed extra constZakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4988 a1c6a512-1295-4272-9138-f99709370657
2004-08-05New checkboxes introduced for improved, reworked options screen - new option ↵Zakk Roberts
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
2004-08-01General settings at ON+F3, more animations and progressbar at credits roll, ↵Zakk Roberts
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
2004-07-23Now you can exit the clock plugin againLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4927 a1c6a512-1295-4272-9138-f99709370657
2004-07-18Fixed credits roll, and improved animations. Revised the release notes as well.Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4893 a1c6a512-1295-4272-9138-f99709370657
2004-07-18Cosmetic code changes, new countdown mode - accessed at ON+F2Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4892 a1c6a512-1295-4272-9138-f99709370657
2004-07-17Analog time display bugfix and digital/lcd 12h settings seperatedZakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4891 a1c6a512-1295-4272-9138-f99709370657
2004-07-08Removed progressbar() and a few tables as wellLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4855 a1c6a512-1295-4272-9138-f99709370657
2004-06-30Changed the behaviour of F2, and simplified the version string handlingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4816 a1c6a512-1295-4272-9138-f99709370657
2004-06-30Fixed simulator buildHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4815 a1c6a512-1295-4272-9138-f99709370657
2004-06-30Major clock update by Zakk Roberts (patch #932605)Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4814 a1c6a512-1295-4272-9138-f99709370657