1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2007,2009 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
14 #include "tilesource.h"
17 MultiScaleTileSource::MultiScaleTileSource ()
19 SetObjectType (Type::MULTISCALETILESOURCE
);
26 MultiScaleTileSource::set_image_uri_func (get_image_uri_func func
)
31 g_warning ("get_tile_func already set\n");
35 MultiScaleTileSource::InvalidateTileLayer (int level
, int tilePositionX
, int tilePositionY
, int tileLayer
)
38 invalidate_cb (invalidate_data
, level
, tilePositionX
, tilePositionY
, tileLayer
);
42 MultiScaleTileSource::set_invalidate_tile_layer_func (invalidate_tile_layer_func func
, MultiScaleImage
*user_data
)
45 invalidate_data
= user_data
;