/[gzz]/gzz/gfx/libos/Os.hxx
ViewVC logotype

Diff of /gzz/gfx/libos/Os.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by tjl, Mon Jan 13 06:48:49 2003 UTC revision 1.18 by tjl, Sat Jan 18 14:53:08 2003 UTC
# Line 99  namespace Os { Line 99  namespace Os {
99      public:      public:
100          Window() { }          Window() { }
101          virtual ~Window() { };          virtual ~Window() { };
         /** Queue a repaint request.  
          */  
         virtual void repaint() = 0;  
102          virtual void setEventHandler(Eventhandler *h) = 0;          virtual void setEventHandler(Eventhandler *h) = 0;
103          /*          /*
104          virtual Eventhandler *getEventHandler() {          virtual Eventhandler *getEventHandler() {
# Line 148  namespace Os { Line 145  namespace Os {
145          virtual Text::Font *loadFont(const char *javaName,          virtual Text::Font *loadFont(const char *javaName,
146                          int pt) = 0;                          int pt) = 0;
147    
148            /** Handle events.
149             * @param wait If true, this function will wait for the next event
150             *             and handle it before returning; if false, will return
151             *             immediately.
152             */
153          virtual void eventLoop(bool wait) = 0;          virtual void eventLoop(bool wait) = 0;
154    
155            /** Interrupt event loop waiting.
156             * Because there are things happening in multiple threads in Java,
157             * it is useful to be able to stop the event loop from waiting
158             * to perform idle tasks again.
159             * <p>
160             * This is the ONLY function here that may be called from another
161             * thread.
162             */
163            virtual void interrupt() = 0;
164    
165    
166      };      };
167    
168    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26