/*** Olive - Non-Linear Video Editor Copyright (C) 2019 Olive Team This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . ***/ #ifndef STYLEMANAGER_H #define STYLEMANAGER_H #include namespace olive { namespace style { /** * @brief Sets the application style to "Olive Default" * * This function should probably be replaced (or at least renamed) later as alternative styles are reimplemented. * At the moment, this is a convenience function for setting to "Olive Default" which is a cross-platform default * style used in Olive. */ void AppSetDefault(); /** * @brief (Windows only) Sets a widget to use the OS' native styling (windowsvista) * * Used primarily to set menus to the default Windows style. It was thought this would look better on Windows than the * cross-platform styled menus and provide a more "native" experience. Unfortunately the only way to do this (when the * application style is set) is to manually set the menus to not use the application style, thus this function. * * @param w * * Widget to set to native styling */ void WidgetSetNative(QWidget *w); } } #endif // STYLEMANAGER_H