summaryrefslogtreecommitdiff
path: root/apps/plugins/calculator.c (follow)
Commit message (Collapse)AuthorAge
...
* Fix FS#9296 by catching repeat events for wheel targets too, moved a bit of ↵Nils Wallménius2008-10-02
| | | | | | code around to simplify things. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18680 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
* 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
* More calculate button changes: make the 'calculate' shortcut also work on ↵Marianne Arnold2008-06-18
| | | | | | the M5X5, the Ipod and the Gigabeat S pad. Also make 'select' actually select the number under the cursor and use 'menu' for calculating instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17731 a1c6a512-1295-4272-9138-f99709370657
* Make the 'calculate' shortcut work on the H10 padMarianne Arnold2008-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17728 a1c6a512-1295-4272-9138-f99709370657
* 1) Implement generic touchscreen detection library for the pluginsMaurus Cuelenaere2008-06-06
| | | | | | | | 2) Adapt minesweeper, pegbox & calculator to it 3) Simplify gui/bitmap/list.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17695 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#8953 by Alexander Levin making all buttons in the calulator reachable ↵Nils Wallménius2008-05-07
| | | | | | using scroll wheels with a small tweak by me to make it work for ipods git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17405 a1c6a512-1295-4272-9138-f99709370657
* Oops, use the mem* function wrapper macro to make gcc happyNils Wallménius2008-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17300 a1c6a512-1295-4272-9138-f99709370657
* Adapt the calculator to larger displays and use the UI font if it fits. Use ↵Nils Wallménius2008-05-01
| | | | | | reversed colours instead of inverted colours for selection, fixes FS#8951 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17299 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
* Optimise some more line drawing calls.Jens Arnold2008-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17083 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
* - add button descriptions to the m:robe 100 manual for the majority of pluginsRobert Kukla2008-03-18
| | | | | | | - add gigabeat button descriptions which were missing - fix a few inconsistencies I noticed doing the above (mainly outstanding r13278 follow-ons) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16693 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 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
* 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
* FS #6759: Support tan function in calculator plugin. Patch by Luke Blaney.Dan Everton2007-04-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13070 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
* Accept FS#6662. Thanks to Nick Vanderweit. No need to define PI as Barry Wardell2007-02-17
| | | | | | | | | it is already defined as M_PI in math.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12355 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
* 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
* Correct credits for the calculator pluginLinus Nielsen Feltzing2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10804 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
* 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
* 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
* Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 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
* Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman2005-12-19
| | | | | | identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
* iPod: Initial attempt at button mappings for plugins. All plugins now ↵Dave Chapman2005-12-14
| | | | | | compile, but more work is needed with the more complex ones to make them iPod friendly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8233 a1c6a512-1295-4272-9138-f99709370657
* Hristo Kovachev's keypad fixes for the H300 buildDaniel Stenberg2005-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 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
* iRiver: Working keys for the calculatorLinus Nielsen Feltzing2005-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5893 a1c6a512-1295-4272-9138-f99709370657
* adapted to build on iRiverDaniel Stenberg2005-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
* Changed several places to use button_clear_queue() to empty the button ↵Jens Arnold2005-01-26
| | | | | | queue. Added the ability to empty the (system's) button queue to the X11 simulatr. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
* Start with the basic button layout if the basic operators are not available ↵Jens Arnold2005-01-02
| | | | | | separately (Ondio keypad) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5525 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
* M+ always copied the power part of the result, even after performing an ↵Linus Nielsen Feltzing2004-08-21
| | | | | | addition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5002 a1c6a512-1295-4272-9138-f99709370657
* Removed lots of CR characters, and adapted to the new event handlingLinus Nielsen Feltzing2004-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4956 a1c6a512-1295-4272-9138-f99709370657
* declare variables before code, remain C89-compatibleDaniel Stenberg2004-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4647 a1c6a512-1295-4272-9138-f99709370657
* I am a wannabe code-policeDaniel Stenberg2004-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4646 a1c6a512-1295-4272-9138-f99709370657
* Isaac's calculator pluginDaniel Stenberg2004-05-19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4645 a1c6a512-1295-4272-9138-f99709370657