GPE SOURCES, INCLUDING THE MODIFIED ONES ======================================== The GPE Palmtop Environment sources. Most is upstream and unmodified. *** base/gpe-appmgr/ IS NOT UPSTREAM -- AND IT IS NOW SUPERSEDED. *** It carries the first edition's reconstruction of Psion's launcher, written before Psion's image was found. Psion's own gpe-appmgr came from their private CVS (cvs.psiondev.com, tag GPE_APPMGR_56); its source is still lost, but Psion's built launcher is in the soho image, and the released images run that. None of the code below is in any image now. Written for this project, principally in row_view.c: * The right-hand TODAY / PROGRAMS / TASKS strip, drawn rotated. * A red power button at the foot of that strip that suspends the machine. (Psion's is orange and runs "apm -s" -- the reconstruction guessed the action right and the colour wrong.) * The rotated OFFICE / INTERNET / PIM / OTHER category labels. * /usr/share/gpe/overrides being searched ahead of /usr/share/applications, which is how Psion's names are restored without touching the .desktop files their own builds install. It is an imitation measured against the prototype photograph in 5-REFERENCE/ui-photos/, not Psion's code. Measured against Psion's real artwork afterwards, its geometry was right to a pixel or two and its colours were not: a photograph of a glossy screen cannot give colour. Kept as a record of the method. THINGS LEARNED IN THERE, WORTH KNOWING BEFORE YOU EDIT The usable height is not allocation.height. That reports 600; the desktop must fit gdk_screen_height() - PANEL_HEIGHT, which is 552. The power button was first drawn underneath the dock for exactly this reason. GDK has no antialiasing. Anything drawn with gdk_draw_* comes out blocky at this size. The power button is drawn at 4x and scaled down with GDK_INTERP_HYPER. find_icon() returns NULL for a missing icon and the draw path guards on it, so a .desktop naming an icon that does not exist is safe -- it renders with a label and no picture rather than crashing.