summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-31 23:14:10 +0200
committerCarl Hetherington <cth@carlh.net>2025-06-17 00:04:03 +0200
commit4e60d6a68356aaf12c4ee1aef4d1bf1d15f5384b (patch)
treeead3b30b43b021d18c2c41038efa04fd343ad593 /src/lib/config.h
parent1bea93d20146af11330610ee159ec38c95347b3f (diff)
Cleanup: use an enum class.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index c90790ebc..9f6d1c743 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -536,10 +536,10 @@ public:
return _gdc_password;
}
- enum PlayerMode {
- PLAYER_MODE_WINDOW, ///< one window containing image and controls
- PLAYER_MODE_FULL, ///< just the image filling the screen
- PLAYER_MODE_DUAL ///< image on one monitor and extended controls on the other
+ enum class PlayerMode {
+ WINDOW, ///< one window containing image and controls
+ FULL, ///< just the image filling the screen
+ DUAL ///< image on one monitor and extended controls on the other
};
PlayerMode player_mode() const {