X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpart.h;h=edc524c0b67b62d1807b46eb6f271983d92de090;hb=c435423919a20a87d100e1ee4cd1fc6ce223040c;hp=a94f29db87421d5fdff157cbae4462f89884f1d6;hpb=ed9873ba7ee862ad76937f579fe371c1a27d5715;p=libs%2Fgltk.git diff --git a/source/part.h b/source/part.h index a94f29d..edc524c 100644 --- a/source/part.h +++ b/source/part.h @@ -39,8 +39,9 @@ public: private: void graphic(State, const std::string &); void align(float, float); - void fill(bool, bool); + void fill(float, float); void margin(); + void size(unsigned, unsigned); }; private: @@ -49,8 +50,6 @@ private: Geometry geom; Sides margin; Alignment align; - bool fill_x; - bool fill_y; public: Part(const std::string &); @@ -59,8 +58,6 @@ public: const Geometry &get_geometry() const { return geom; } const Sides &get_margin() const { return margin; } const Alignment &get_alignment() const { return align; } - bool get_fill_x() const { return fill_x; } - bool get_fill_y() const { return fill_y; } void render(const Geometry &, State) const; }; typedef std::list PartSeq;