Ck100-app-devel
From Cool-Idea
There are different areas of application development. You may think the UI of CK100 is just fine and you want to add some of your ideas to it. Or you may think the UI of CK100 totally sucks and you want to write one of your own. There are definitely areas of improvements. Therefore, pick your own sections!
You may want to read more about the key files, directories and build system.
Contents |
Quick HOWTO of Podzilla2 Development
Podzilla2 is the main user interface of the iPodLinux project. It is a open source project and suitable for menu-based UI system. It is adopted by CK100 project and used as its main user interface too. Podzilla2 uses ttk as its graphics toolkit. Both ttk and podzilla2 are heavily modified to make them run faster and more stable on CK100.
- source tree: CK100-r1.4-src/podzilla2/
- source tree topology:
- modules/
- Useful modules; put your own module source code here
- locale/
- Translation files for different languages
- fonts/
- Link to ttk's font directory
- schemes/
- Link to ttk's schemes directory
- modules/
- The simplest thing to start with is to look at the sample module, "modules/mymodule/" and start modifying it to suit your need. If you want to copy it to your own directory, be sure to modify the names of the module in various places:
- Makefile
- Module
- src.c
- Build podzilla2 using the build system and dd the resulting ramdisk.img to CK100's rootfs partition...
- (More to come...)
CK100's UI totally sucks
The Linux source code supplied supports standard framebuffer device, where you may access it via /dev/fb. You may start coding on this or you may use existing libraries, such as SDL. ttk and podzilla2 are based on SDL too.
Start by adding your code to the build system and add the build rules for your code!
