14 #ifndef __IMG_TileInetBuf_h__
15 #define __IMG_TileInetBuf_h__
35 int getTileWidth()
const override {
return myTW; }
42 { myMX =
x; myMY =
y; };
44 { x = myMX; y = myMY; };
49 void writeTile(
int xl,
int xr,
int yb,
int yt,
50 const void *
data)
override;
56 return myInetSocket ? myInetSocket->getPort() : 0;
59 void sendStartupCommand(
int pid,
int x,
int y,
64 static int getServerPort();
73 int myTW, myTH, myQuitFlag;
75 int myTotalData, myDataSoFar;
virtual void getKeyString(char *str)=0
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
virtual int canReadTile() const =0
void setTileSize(int w, int h) override
virtual void writeTile(int xl, int xr, int yb, int yt, const void *data)=0
void setMouseXY(int x, int y) override
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
void getMouseXY(int &x, int &y) const override
virtual int getQuitFlag() const =0
GLfloat GLfloat GLfloat GLfloat h
virtual int canWriteTile() const =0
virtual void readTile(IMG_Raster &rp, int *coords=0)=0
virtual void setQuitFlag(int val=1)=0
GLubyte GLubyte GLubyte GLubyte w
int getTileHeight() const override