Image display problem

From: Adnan Khan (raoadnan@ecel.ufl.edu)
Date: Thu Jul 22 1999 - 20:30:31 MEST


hi all!

Thanks Patrick for your help in displaying gif images in canvas. But it
seesm that it didn't quite helpful for the kind of work I intend to do.
Actually, I am writing a image display program that can read an array of
pixmap from the buffer and display it in the canvas. 

Please take a look at the following code:

int main(int argc, char **argv)
{
  
static char hasmail_bmp_data[] = {
    0x42,0x4d,0xc2,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0x00,0x00,0x00,
    0x28,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x01,0x00
};

TGX11 *gTGX = new TGX11("_image0001" , "Image GUI");
gTGX->CreateWindow(.....)
....confused

Can any one help me out in that matter..Shall be gratefull 

Can you also tell me how to Create the Window for a TGX11 object????

mighty thanks

ADnan Khan 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET