GP32 Gpdesktop Progress


pea

developer
Joined
Oct 3, 2004
Messages
1,089
Age
45
Location
New Zealand
Website
www.projectitis.com
Hi all,

Just thought that I would post this here since I have reached a milestone (albeit an early one). The very first GPDesktop window rendered to the screen properly (actual screenshot)!

gpdesktop_ss320x240.3.jpg


Thanks to everyones help so far (Palmic, Synchro, Rov and many others) with sorting out the GIF issues, as well as the memcpy and other code bits and pieces. It runs pretty sweet (45 fps on my BLU+ at 40MHz - I am trying to develop it to run at the lowest pos clock speed).
 
Nice work :)

If you have a gif function for 16bits mod, this function is the welcome.
Thanks a lot :p
 
Keeü up the good work!
It good to see some more action here in the dev corner... I already have fun coding again :)
 
Octavious posted on Dec 30 2004 at 05:00 PM said:
why not boost it to 66mhz?
isnt that the standard default speed?

~Octavious

O ya, looks nice
whats it gonna be? like a better windups?

Longer battery life.
 
Last edited by a moderator:
greven posted on Dec 30 2004 at 06:56 PM said:
nice work. Is it a "OS" like wind-ups ?

Wind ups is not an OS like windows, Workbench etc, It is what is termed a launcher, Just like pac rom and free launcher.

Trooper
 
Last edited by a moderator:
Good job, this is a very good start !
No break during holidays, you seem to be unstoppable :blink:
 
Thanks guys,

Jarska is right - the lower the clock speed the better the battery life. It may be that later on I have to increase it. We'll see.

The window is completely customisable. At the moment you simply set a width and height and it renders accordingly. Later it will be draggable, resizeable, dockable etc. Each part of the window title bar is a little GIF. These GIFs are stored in a theme folder, and GPDesktop loads them on startup (gpmm/gpdesktp/themes/default/ ...etc). The placing of the buttons will be via ini file (actually XML file) but at the moment is fixed.

EDIT: Here are the theme images for those interested. Buttons have rollovers. I placed them on a black background to make it easier to see, but each is actually an individual image:
gpdesktop_theme.gif


I didn't want to waste lots of screen realistate on a menu bar, so the button on the left is the menu button, and causes a menu bar to appear.

The button on the far right is close (duh!) and the one next to it brings up a 'resize' menu which has several options according to the window type (such as: minimise, full size (2x2 screens), normal size (320x240), and float (resizeable).

GPDesktop will eventually be a type of OS, though a very simple one. I am trying to integrate dll type support for user programs (using dlopen) but so far no luck. Hopefully it will support apps like image viewer, text editor, html viewer (offline browser - maybe online if those bluetooth units become available :) ), etc. The main thing that will set it apart from windups is that the programs are seperate from the main app, so people can create their own.

The first version will not be threaded - only the window at the top will be active. But later on - who knows :p
 
pea posted on Dec 30 2004 at 11:11 PM said:
The placing of the buttons will be via ini file (actually XML file) but at the moment is fixed.

Have you already writen your own xml parser :blink: ??
I was thinking about porting libxml to gp32...
 
Last edited by a moderator:
Have you already writen your own xml parser

I have a very robust set of functions I wrote in delphi to handle a custom HTML-like script that we invented at my old work. It parses XML style tags, and seperates all key-value pairs into lists of attributes. It handles quoted and non-quoted strings as well as flags (a key without a value, such as 'nowrap' or 'selected' in html). It shouldn't be too hard to convert this for use as a simple XML parser.

p.s. Have added another image in my post above to show what a theme looks like
 
trooper posted on Dec 30 2004 at 07:35 PM said:
greven posted on Dec 30 2004 at 06:56 PM said:
nice work. Is it a "OS" like wind-ups ?

Wind ups is not an OS like windows, Workbench etc, It is what is termed a launcher, Just like pac rom and free launcher.

Trooper
that's why i used the " ", i know its isn't a real os.
Bah, we won't argue on this topic, shall we ? ;)
 
Last edited by a moderator:
will we be able to put shortcuts on the desktop?
and, will there be, I think there should, a small bar on the bottom like in windows?
that would be neat
anyways, good luck!

~Octavious
 
will we be able to put shortcuts on the desktop?
and, will there be, I think there should, a small bar on the bottom like in windows?
yes and yes. But don't read too much in to this yet, its only a blank window on a 640x480 desktop at the moment!
 
That does look pretty cool. The graphics look very nice and slick, which looks cool. :)

Lately, I've been working on a GUI system for a top secret project of mine (probably won't go anywhere, but darn it, I have to try!), and I've been testing the 'concept' in vb where it's easy to test, before I mess around in C++.

Are you using some huge gui array to generate your windows? That's what I'm doing, I'm using a huge array which stores what goes where, width and height, text, and other misc properties. I don't think there's any other way to do it.

Wait a second, 640x480? o_O
 
Back
Top