This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Hard time


Hard time

Postby Eberhardt_DK » Apr 26, 2003 @ 3:49pm

Hi

Anigma works fine on the Qtek (called O2 in UK I guess).

I've been digging down into the source code. Looks very complicated :roll:

Anyone have a suggestion on how to learn programming with GApiDraw together with Embedded C++ 3.0 :?:

Thanx
Eber
Eberhardt_DK
 


Open Source Project for learning

Postby Eberhardt_DK » Apr 26, 2003 @ 4:05pm

Hi

Why not start an Open Source Project where everybody interested can learn to program using GApiDraw in combination with Embedded C++ 3.0:?:

/Eber
Eberhardt_DK
pm Member
 
Posts: 1
Joined: Apr 26, 2003 @ 3:52pm


Postby ppcStudios » Apr 26, 2003 @ 4:08pm

If you already know C++, then there's not alot to learn to understand eVcc. If you don't know C++, get a good C++ book or study the many online C++ tutorials available. As far as learning GapiDraw, the included sample programs are invaluable learning tools. There are also several complete programs available for reference (Anigma, PocketKobo) as well as a number of tutorials done by developers. You can find some tips on my website as well at www.ppcstudios.com
G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Source Code

Postby warmi » Apr 26, 2003 @ 6:02pm

Uh .. Anigma is not exactly the best example if you want to learn basic GapiDraw usage.
It is rather complicated in the sense that the game is not really using GapiDraw directly but rather small GUI framework built on top of GapiDraw.

The framework consists of entire set of widgets,dialogs, messaging system (slots and signals ), timer and file access classes etc ..

If you are interested in CGapiDraw usage then check WR_Application ( which is main application class derived from CGapiApplication) and WR_Painter ( which is sort of like Java Graphics class or even CPaintDC - it encapsulates all graphic calls.)

Basically the entire framwork is based upon concept of a window which has bunch of virtual methods like :
paintEvent(WR_Painter *p);
stylusPressEvent ( WR_StylusEvent * );
resizeEvent();
moveEvent();
etc..
The idea is that you never directly use CGapiDraw but rather write MFC/JAva/Qt like code creating windows, responding to paint messages etc ...

Here is an ugly screenshot (using default GapiDraw system font) of a window with a listbox and button and two transparent dialogs ( one with a listbox) floating above that window:
warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum