fixed instance and classname
This commit is contained in:
parent
18174570f3
commit
9f3f5720ff
1 changed files with 12 additions and 6 deletions
|
@ -22,11 +22,15 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Window.hh,v 1.25 2002/08/04 15:55:13 fluxgen Exp $
|
// $Id: Window.hh,v 1.26 2002/08/11 22:33:41 fluxgen Exp $
|
||||||
|
|
||||||
#ifndef WINDOW_HH
|
#ifndef WINDOW_HH
|
||||||
#define WINDOW_HH
|
#define WINDOW_HH
|
||||||
|
|
||||||
|
#include "BaseDisplay.hh"
|
||||||
|
#include "Timer.hh"
|
||||||
|
#include "Windowmenu.hh"
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
|
|
||||||
|
@ -34,10 +38,6 @@
|
||||||
#include <X11/extensions/shape.h>
|
#include <X11/extensions/shape.h>
|
||||||
#endif // SHAPE
|
#endif // SHAPE
|
||||||
|
|
||||||
#include "BaseDisplay.hh"
|
|
||||||
#include "Timer.hh"
|
|
||||||
#include "Windowmenu.hh"
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -173,6 +173,8 @@ public:
|
||||||
inline unsigned int getClientHeight() const { return client.height; }
|
inline unsigned int getClientHeight() const { return client.height; }
|
||||||
inline unsigned int getClientWidth() const { return client.width; }
|
inline unsigned int getClientWidth() const { return client.width; }
|
||||||
inline unsigned int getTitleHeight() const { return frame.title_h; }
|
inline unsigned int getTitleHeight() const { return frame.title_h; }
|
||||||
|
const std::string className() const { return m_class_name; }
|
||||||
|
const std::string instanceName() const { return m_instance_name; }
|
||||||
bool isLowerTab() const;
|
bool isLowerTab() const;
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
|
@ -183,7 +185,7 @@ public:
|
||||||
bool validateClient();
|
bool validateClient();
|
||||||
bool setInputFocus();
|
bool setInputFocus();
|
||||||
void setTab(bool flag);
|
void setTab(bool flag);
|
||||||
void setFocusFlag(bool);
|
void setFocusFlag(bool flag);
|
||||||
void iconify();
|
void iconify();
|
||||||
void deiconify(bool = true, bool = true);
|
void deiconify(bool = true, bool = true);
|
||||||
void close();
|
void close();
|
||||||
|
@ -240,6 +242,10 @@ private:
|
||||||
|
|
||||||
BImageControl *image_ctrl; //image control for rendering
|
BImageControl *image_ctrl; //image control for rendering
|
||||||
|
|
||||||
|
// got from WM_CLASS
|
||||||
|
std::string m_instance_name;
|
||||||
|
std::string m_class_name;
|
||||||
|
|
||||||
//Window state
|
//Window state
|
||||||
bool moving, resizing, shaded, maximized, visible, iconic, transient,
|
bool moving, resizing, shaded, maximized, visible, iconic, transient,
|
||||||
focused, stuck, modal, send_focus_message, managed;
|
focused, stuck, modal, send_focus_message, managed;
|
||||||
|
|
Loading…
Reference in a new issue