mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 04:29:04 +03:00
chore: refactor
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define CLRSYNC_GUI_WIDGETS_COLORS_HPP
|
||||
|
||||
#include "core/palette/palette.hpp"
|
||||
#include "gui/theme/app_theme.hpp"
|
||||
#include "imgui.h"
|
||||
#include <string>
|
||||
|
||||
@@ -14,6 +15,18 @@ ImVec4 palette_color(const core::palette &pal, const std::string &key,
|
||||
uint32_t palette_color_u32(const core::palette &pal, const std::string &key,
|
||||
const std::string &fallback = "");
|
||||
|
||||
inline const theme::app_theme &theme() { return theme::current_theme(); }
|
||||
|
||||
void push_success_button_style();
|
||||
|
||||
void push_error_button_style();
|
||||
|
||||
void push_warning_button_style();
|
||||
|
||||
void push_info_button_style();
|
||||
|
||||
void pop_button_style();
|
||||
|
||||
} // namespace clrsync::gui::widgets
|
||||
|
||||
#endif // CLRSYNC_GUI_WIDGETS_COLORS_HPP
|
||||
|
||||
Reference in New Issue
Block a user