offscreenonly help
Author |
Message |
kicknock
|
Posted: Thu Mar 29, 2007 8:16 pm Post subject: offscreenonly help |
|
|
when i use "offscreenonly" in "setscreen", anything i type in when using the "get" statement doesnt show. also, when i use the GUI menu, the dropdown options doesnt show.
how do i make them show? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Thu Mar 29, 2007 8:34 pm Post subject: RE:offscreenonly help |
|
|
the reason nothing shows when typing is because all of the text is drawn to the back buffer. This is never seen by the user until the back buffer is drawn to the screen. The same is true for your dropdown menu. I suggest you take a look at my View.Set and View.Update tutorial in the Turing Walkthrough. |
|
|
|
|
![](images/spacer.gif) |
ericfourfour
|
Posted: Thu Mar 29, 2007 10:11 pm Post subject: RE:offscreenonly help |
|
|
If you must use get, try View.Set ("nooffscreenonly") to stop the double buffering and View.Set ("offscreenonly") to start the double buffering.
If you want a better alternative, I made a Getter class which can be found somewhere in Turing Submissions. It has a flashing cursor (iirc) so the user knows when to type, and it will work with double buffering.
As for the gui portion, simply place your View.Update after the gui is rendered onto the backbuffer. |
|
|
|
|
![](images/spacer.gif) |
|
|