File indexing completed on 2024-05-19 07:51:58

0001 /*
0002     This file is part of Killbots.
0003 
0004     SPDX-FileCopyrightText: 2007-2010 Parker Coates <coates@kde.org>
0005 
0006     SPDX-License-Identifier: GPL-2.0-or-later
0007 */
0008 
0009 #ifndef KILLBOTS_RENDERER_H
0010 #define KILLBOTS_RENDERER_H
0011 
0012 #include <KGameRenderer>
0013 
0014 
0015 namespace Killbots
0016 {
0017 class Renderer : public KGameRenderer
0018 {
0019 public:
0020     static Renderer *self();
0021     static void cleanup();
0022 
0023     Renderer();
0024 
0025     QCursor cursorFromAction(int direction);
0026     QColor textColor();
0027     qreal aspectRatio();
0028 
0029 private:
0030     QColor m_textColor;
0031     QByteArray m_cachedTheme;
0032 };
0033 }
0034 
0035 #endif