[mythtv-commits] mythtv commit: r19175 by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Nov 29 19:57:59 UTC 2008


      Author: paulh
        Date: 2008-11-29 19:57:59 +0000 (Sat, 29 Nov 2008)
New Revision: 19175
   Changeset: http://cvs.mythtv.org/trac/changeset/19175

Modified:

   trunk/mythtv/libs/libmythui/mythscreenstack.cpp
   trunk/mythtv/libs/libmythui/mythscreenstack.h
   trunk/mythtv/libs/libmythui/mythscreentype.cpp
   trunk/mythtv/libs/libmythui/mythscreentype.h

Log:

Add an Init() function to MythScreenType that you can override in subclasses.
It gets called shortly after the screen is first drawn for the Qt painter or
after the transition effect has finished for the OpenGL painter.

The idea is to only do enough in Create() to load and display the screen and
do anything else in Init() that may take some time to complete. This can make
the GUI appear to be a lot more responsive since screens that split the
initialisation appear almost instantly.




More information about the mythtv-commits mailing list