all repos — fluxbox @ 3b66daeaa2ba9c74bbaaced341e5523e6f320c31

custom fork of the fluxbox windowmanager

clearArea
fluxgen fluxgen
commit

3b66daeaa2ba9c74bbaaced341e5523e6f320c31

parent

d9f17a17c3aed77392cbe0a07ff1e16d8e0ed561

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M src/IconButton.hhsrc/IconButton.hh

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: IconButton.hh,v 1.2 2003/08/19 16:13:25 fluxgen Exp $ +// $Id: IconButton.hh,v 1.3 2003/09/10 21:40:01 fluxgen Exp $ #ifndef ICONBUTTON_HH #define ICONBUTTON_HH

@@ -38,6 +38,9 @@ virtual ~IconButton();

void exposeEvent(XExposeEvent &event); void clear(); + void clearArea(int x, int y, + unsigned int width, unsigned int height, + bool exposure = false); void moveResize(int x, int y, unsigned int width, unsigned int height); void resize(unsigned int width, unsigned int height);

@@ -45,7 +48,8 @@

void update(FbTk::Subject *subj); FluxboxWindow &win() { return m_win; } const FluxboxWindow &win() const { return m_win; } - +protected: + void drawText(int x = 0, int y = 0); private: void setupWindow();