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

kdefx

  • kdefx
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 <kdelibs_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 KDEFX_EXPORT void kDrawNextButton(TQPainter *p, const TQRect &r, const TQColorGroup &g,
49  bool sunken=false, const TQBrush *fill=0);
50 
55 KDEFX_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 KDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g,
73  bool sunken=false, const TQBrush *fill=0);
74 
80 KDEFX_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 KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g,
97  bool sunken=false);
98 
103 KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, int x, int y, int w, int h,
104  const TQColorGroup &g, bool sunken=false);
105 
121 KDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h);
122 
138 KDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear=false);
139 
164 KDEFX_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  KDEFX_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
KStyle::kDrawBeButton
KDEFX_EXPORT void kDrawBeButton(TQPainter *p, TQRect &r, const TQColorGroup &g, bool sunken=false, const TQBrush *fill=0)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:93
KStyle::kDrawNextButton
KDEFX_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
KStyle::kRoundMaskRegion
KDEFX_EXPORT void kRoundMaskRegion(TQRegion &r, int x, int y, int w, int h)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:197
KStyle::kColorBitmaps
KDEFX_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
KStyle::kDrawRoundButton
KDEFX_EXPORT void kDrawRoundButton(TQPainter *p, const TQRect &r, const TQColorGroup &g, bool sunken=false)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:99
KStyle::kDrawRoundMask
KDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool clear=false)
#include <kdrawutil.h>
Definition: kdrawutil.cpp:148

kdefx

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

kdefx

Skip menu "kdefx"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdefx by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |