File indexing completed on 2024-05-05 03:49:46

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2009 Bastian Holst <bastianholst@gmx.de>
0004 //
0005 
0006 #ifndef MARBLE_ABSTRACTMARBLEGRAPHICSLAYOUT_H
0007 #define MARBLE_ABSTRACTMARBLEGRAPHICSLAYOUT_H
0008 
0009 
0010 #include "marble_export.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class MarbleGraphicsItem;
0016 
0017 class MARBLE_EXPORT AbstractMarbleGraphicsLayout
0018 {
0019  public:
0020     AbstractMarbleGraphicsLayout();
0021     virtual ~AbstractMarbleGraphicsLayout();
0022 
0023     /**
0024      * This updates the positions of all items in the layout.
0025      * Calling this will be done on every repainting, so you won't have to do it yourself.
0026      */
0027     virtual void updatePositions( MarbleGraphicsItem *parent ) = 0;
0028 };
0029 
0030 }
0031 
0032 #endif