The R Project SVN R

Rev

Rev 7816 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7816 Rev 7824
Line 182... Line 182...
182
void UnLoad_Rbitmap_Dll();
182
void UnLoad_Rbitmap_Dll();
183
static void SaveAsPng(DevDesc *dd,char *fn);
183
static void SaveAsPng(DevDesc *dd,char *fn);
184
static void SaveAsJpeg(DevDesc *dd,int quality,char *fn);
184
static void SaveAsJpeg(DevDesc *dd,int quality,char *fn);
185
static void SaveAsBmp(DevDesc *dd,char *fn);
185
static void SaveAsBmp(DevDesc *dd,char *fn);
186
static void SaveAsBitmap(DevDesc *dd);
186
static void SaveAsBitmap(DevDesc *dd);
187
void  ProcessEvents();
187
void  R_ProcessEvents();
188
 
188
 
189
static void PrivateCopyDevice(DevDesc *dd,DevDesc *ndd, char *name)
189
static void PrivateCopyDevice(DevDesc *dd,DevDesc *ndd, char *name)
190
{
190
{
191
    x11Desc *xd = (x11Desc *) dd->deviceSpecific;
191
    x11Desc *xd = (x11Desc *) dd->deviceSpecific;
192
    gsetcursor(xd->gawin, WatchCursor);
192
    gsetcursor(xd->gawin, WatchCursor);
Line 538... Line 538...
538
	if (xd->resize) {
538
	if (xd->resize) {
539
	    dd->dp.resize(dd);
539
	    dd->dp.resize(dd);
540
	    xd->replaying = 1;
540
	    xd->replaying = 1;
541
	    playDisplayList(dd);
541
	    playDisplayList(dd);
542
	    xd->replaying = 0;
542
	    xd->replaying = 0;
543
	    ProcessEvents();
543
	    R_ProcessEvents();
544
	} else
544
	} else
545
	    SHOW;
545
	    SHOW;
546
    }
546
    }
547
}
547
}
548
 
548
 
Line 1335... Line 1335...
1335
	/* parameters (left, right, bottom, and top) for the 	*/
1335
	/* parameters (left, right, bottom, and top) for the 	*/
1336
	/* new device size					*/
1336
	/* new device size					*/
1337
	/* this is not usually called directly by the graphics	*/
1337
	/* this is not usually called directly by the graphics	*/
1338
	/* engine because the detection of device resizes	*/
1338
	/* engine because the detection of device resizes	*/
1339
	/* (e.g., a window resize) are usually detected by	*/
1339
	/* (e.g., a window resize) are usually detected by	*/
1340
	/* device-specific code	(see ProcessEvents in ./system.c)*/
1340
	/* device-specific code	(see R_ProcessEvents in ./system.c)*/
1341
	/********************************************************/
1341
	/********************************************************/
1342
 
1342
 
1343
 
1343
 
1344
static void X11_Resize(DevDesc *dd)
1344
static void X11_Resize(DevDesc *dd)
1345
{
1345
{
Line 1748... Line 1748...
1748
    gsetcursor(xd->gawin, CrossCursor);
1748
    gsetcursor(xd->gawin, CrossCursor);
1749
    setstatus("Locator is active");
1749
    setstatus("Locator is active");
1750
    while (!xd->clicked) {
1750
    while (!xd->clicked) {
1751
      /*	SHOW;*/
1751
      /*	SHOW;*/
1752
        WaitMessage();
1752
        WaitMessage();
1753
	ProcessEvents();
1753
	R_ProcessEvents();
1754
    }
1754
    }
1755
    addto(xd->gawin);
1755
    addto(xd->gawin);
1756
    gchangemenubar(xd->mbar);
1756
    gchangemenubar(xd->mbar);
1757
    if (xd->stoploc) {
1757
    if (xd->stoploc) {
1758
      hide(xd->stoploc);
1758
      hide(xd->stoploc);