aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbDrawable.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-09-06 15:39:06 (GMT)
committerfluxgen <fluxgen>2003-09-06 15:39:06 (GMT)
commitd75ac0afcc21375081000cbcb3bee763c90c8d08 (patch)
treea64ea2cdb43afb4932d0383a1c74ba10d912d8d5 /src/FbTk/FbDrawable.hh
parentaddb1ef43648c0b5ef348f959c83d6c94fbcc471 (diff)
downloadfluxbox-d75ac0afcc21375081000cbcb3bee763c90c8d08.zip
fluxbox-d75ac0afcc21375081000cbcb3bee763c90c8d08.tar.bz2
get image from drawable
Diffstat (limited to 'src/FbTk/FbDrawable.hh')
-rw-r--r--src/FbTk/FbDrawable.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/FbDrawable.hh b/src/FbTk/FbDrawable.hh
index 71a1ec3..30c7371 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.2 2003/05/10 13:28:11 fluxgen Exp $ 22// $Id: FbDrawable.hh,v 1.3 2003/09/06 15:39:06 fluxgen Exp $
23#ifndef FBTK_FBDRAWABLE_HH 23#ifndef FBTK_FBDRAWABLE_HH
24#define FBTK_FBDRAWABLE_HH 24#define FBTK_FBDRAWABLE_HH
25 25
@@ -49,6 +49,8 @@ public:
49 49
50 virtual void drawPoint(GC gc, int x, int y); 50 virtual void drawPoint(GC gc, int x, int y);
51 51
52 virtual XImage *image(int x, int y, unsigned int width, unsigned int height) const;
53
52 /// X drawable 54 /// X drawable
53 virtual Drawable drawable() const = 0; 55 virtual Drawable drawable() const = 0;
54 virtual unsigned int width() const = 0; 56 virtual unsigned int width() const = 0;