public void draw(GOut g) { if ((curcf == null) || (g.gc.pref != curcf.cf)) { if (curcf != null) curcf.destroy(); curcf = add(new CPanel(g.gc.pref), Coord.z); } super.draw(g); }
public void draw(RenderWindow window) { super.draw(window); window.setView(m_currentView); m_petriDish.draw(window); window.setView(m_defaultView); window.draw(m_timeText); if (m_showGps) window.draw(m_fpsText); }