fix(test): match KiCad 10 FONT::Draw signature in gal-webgl stub
KiCad 10.0.4 added two trailing optional params (std::optional<VECTOR2I> aMousePos, wxString* aActiveUrl) to the out-of-line FONT::Draw declaration in font/font.h. The hand-written stub in the GAL WebGL test app still declared the old 6-arg form, so it matched no declaration and failed the CI "Build GAL WebGL test app" step. Update the stub signature to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cdaa96250d
commit
ddd2c4f5cc
1 changed files with 2 additions and 1 deletions
|
|
@ -202,7 +202,8 @@ const METRICS& METRICS::Default() {
|
|||
void OUTLINE_GLYPH::Triangulate(std::function<void(const VECTOR2I&, const VECTOR2I&, const VECTOR2I&)>) const {}
|
||||
|
||||
void FONT::Draw(KIGFX::GAL*, const wxString&, const VECTOR2I&, const VECTOR2I&,
|
||||
const TEXT_ATTRIBUTES&, const METRICS&) const {}
|
||||
const TEXT_ATTRIBUTES&, const METRICS&, std::optional<VECTOR2I>,
|
||||
wxString*) const {}
|
||||
|
||||
// STROKE_GLYPH stubs
|
||||
STROKE_GLYPH::STROKE_GLYPH( const STROKE_GLYPH& aGlyph )
|
||||
|
|
|
|||
Loading…
Reference in a new issue