Partially done.

This commit is contained in:
2025-08-21 19:19:28 -04:00
parent 92d679e098
commit a41d0b067d
5 changed files with 23 additions and 30 deletions

View File

@ -394,16 +394,16 @@ protected:
virtual void enterNotifyImpl (EventCrossing *event);
virtual void leaveNotifyImpl (EventCrossing *event);
inline char *addAnchor (const char* name)
inline std::optional< std::string > addAnchor (const std::string &name)
{ return layout->addAnchor (this, name); }
inline char *addAnchor (const char* name, int y)
inline std::optional< std::string > addAnchor (const std::string &name, int y)
{ return layout->addAnchor (this, name, y); }
inline void changeAnchor (char* name, int y)
inline void changeAnchor (const std::string &name, int y)
{ layout->changeAnchor (this, name, y); }
inline void removeAnchor (char* name)
inline void removeAnchor (const std::string &name)
{ if (layout) layout->removeAnchor (this, name); }
//inline void updateBgColor () { layout->updateBgColor (); }