Partially done.
This commit is contained in:
12
dw/layout.hh
12
dw/layout.hh
@ -150,11 +150,9 @@ private:
|
||||
class Anchor: public lout::object::Object
|
||||
{
|
||||
public:
|
||||
char *name;
|
||||
std::string name;
|
||||
Widget *widget;
|
||||
int y;
|
||||
|
||||
~Anchor ();
|
||||
};
|
||||
|
||||
std::unique_ptr< Platform > platform;
|
||||
@ -236,10 +234,10 @@ private:
|
||||
|
||||
/* Widget */
|
||||
|
||||
char *addAnchor (Widget *widget, const char* name);
|
||||
char *addAnchor (Widget *widget, const char* name, int y);
|
||||
void changeAnchor (Widget *widget, char* name, int y);
|
||||
void removeAnchor (Widget *widget, char* name);
|
||||
std::optional< std::string > addAnchor (Widget *widget, const std::string &name);
|
||||
std::optional< std::string > addAnchor (Widget *widget, const std::string &name, int y);
|
||||
void changeAnchor (Widget *widget, const std::string &name, int y);
|
||||
void removeAnchor (Widget *widget, const std::string &name);
|
||||
void setCursor (style::Cursor cursor);
|
||||
void updateCursor ();
|
||||
void queueDraw (int x, int y, int width, int height);
|
||||
|
||||
Reference in New Issue
Block a user