File indexing completed on 2024-04-21 04:02:02

0001 /*
0002     KBlackBox - A simple game inspired by an emacs module
0003 
0004     SPDX-FileCopyrightText: 2007 Nicolas Roffet <nicolas-kde@roffet.com>
0005 
0006     SPDX-License-Identifier: GPL-2.0-or-later
0007 */
0008 
0009 #ifndef KBBGRAPHICSITEMTUTORIALMARKER_H
0010 #define KBBGRAPHICSITEMTUTORIALMARKER_H
0011 
0012 
0013 
0014 #include "kbbgraphicsitem.h"
0015 #include "kbbgraphicsitemborder.h"
0016 class KBBScalableGraphicWidget;
0017 class KBBThemeManager;
0018 
0019 
0020 
0021 /**
0022  * @brief Marker used by the tutorial
0023  */
0024 class KBBGraphicsItemTutorialMarker : public KBBGraphicsItemBorder, public KBBGraphicsItem
0025 {
0026     public:
0027         static const int NO_POSITION = -1;
0028 
0029 
0030         KBBGraphicsItemTutorialMarker(KBBScalableGraphicWidget* parent, KBBThemeManager* themeManager, const int columns, const int rows);
0031 
0032         void setBorderPosition(const int borderPosition);
0033 };
0034 
0035 #endif // KBBGRAPHICSITEMTUTORIALMARKER_H