(win32) you can now safely cancel the avicodec dialog
This commit is contained in:
@@ -6578,7 +6578,7 @@ void renderbuts(void)
|
|||||||
#ifdef WITH_QUICKTIME
|
#ifdef WITH_QUICKTIME
|
||||||
#if defined (_WIN32) || defined (__APPLE__)
|
#if defined (_WIN32) || defined (__APPLE__)
|
||||||
if(!have_qtcodec)
|
if(!have_qtcodec)
|
||||||
uiDefBut(block, LABEL, 0, "Codec: undefined", 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
uiDefBut(block, LABEL, 0, "Codec: not set", 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
||||||
else
|
else
|
||||||
uiDefBut(block, LABEL, 0, qtcdname, 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
uiDefBut(block, LABEL, 0, qtcdname, 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
||||||
uiDefBut(block, BUT,B_SELECTCODEC, "Set codec", 892,yofs,112,20, 0, 0, 0, 0, 0, "Set codec settings for Quicktime");
|
uiDefBut(block, BUT,B_SELECTCODEC, "Set codec", 892,yofs,112,20, 0, 0, 0, 0, 0, "Set codec settings for Quicktime");
|
||||||
@@ -6600,7 +6600,7 @@ void renderbuts(void)
|
|||||||
#endif /* WITH_QUICKTIME */
|
#endif /* WITH_QUICKTIME */
|
||||||
} else {
|
} else {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if(G.scene->r.avicodecdata->avicodecname[0] == NULL)
|
if(G.scene->r.avicodecdata == NULL)
|
||||||
uiDefBut(block, LABEL, 0, "Codec: not set.", 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
uiDefBut(block, LABEL, 0, "Codec: not set.", 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
||||||
else
|
else
|
||||||
uiDefBut(block, LABEL, 0, G.scene->r.avicodecdata->avicodecname, 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
uiDefBut(block, LABEL, 0, G.scene->r.avicodecdata->avicodecname, 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
|
||||||
|
@@ -574,6 +574,10 @@ void window_raise(Window *win) {
|
|||||||
|
|
||||||
#ifdef _WIN32 //FULLSCREEN
|
#ifdef _WIN32 //FULLSCREEN
|
||||||
void window_toggle_fullscreen(Window *win, int fullscreen) {
|
void window_toggle_fullscreen(Window *win, int fullscreen) {
|
||||||
|
/* these two lines make sure front and backbuffer are equal. for swapbuffers */
|
||||||
|
markdirty_all();
|
||||||
|
screen_swapbuffers();
|
||||||
|
|
||||||
if(fullscreen)
|
if(fullscreen)
|
||||||
GHOST_SetWindowState(win->ghostwin, GHOST_kWindowStateFullScreen);
|
GHOST_SetWindowState(win->ghostwin, GHOST_kWindowStateFullScreen);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user