mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Improved creation of source: selection of file generates a new source,
displayed in preview, and inserted when validated.
This commit is contained in:
@@ -792,6 +792,11 @@ ImVec4 ImGuiToolkit::GetHighlightColor()
|
||||
|
||||
void ImGuiToolkit::SetAccentColor(accent_color color)
|
||||
{
|
||||
// hack : preload texture icon to prevent slow-down of rendering when creating a new icon for the first time
|
||||
if (textureicons == 0)
|
||||
textureicons = Resource::getTextureDDS("images/icons.dds");
|
||||
|
||||
|
||||
ImVec4* colors = ImGui::GetStyle().Colors;
|
||||
|
||||
if (color == ImGuiToolkit::ACCENT_ORANGE) {
|
||||
|
||||
Reference in New Issue
Block a user