Hi, I intend to design/create my own stand-alone GUI. I am using the ARM9 (AT91SAM9RL64), and the yagarto toolchain. The X libraries are a part of this toolchain and provides various funtions to create objects, etc. I have tried these functions (XDrawlines, XFillPolygon, etc) in Linux(REDHAT) and got some ideas as to how these functions are to be used. However, i am a bit lost when i have to use these functions in the ARM9. Could someone give me a head start as to how to implement these functions in the ARM9. I will be using SDRAM in my application for buffering the LCD. Oh, btw, i'm using a 320 (RGB) x 240 resoultion LCD in 16 bit mode. Please correct me if i'm wrongin saying the algorithm for the LCD display will be as follows: 1. Map the RAM for LCD process. 2. assign a 'window' pointer for display (assuming i've set the basic values of clipping, boundaries etc.) 3. create a pointer to an object (rect, line, etc.) that is linked to the above window,and perform the function on this pointer (using XDraw, etc) 4. NOW, output this to the RAM for refreshing. Thanks
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.