• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdefx
 

tdefx

  • tdefx
kdrawutil.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 1999 Daniel M. Duley <mosfet@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 #ifndef __KDRAWUTIL_H
19 #define __KDRAWUTIL_H
20 
21 #include <tqnamespace.h>
22 #include <tqpainter.h>
23 #include <tqbitmap.h>
24 #include <tqpalette.h>
25 
26 #include <tdelibs_export.h>
27 
28 /*
29  * Various drawing routines. Also see Qt's tqdrawutil.h for some more routines
30  * contained in Qt.
31  *
32  * (C) Daniel M. Duley <mosfet@kde.org>
33  */
34 
48 TDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g,
49  bool sunken=false, const TQBrush *fill=0);
50 
55 TDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h,
56  const TQColorGroup &g, bool sunken=false,
57  const TQBrush *fill=0);
58 
72 TDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g,
73  bool sunken=false, const TQBrush *fill=0);
74 
80 TDEFX_EXPORT void kDrawBeButton(TQPainter *p, int x, int y, int w, int h,
81  const TQColorGroup &g, bool sunken=false,
82  const TQBrush *fill=0);
83 
96 TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g,
97  bool sunken=false);
98 
103 TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h,
104  const TQColorGroup &g, bool sunken=false);
105 
121 TDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h);
122 
138 TDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear=false);
139 
164 TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y,
165  TQBitmap *lightColor=0, TQBitmap *midColor=0,
166  TQBitmap *midlightColor=0, TQBitmap *darkColor=0,
167  TQBitmap *blackColor=0, TQBitmap *whiteColor=0);
168 
174  TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, int w,
175  int h, bool isXBitmaps=true, const uchar *lightColor = 0,
176  const uchar *midColor=0, const uchar *midlightColor=0,
177  const uchar *darkColor=0, const uchar *blackColor=0,
178  const uchar *whiteColor=0);
179 
180 #endif
TDEStyle::kRoundMaskRegion
TDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:197
TDEStyle::kDrawRoundButton
TDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken=false)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:99
TDEStyle::kDrawRoundMask
TDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear=false)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:148
TDEStyle::kDrawNextButton
TDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:43
TDEStyle::kColorBitmaps
TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int y, TQBitmap *lightColor=0, TQBitmap *midColor=0, TQBitmap *midlightColor=0, TQBitmap *darkColor=0, TQBitmap *blackColor=0, TQBitmap *whiteColor=0)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:217
TDEStyle::kDrawBeButton
TDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:93

tdefx

Skip menu "tdefx"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdefx

Skip menu "tdefx"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdefx by doxygen 1.9.1
This website is maintained by Timothy Pearson.