paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/core pgapplication.cpp,1.10.2.15,1.10.2.1


From: Teunis Peters <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/core pgapplication.cpp,1.10.2.15,1.10.2.16
Date: Sun, 26 Jan 2003 16:27:32 -0500

Update of /cvsroot/paragui/paragui/src/core
In directory subversions:/tmp/cvs-serv7675/src/core

Modified Files:
      Tag: devel-opengl
        pgapplication.cpp 
Log Message:
fixed many opengl driver bugs.  Most things now work - although spotting 
colourkeying still doesn't.


Index: pgapplication.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/core/pgapplication.cpp,v
retrieving revision 1.10.2.15
retrieving revision 1.10.2.16
diff -C2 -r1.10.2.15 -r1.10.2.16
*** pgapplication.cpp   9 Nov 2002 12:00:35 -0000       1.10.2.15
--- pgapplication.cpp   26 Jan 2003 21:27:20 -0000      1.10.2.16
***************
*** 63,66 ****
--- 63,67 ----
  PG_Draw::PG_DrawableSurface *PG_Application::my_mouse_pointer;
  PG_Rect PG_Application::my_mouse_position = PG_Rect(0,0,0,0);
+ PG_Rect PG_Application::my_mouse_definition = PG_Rect(0,0,0,0);
  PG_CURSOR_MODE PG_Application::my_mouse_mode = PG_CURSOR_HARDWARE;
  PG_Font* PG_Application::DefaultFont = NULL;
***************
*** 304,308 ****
        my_mouse_position.my_xpos = x;
        my_mouse_position.my_ypos = y;
!       drawable->BlitSurface(my_mouse_pointer, PG_Rect(), my_mouse_position);
        if(!GetBulkMode() && bUpdate) {
                drawable->UpdateRects(1, &saved);
--- 305,309 ----
        my_mouse_position.my_xpos = x;
        my_mouse_position.my_ypos = y;
!       drawable->BlitSurface(my_mouse_pointer, my_mouse_definition, 
my_mouse_position);
        if(!GetBulkMode() && bUpdate) {
                drawable->UpdateRects(1, &saved);
***************
*** 385,388 ****
--- 386,390 ----
        my_mouse_position.my_width  = my_mouse_pointer->GetWidth();
        my_mouse_position.my_height = my_mouse_pointer->GetHeight();
+       my_mouse_definition = 
PG_Rect(0,0,my_mouse_pointer->GetWidth(),my_mouse_pointer->GetHeight());
        DrawCursor();
  }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]