Q3270
A Qt-based 3270 Terminal Emulator
Loading...
Searching...
No Matches
Colours.h
1
/*
2
* Q3270 Terminal Emulator
3
*
4
* Copyright (c) 2020–2025 Andy Styles
5
* SPDX-License-Identifier: BSD-3-Clause
6
*
7
* This file is part of Q3270.
8
* See the LICENSE file in the project root for full license information.
9
*/
10
11
#ifndef COLOURS_H
12
#define COLOURS_H
13
14
#include <QMap>
15
#include <QColor>
16
#include "Q3270.h"
17
18
struct
Colours
19
{
20
21
QString name;
// theme name
22
QMap<Q3270::Colour, QColor> map;
23
24
QColor colour(Q3270::Colour role)
const
;
25
26
void
setColour(Q3270::Colour role,
const
QColor &c);
27
28
static
Colours
getFactoryTheme();
29
};
30
31
#endif
// COLOURS_H
Colours
Definition
Colours.h:19
src
Models
Colours.h
Generated by
1.9.8