From e03eb7d4ce6643b164bd60e278738fd9ca6ba4b5 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 3 Apr 2009 22:48:55 +0000 Subject: [PATCH] Removed leftover chrono-related code (refer to commit #37721 for the changes to kgraphics.cpp) svn-id: r39820 --- engines/sci/engine/kgraphics.cpp | 8 -------- engines/sci/gfx/gfx_widgets.h | 15 --------------- 2 files changed, 23 deletions(-) diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 92ba8af7db1..c3619de48c9 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -1719,14 +1719,6 @@ static void _k_view_list_do_postdraw(EngineState *s, gfxw_list_t *list) { while (widget) { reg_t obj = make_reg(widget->ID, widget->subID); - if (widget->type == GFXW_SORTED_LIST) - _k_view_list_do_postdraw(s, GFXWC(widget)); - - if (widget->type != GFXW_DYN_VIEW) { - widget = (gfxw_dyn_view_t *) widget->next; - continue; - } - /* * this fixes a few problems, but doesn't match SSCI's logic. * The semantics of the private flag need to be verified before this can be uncommented. diff --git a/engines/sci/gfx/gfx_widgets.h b/engines/sci/gfx/gfx_widgets.h index 0f1c5628268..fabe6c19791 100644 --- a/engines/sci/gfx/gfx_widgets.h +++ b/engines/sci/gfx/gfx_widgets.h @@ -56,12 +56,6 @@ struct gfxw_widget_t; /* Our strategy for dirty rectangle management */ #define GFXW_DIRTY_STRATEGY GFXOP_DIRTY_FRAMES_CLUSTERS -/* Indicates that a Chrono-Port should not be created even if it doesn't exist. */ -#define GFXW_CHRONO_NO_CREATE 1 - -/* Indicates that non-topmost ports should be scanned for a Chrono-Port. */ -#define GFXW_CHRONO_NON_TOPMOST 2 - /* Terminology ** ** Two special terms are used in here: /equivalent/ and /clear/. Their meanings @@ -519,15 +513,6 @@ void gfxw_port_auto_restore_background(gfxw_visual_t *visual, gfxw_port_t *windo ** Also records the specified background rectangle, for later recovery */ - -gfxw_port_t *gfxw_get_chrono_port(gfxw_visual_t *visual, gfxw_list_t **temp_widgets_list, int flags); - -void gfxw_add_to_chrono(gfxw_visual_t *visual, gfxw_widget_t *widget); - -void gfxw_widget_reparent_chrono(gfxw_visual_t *visual, gfxw_widget_t *view, gfxw_list_t *target); - -void gfxw_widget_kill_chrono(gfxw_visual_t *visual, int window); - } // End of namespace Sci #endif // SCI_GFX_GFX_WIDGETS_H