~ubuntu-branches/ubuntu/hoary/kvirc/hoary

« back to all changes in this revision

Viewing changes to src/kvilib/kvi_xutils.h

  • Committer: Bazaar Package Importer
  • Author(s): Robin Verduijn
  • Date: 2004-12-14 15:32:19 UTC
  • mfrom: (0.2.1 upstream) (1.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041214153219-fdink3gyp2s20b6g
Tags: 2:2.1.3.1-2
* Change Recommends on xmms to a Suggests.
* Rebuild against KDE 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _KVI_XUTLIS_H_INCLUDED_
 
1
#ifndef _KVI_XUTILS_H_INCLUDED_
2
2
#define _KVI_XUTILS_H_INCLUDED_
3
3
 
4
 
//
5
 
//   File : kvi_xutils.h (/usr/build/NEW_kvirc/kvirc/kvilib/kvi_xutils.h)
6
 
//   Last major modification : Wed Jan 6 1999 14:50:40 by Szymon Stefanek
7
 
//
8
 
//   This file is part of the KVirc irc client distribution
 
4
// =============================================================================
 
5
//
 
6
//      --- kvi_xutils.h ---
 
7
//
 
8
//   This file is part of the KVIrc IRC client distribution
9
9
//   Copyright (C) 1999-2000 Szymon Stefanek (stefanek@tin.it)
10
10
//
11
11
//   This program is FREE software. You can redistribute it and/or
20
20
//
21
21
//   You should have received a copy of the GNU General Public License
22
22
//   along with this program. If not, write to the Free Software Foundation,
23
 
//   Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
23
//   Inc, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
24
//
 
25
// =============================================================================
25
26
 
26
27
#undef __kvi_extern
27
 
 
28
28
#ifdef _KVI_XUTILS_CPP_
29
29
        #define __kvi_extern
30
30
#else
31
31
        #define __kvi_extern extern
32
32
#endif
33
33
 
34
 
#include <X11/Xlib.h>
35
 
#ifdef COMPILE_USE_AA_FONTS
36
 
        #include <X11/Xft/Xft.h>
37
 
#endif
38
 
#include <qpalette.h>
39
 
#include <qwindowdefs.h>
40
 
#include <qrect.h>
41
 
 
42
 
#ifdef TrueColor
43
 
#undef TrueColor
44
 
#endif
45
 
 
46
 
 
47
 
__kvi_extern void kvi_xDraw3dRect(Display *dpy,GC gc,Drawable d,const QColorGroup &cg,int x1,int y1,int x2,int y2,bool bSunken);
48
 
__kvi_extern void kvi_drawDragRectangle(QRect &rectToDraw,Drawable drw = 0,int style = 1);
49
 
 
50
 
#endif //_KVI_XUTILS_H_INCLUDED_
 
34
class QPainter;
 
35
class QRect;
 
36
 
 
37
__kvi_extern void kvi_drawDragRectangle(QPainter *pa, QRect &rectToDraw, int style = 0);
 
38
 
 
39
#endif // _KVI_XUTILS_H_INCLUDED_