aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-09-11 20:30:28 (GMT)
committerfluxgen <fluxgen>2004-09-11 20:30:28 (GMT)
commit82c2f3521eb10730b2a4b9d61a7be92dbd685840 (patch)
tree29302441cd376716e9ff225d7d874137b80f4549 /src/FbTk
parentb4daf0f80848bf6c0a2a77f646fa5f474710b9d7 (diff)
downloadfluxbox_paul-82c2f3521eb10730b2a4b9d61a7be92dbd685840.zip
fluxbox_paul-82c2f3521eb10730b2a4b9d61a7be92dbd685840.tar.bz2
access function for display
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/FbDrawable.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/FbDrawable.hh b/src/FbTk/FbDrawable.hh
index 4469f84..1a9dbb7 100644
--- a/src/FbTk/FbDrawable.hh
+++ b/src/FbTk/FbDrawable.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbDrawable.hh,v 1.5 2004/09/10 15:46:08 akir Exp $ 22// $Id: FbDrawable.hh,v 1.6 2004/09/11 20:30:28 fluxgen Exp $
23#ifndef FBTK_FBDRAWABLE_HH 23#ifndef FBTK_FBDRAWABLE_HH
24#define FBTK_FBDRAWABLE_HH 24#define FBTK_FBDRAWABLE_HH
25 25
@@ -56,6 +56,7 @@ public:
56 virtual Drawable drawable() const = 0; 56 virtual Drawable drawable() const = 0;
57 virtual unsigned int width() const = 0; 57 virtual unsigned int width() const = 0;
58 virtual unsigned int height() const = 0; 58 virtual unsigned int height() const = 0;
59 inline Display *display() const { return s_display; }
59protected: 60protected:
60 static Display *s_display; // display connection // display connection 61 static Display *s_display; // display connection // display connection
61}; 62};