Requested anchor RAIIed.
This commit is contained in:
+2
-2
@@ -182,7 +182,7 @@ private:
|
||||
VPosition scrollTargetVpos;
|
||||
int scrollTargetX, scrollTargetY, scrollTargetWidth, scrollTargetHeight;
|
||||
|
||||
char *requestedAnchor;
|
||||
std::optional< std::string > requestedAnchor;
|
||||
int scrollIdleId, resizeIdleId;
|
||||
bool scrollIdleNotInterrupted;
|
||||
|
||||
@@ -300,7 +300,7 @@ public:
|
||||
void scrollTo (HPosition hpos, VPosition vpos,
|
||||
int x, int y, int width, int height);
|
||||
void scroll (ScrollCommand);
|
||||
void setAnchor (const char *anchor);
|
||||
void setAnchor (std::optional< std::string_view > anchor);
|
||||
|
||||
/* View */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user