[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/include pgapplication.h,1.3,1.3.6.1
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/include pgapplication.h,1.3,1.3.6.1 |
Date: |
Tue, 28 May 2002 06:25:09 -0400 |
Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv8327/include
Modified Files:
Tag: devel-1-0
pgapplication.h
Log Message:
added a switch to disable dirty updates globally:
PG_Application::DisableDirtyUpdates(bool)
added some default values for static variables in PG_Application.
Index: pgapplication.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgapplication.h,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -C2 -r1.3 -r1.3.6.1
*** pgapplication.h 15 Apr 2002 13:35:35 -0000 1.3
--- pgapplication.h 28 May 2002 10:25:06 -0000 1.3.6.1
***************
*** 467,470 ****
--- 467,471 ----
*/
static void SetCursor(SDL_Surface *image);
+
//! Update the graphical mouse cursor
/*!
***************
*** 473,476 ****
--- 474,478 ----
*/
static void DrawCursor();
+
//! Set or query the type of mouse cursor to use.
/*!
***************
*** 482,485 ****
--- 484,505 ----
static PG_CURSOR_MODE ShowCursor(PG_CURSOR_MODE mode);
+ //! Disable dirty widget updates
+ /*!
+ This function is used to disable dirty widget updates globally.
+ Dirty updates are usually used to speed up blitting. However, it can
cause
+ problems with 'semitransparent' widgets.
+ \param disable disable ditry updates
+
+ \note All widgets created after this call wont use the dirty update
anymore.
+ Widgets created before will still use this mode if enabled.
+ */
+ static void DisableDirtyUpdates(bool disable);
+
+ //! Check if the 'dirty update' mode is disabled globally
+ /*!
+ \return true - if the 'dirty update' mode is disabled globally
+ */
+ static bool GetDirtyUpdatesDisabled();
+
static PG_Font* DefaultFont;
***************
*** 541,544 ****
--- 561,565 ----
static PG_CURSOR_MODE my_mouse_mode;
static SDL_mutex* mutexScreen;
+ static bool disableDirtyUpdates;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/include pgapplication.h,1.3,1.3.6.1,
Alexander Pipelka <address@hidden> <=