HTTP.Proxy ret = new HTTP.Proxy();
if (container[2] != null) {
- // FIXME!!!
+ // FIXME
//ret.proxyAutoConfigFunction = HTTP.Proxy.getProxyAutoConfigFunction(container[2]);
if (ret.proxyAutoConfigFunction != null) return ret;
}
// Win32Surface ////////////////////////////////////////////////////////////////////////////
- public static class Win32Surface extends Surface.DoubleBufferedSurface {
+ public static class Win32Surface extends Surface {
+ public PixelBuffer getPixelBuffer() { return null; } // FIXME
+
+ // hack
+ String cursor;
+
/** used to block while waiting for the message pump thread to create a hwnd for us */
public Semaphore hwndCreated = new Semaphore();
// Win32PixelBuffer //////////////////////////////////////////////////////////////////////////
- public static class Win32PixelBuffer extends PixelBuffer {
+ public static class Win32PixelBuffer implements PixelBuffer {
+ public void drawLine(int x1, int y1, int x2, int y2, int color) { }
+ public void drawGlyph(Font.Glyph source, int dx1, int dy1, int cx1, int cy1, int cx2, int cy2, int rgb, int pc){}
+ public void stroke(Polygon p, int color){}
+ public void fill(Polygon p, Paint paint){}
int w = 0;
int h = 0;
((Win32Picture)source).init();
drawPicture(source, dx, dy, cx1, cy1, cx2, cy2, 0, false);
}
- public void drawGlyph(org.ibex.graphics.Font.Glyph source, int dx, int dy, int cx1, int cy1, int cx2, int cy2, int rgb) {
+ public void drawGlyph(Font.Glyph source, int dx, int dy, int cx1, int cy1, int cx2, int cy2, int rgb) {
Win32Picture p = ((Win32Picture)((Platform.DefaultGlyph)source).getPicture());
p.init();
drawPicture(p, dx, dy, cx1, cy1, cx2, cy2, rgb, true);