1 // Copyright 2002 Adam Megacz, see the COPYING file for licensing [LGPL]
2 // see below for copyright information on the second portion of this file
5 #include <org/xwt/plat/Carbon.h>
6 #include <org/xwt/plat/Carbon$CarbonSurface.h>
7 #include <org/xwt/plat/Carbon$CarbonPicture.h>
8 #include <org/xwt/plat/Carbon$CarbonDoubleBuffer.h>
9 #include <java/lang/System.h>
10 #include <java/lang/Error.h>
11 #include <java/io/PrintStream.h>
14 // CarbonDoubleBuffer //////////////////////////////////////////////////////////////////////
16 void org::xwt::plat::Carbon$CarbonDoubleBuffer::drawPicture(org::xwt::Picture* s,
17 jint dx1, jint dy1, jint dx2, jint dy2, jint sx1, jint sy1, jint sx2, jint sy2) {
18 org::xwt::plat::Carbon$CarbonPicture* source = (org::xwt::plat::Carbon$CarbonPicture*)s;
19 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
22 void org::xwt::plat::Carbon$CarbonDoubleBuffer::finalize() {
23 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
26 void org::xwt::plat::Carbon$CarbonSurface::blit(org::xwt::DoubleBuffer* db, jint sx, jint sy, jint dx, jint dy, jint dx2, jint dy2) {
27 org::xwt::plat::Carbon$CarbonDoubleBuffer *xdb = (org::xwt::plat::Carbon$CarbonDoubleBuffer*)db;
28 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
31 void org::xwt::plat::Carbon$CarbonDoubleBuffer::fillRect (jint x, jint y, jint x2, jint y2, jint argb) {
32 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
35 void org::xwt::plat::Carbon$CarbonDoubleBuffer::drawString(::java::lang::String* font, ::java::lang::String* text, jint x, jint y, jint argb) {
36 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
40 // CarbonSurface //////////////////////////////////////////////////////////////////////
42 void org::xwt::plat::Carbon$CarbonSurface::setIcon(org::xwt::Picture* pic) {
43 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
46 void org::xwt::plat::Carbon$CarbonSurface::setTitleBarText(java::lang::String* s) {
47 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
50 void org::xwt::plat::Carbon$CarbonSurface::setLimits(jint minw, jint minh, jint maxw, jint maxh) {
51 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
54 void org::xwt::plat::Carbon$CarbonSurface::setSize (jint width, jint height) {
55 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
58 void org::xwt::plat::Carbon$CarbonSurface::setLocation (jint x, jint y) {
59 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
61 void org::xwt::plat::Carbon$CarbonSurface::toFront() {
62 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
64 void org::xwt::plat::Carbon$CarbonSurface::toBack() {
65 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
68 void org::xwt::plat::Carbon$CarbonSurface::_dispose() {
69 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
72 void org::xwt::plat::Carbon$CarbonSurface::setInvisible(jboolean i) {
73 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
76 void org::xwt::plat::Carbon$CarbonSurface::_setMaximized(jboolean b) {
77 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
80 void org::xwt::plat::Carbon$CarbonSurface::_setMinimized(jboolean b) {
81 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
87 // Carbon ///////////////////////////////////////////////////////////////////
89 jint org::xwt::plat::Carbon::_getScreenWidth() {
90 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
92 jint org::xwt::plat::Carbon::_getScreenHeight() {
93 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
96 jstring org::xwt::plat::Carbon::_getClipBoard() {
97 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
100 void org::xwt::plat::Carbon::_setClipBoard(jstring s) {
101 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
104 JArray<java::lang::String*>* org::xwt::plat::Carbon::listNativeFonts() {
105 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
108 gnu::gcj::RawData* org::xwt::plat::Carbon::fontStringToStruct(jstring s) {
109 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
112 jint org::xwt::plat::Carbon::_getMaxAscent(::java::lang::String* font) {
113 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
115 jint org::xwt::plat::Carbon::_getMaxDescent(::java::lang::String* font) {
116 throw new java::lang::Error(JvNewStringLatin1("FIXME"));
118 jint org::xwt::plat::Carbon::_stringWidth(::java::lang::String* font, ::java::lang::String* text) {
119 throw new java::lang::Error(JvNewStringLatin1("FIXME"));