Author: richard
Date: Mon Feb  9 07:45:17 2009
New Revision: 4096

URL: http://svn.slimdevices.com?rev=4096&root=Jive&view=rev
Log:
 r4...@harrypotter (orig r4095):  richard | 2009-02-09 15:43:25 +0000
 Bug: N/A
 Description:
 Fix for hardware double buffering.
 
 

Modified:
    7.4/branches/pango/   (props changed)
    7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua
    7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c

Propchange: 7.4/branches/pango/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Mon Feb  9 07:45:17 2009
@@ -4,7 +4,7 @@
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.2/trunk:2921
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/private-branches/jive-refresh:3653
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/trunk:3993
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:4089
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:4095
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:2013
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Modified: 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua
URL: 
http://svn.slimdevices.com/7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua?rev=4096&root=Jive&r1=4095&r2=4096&view=diff
==============================================================================
--- 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua 
(original)
+++ 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua Mon 
Feb  9 07:45:17 2009
@@ -362,7 +362,7 @@
 
 
 function JiveMain:setSelectedSkin(appletName)
-       log:warn(appletName)
+       log:info("Select skin ", appletName)
        if _loadSkin(self, appletName, false, true) then
                self.selectedSkin = appletName
        end

Modified: 7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
URL: 
http://svn.slimdevices.com/7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c?rev=4096&root=Jive&r1=4095&r2=4096&view=diff
==============================================================================
--- 7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c 
(original)
+++ 7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c Mon 
Feb  9 07:45:17 2009
@@ -344,7 +344,7 @@
        JiveSurface *srf;
        Uint32 t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0;
        clock_t c0 = 0, c1 = 0;
-       bool_t force_redraw;
+       bool_t force_redraw, drawn = false;
 
 
        JIVEL_STACK_CHECK_BEGIN(L);
@@ -440,6 +440,8 @@
                lua_pushvalue(L, -3);   // widget
                lua_pushvalue(L, 2);    // surface
                lua_call(L, 2, 0);
+
+               drawn = true;
        }
        else if (jive_dirty_region.w || force_redraw) {
 #if 0
@@ -464,6 +466,8 @@
                        lua_call(L, 3, 0);
                }
                jive_dirty_region.w = 0;
+
+               drawn = true;
        }
 
        if (perfwarn.screen) {
@@ -482,7 +486,8 @@
 
        JIVEL_STACK_CHECK_END(L);
 
-       return 0;
+       lua_pushboolean(L, drawn);
+       return 1;
 }
 
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to