This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9583 - periodic table
Attached to Project:
Rockbox
Opened by Yifu Huang (yhuang) - Thursday, 27 November 2008, 22:52 GMT+2
Opened by Yifu Huang (yhuang) - Thursday, 27 November 2008, 22:52 GMT+2
|
DetailsI found this app useful in iPodLinux so I decided to port it to Rockbox. Jonathan Bettencourt is the original author.
Works on daily build: 19242 for iPod Video Smaller screen targets won't be able to see the full table. |
This task depends upon
Fixed 2 warnings ("function declaration isn’t a prototype").
- Build of this plugin fail under the current version Rockbox.
- It does not customize for players other than iPod video.
- The source code doesn't follow the Rockbox coding rule. ("//" comment, using TAB)
- Physical data of elements (mass, dencity, freezing point, and boiling point) is old.
- I do not understand whether it is uncertain data or the value of data is 0 because uncertain data is output by 0.
I corrected the source of this plugin in place of Huang.
The problem of lorenzo is solved by this correction.
changes:
- Build of this plugin success under the current version Rockbox.
- Current Rockbox build player (http://build.rockbox.org/) supports (excepts Archos Player).
(I check actual iPod video. Other players checked by using uisimulator.
- TAB -> 4 spaces, // coments -> /* comments */
- Physical data of elements update.
- Physical data changes float to char *.
- Uncertain data outputs by "-".
- Element has no stable nuclides. The value enclosed in brackets. (except Th, Pa, and U)
- Lantanoids include "La", Actinoids include "Ac" (tables place move)
- The 117th element does not display.
The plugin have to work on stable ports as well as unstable ports, so I add some button macros. Meanwhile the plugin doesn't work on the c200, because of the small display size. I can't figure out, how to solve this.
But also on the e200 the font is almost unreadable. Perhaps it should be turned, because on the fuze it looks pretty good, although just high and width size is swapped.
Besides the application needs an manual.
For what is the button PERIODIC_KEY_SELECT ?
@asettico: Please use the the command "svn diff apps/plugins/ > patch.diff" to create a patch.