mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
remake widgets's anchor layouts
This commit is contained in:
@@ -25,7 +25,7 @@ AlignmentFlag fw::translateAlignment(std::string aligment)
|
||||
return AlignCenter;
|
||||
}
|
||||
|
||||
AnchorPoint fw::translateAnchorPoint(const std::string& anchorPoint)
|
||||
AnchorEdge fw::translateAnchorEdge(const std::string& anchorPoint)
|
||||
{
|
||||
if(anchorPoint == "left")
|
||||
return AnchorLeft;
|
||||
|
@@ -7,7 +7,7 @@
|
||||
namespace fw {
|
||||
|
||||
AlignmentFlag translateAlignment(std::string aligment);
|
||||
AnchorPoint translateAnchorPoint(const std::string& anchorPoint);
|
||||
AnchorEdge translateAnchorEdge(const std::string& anchorPoint);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user