mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-29 12:11:06 +01:00 
			
		
		
		
	Examples: Using Dark theme by default. (#707). Tweaked demo code.
This commit is contained in:
		| @@ -1979,7 +1979,7 @@ void ImGui::ShowDemoWindow(bool* p_open) | ||||
| // Here we use the simplified Combo() api that packs items into a single literal string. Useful for quick combo boxes where the choices are known locally. | ||||
| bool ImGui::ShowStyleSelector(const char* label) | ||||
| { | ||||
|     static int style_idx = 0; | ||||
|     static int style_idx = -1; | ||||
|     if (ImGui::Combo(label, &style_idx, "Classic\0Dark\0Light\0")) | ||||
|     { | ||||
|         switch (style_idx) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user