Bug 10001 - Refactor jive_surface and jive_tile
: Refactor jive_surface and jive_tile
Status: CLOSED FIXED
Product: SqueezePlay
Classification: Unclassified
Component: UI
: 7.4.x
: PC Windows XP
: P2 normal (vote)
: 7.6.0
Assigned To: Alan Young
:
Depends on:
Blocks: 7513 15756
  Show dependency treegraph
 
Reported: 2008-11-14 02:26 UTC by Richard Titmuss
Modified: 2011-05-18 13:31 UTC (History)
3 users (show)

See Also:
Category: Task


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Titmuss 2008-11-14 02:26:02 UTC
These probably should be one object. And also don't use tolua++ for the bindings anymore.

Add internally caching for images loaded from disk, replacing the skin caching in the skin applets.
Comment 1 Richard Titmuss 2008-11-14 02:38:54 UTC
Skin changes that need reverting after this fix are in r3367 and r3370.

Comment 2 SVN Bot 2010-03-09 00:22:19 UTC
 == Auto-comment from SVN commit #8640 to the jive repo by ayoung ==
 == https://svn.slimdevices.com/jive?view=revision&revision=8640 ==

bug 10001 (part 1): Refactor jive_surface and jive_tile 
Combine JiveTile into JiveSurface.
Although logically still distinct for some uses, they are now implemented in a single class. In particular use of single images created via either class can be used via the other.
Improve image caching so that only a single instance of Surface/Tile will ever be created for a single-image object (previously, the underlying image would only be loaded once (dynamically), but multiple referencing Tile/Surface objects could be created).
Remove obsolete caches from skins.
Comment 3 Alan Young 2010-03-09 00:24:46 UTC
Removal of tolua++ still pending.
Comment 4 Chris Owens 2010-05-07 10:28:49 UTC
Richard is no longer available to us.
Comment 5 Alan Young 2010-08-23 23:27:06 UTC
This is complete except for removing the tolua++ code.