| Reply | « Previous Thread | Next Thread » |
|
1)I need the glcanvas and gles modules for 2en edition phone(3230),can you help me ?
2)can I program a floating TopWindow?if I have two windows on the screen,how can I switch between them? and can I draw someting on the TopWindow?can you give some exclusive app using the TopWindow? 3)I have drawn a round rectangle using the line() and arc()method,but then how to fill it with some color? That's all! longing for your help... |
|
Quote:
Use pieslice() or ellipse() for the corners instead of arc(), so you can use the fill parameter. Then fill the interior with two rectangle()s or one polygon(). |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
|
Quote:
As for switching between 2 windows, please explain a bit more. |
|
as for "floating Window",I mean "dynamic" , not static.
---- and I have get it how to "switching between two",thanks for your help. |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
It can be moved around on the screen by hiding it, changing it's coordinates and showing it again. This is done very fast so the movement would be seamless. Is that what you meant?
|
|
Quote:
---- aha! "Use pieslice()" is a good idea,I will have a try,thanks!but I make little of "two rectangle()s or one polygon()",can you give me a code example?just use the polygon() to fill. |
|
Quote:
thanks,I will try. |
|
Well, you can give a fill-parameter to either rectange() or polygon() and set outline to None, so there will be no outline. You just need to figure out the area which needs to be filled between the corner ellipses/pieslices. It's an exercise on pen and paper.
|
|
The attached image contains an illustration which may be easier to implement than what I suggested before. It uses ellipses, rectangles and lines to create a rounded rectangle.
|
|
Quote:
![]() |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| 20 questions game | Jimbo43 | Python | 2 | 2008-04-14 18:04 |
| need help with my sms sender code (back with some topical questions this time) | kururu | General Symbian C++ | 0 | 2008-03-02 19:44 |
| Questions Not In Forum | JAgoika | Mobile Java General | 5 | 2004-10-22 17:31 |
| some questions on NOKIA/symbian development, thank you! | trendin | Mobile Java General | 1 | 2004-03-18 12:38 |
| some questions on NOKIA/symbian development, thank you! | trendin | General Symbian C++ | 4 | 2003-12-11 04:43 |