javauis/lcdui_qt/src/javax/microedition/lcdui/LCDUIInvokerImpl.java
changeset 26 dc7c549001d5
parent 23 98ccebc37403
child 35 85266cc22c7f
equal deleted inserted replaced
23:98ccebc37403 26:dc7c549001d5
   176         return null;
   176         return null;
   177     }
   177     }
   178 
   178 
   179     protected GraphicsContext doGetGc(Graphics g)
   179     protected GraphicsContext doGetGc(Graphics g)
   180     {
   180     {
       
   181         /*
   181         Logger.method(this, "doGetGc", g);
   182         Logger.method(this, "doGetGc", g);
   182         if(g != null)
   183         if (g != null) {
   183         {
       
   184             return g.getGc();
   184             return g.getGc();
   185         }
   185         }
       
   186         */
   186         return null;
   187         return null;
   187     }
   188     }
   188 
   189 
   189     protected Font doGetFreeSizedFont(int face, int style, int height)
   190     protected Font doGetFreeSizedFont(int face, int style, int height)
   190     {
   191     {
   204         return ((Canvas) canvas).getGameBufferGraphics();
   205         return ((Canvas) canvas).getGameBufferGraphics();
   205     }
   206     }
   206 
   207 
   207     protected Object doGetFlushLock(Object graphics)
   208     protected Object doGetFlushLock(Object graphics)
   208     {
   209     {
   209         return ((Graphics) graphics).getLock();
   210         //return ((Graphics) graphics).graphicsBuffer;
       
   211         return null;
   210     }
   212     }
   211 
   213 
   212     protected int doGetKeyStates(Object canvas)
   214     protected int doGetKeyStates(Object canvas)
   213     {
   215     {
   214         return ((Canvas) canvas).getGameKeyStates();
   216         return ((Canvas) canvas).getGameKeyStates();