porymap/include/settings.h

28 lines
458 B
C
Raw Normal View History

2020-09-13 23:37:55 +01:00
#pragma once
2018-09-27 00:30:05 +01:00
#ifndef SETTINGS_H
#define SETTINGS_H
#include <QCursor>
2024-09-28 03:19:52 +01:00
struct GridSettings {
uint width = 16;
uint height = 16;
int offsetX = 0;
int offsetY = 0;
Qt::PenStyle style = Qt::SolidLine;
QColor color = Qt::black;
};
2018-09-27 00:30:05 +01:00
class Settings
{
public:
Settings();
bool smartPathsEnabled;
bool betterCursors;
QCursor mapCursor;
2019-01-09 00:04:48 +00:00
bool playerViewRectEnabled;
bool cursorTileRectEnabled;
2018-09-27 00:30:05 +01:00
};
#endif // SETTINGS_H