You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
842 B
40 lines
842 B
/* |
|
SPDX-FileCopyrightText: 2021 Benjamin Port <benjamin.port@enioka.com> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <qobjectdefs.h> |
|
|
|
namespace ColorCorrect |
|
{ |
|
Q_NAMESPACE |
|
enum NightColorMode { |
|
/** |
|
* Color temperature is computed based on the current position of the Sun. |
|
* |
|
* Location of the user is provided by Plasma. |
|
*/ |
|
Automatic, |
|
/** |
|
* Color temperature is computed based on the current position of the Sun. |
|
* |
|
* Location of the user is provided by themselves. |
|
*/ |
|
Location, |
|
/** |
|
* Color temperature is computed based on the current time. |
|
* |
|
* Sunrise and sunset times have to be specified by the user. |
|
*/ |
|
Timings, |
|
/** |
|
* Color temperature is constant thoughout the day. |
|
*/ |
|
Constant, |
|
}; |
|
|
|
Q_ENUM_NS(NightColorMode) |
|
}
|
|
|