move the Strut struct from Screen.hh to Util.hh

This commit is contained in:
Dana Jansens 2002-07-20 19:13:29 +00:00
parent 32ac5d9b88
commit 54dfa44cbe
3 changed files with 8 additions and 6 deletions

View file

@ -85,6 +85,7 @@ using std::string;
#include "Window.hh"
#include "Workspace.hh"
#include "Workspacemenu.hh"
#include "Util.hh"
#include "XAtom.hh"
#ifndef FONT_ELEMENT_SIZE

View file

@ -57,6 +57,7 @@ extern "C" {
class Slit; // forward reference
class BFont;
class XAtom;
struct Strut;
enum TextJustify { LeftJustify = 1, RightJustify, CenterJustify };
@ -96,12 +97,6 @@ struct MenuStyle {
int bullet, bullet_pos;
};
struct Strut {
unsigned int top, bottom, left, right;
Strut(void): top(0), bottom(0), left(0), right(0) {}
};
class BScreen : public ScreenInfo {
private:
bool root_colormap_installed, managed, geom_visible;

View file

@ -76,6 +76,12 @@ private:
int _x1, _y1, _x2, _y2;
};
struct Strut {
unsigned int top, bottom, left, right;
Strut(void): top(0), bottom(0), left(0), right(0) {}
};
/* XXX: this needs autoconf help */
const unsigned int BSENTINEL = 65535;