#include "UiComponent.hpp" #include "UiDebugBounds.hpp" namespace jdi { // 默认实现放在 .cpp 而不是头文件内联:`UiComponent.hpp` 是四个大组件都要包含的 // 公共头,不应把 `UiDebugBounds.hpp`(GDI+ 绘制辅助)也拉进它们的编译单元。 void UiComponent::PaintDebugBounds(gd::Graphics& g, float scale) { UiDebugPaintBounds(g, Area(), 0, scale); } } // namespace jdi