godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.3k stars 21.24k forks source link

Untangle ColorPicker includes #99516

Open KoBeWi opened 13 hours ago

KoBeWi commented 13 hours ago

Forward-declares stuff from color_picker.h + some minor cleanup. The other file changes were indirect includes that had to be resolved.

Mickeon commented 13 hours ago

So we're starting to favour forward-declarations more now?

KoBeWi commented 13 hours ago

We started long ago, no? Not all old code was "fixed" though and I was just doing something with ColorPicker. All new files are expected to use forward-declarations though.