1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_metal_MetalUtils__
|
5 |
|
|
#define __javax_swing_plaf_metal_MetalUtils__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Color;
|
19 |
|
|
class Component;
|
20 |
|
|
class Graphics;
|
21 |
|
|
class Graphics2D;
|
22 |
|
|
namespace image
|
23 |
|
|
{
|
24 |
|
|
class BufferedImage;
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
namespace javax
|
29 |
|
|
{
|
30 |
|
|
namespace swing
|
31 |
|
|
{
|
32 |
|
|
namespace plaf
|
33 |
|
|
{
|
34 |
|
|
namespace metal
|
35 |
|
|
{
|
36 |
|
|
class MetalUtils;
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
class javax::swing::plaf::metal::MetalUtils : public ::java::lang::Object
|
44 |
|
|
{
|
45 |
|
|
|
46 |
|
|
public: // actually package-private
|
47 |
|
|
MetalUtils();
|
48 |
|
|
static void fillMetalPattern(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::Color *);
|
49 |
|
|
static void fillMetalPattern2D(::java::awt::Graphics2D *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::Color *);
|
50 |
|
|
static void initializePattern(::java::awt::Color *, ::java::awt::Color *);
|
51 |
|
|
static void paintGradient(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::lang::String *);
|
52 |
|
|
static void paintGradient(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::lang::String *, JArray< JArray< jint > * > *);
|
53 |
|
|
static void paintGradient(::java::awt::Graphics *, jint, jint, jint, jint, jfloat, jfloat, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, jint, JArray< JArray< jint > * > *);
|
54 |
|
|
static void paintHorizontalGradient(::java::awt::Graphics *, jint, jint, jint, jint, jfloat, jfloat, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, JArray< JArray< jint > * > *);
|
55 |
|
|
static void paintVerticalGradient(::java::awt::Graphics *, jint, jint, jint, jint, jfloat, jfloat, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, JArray< JArray< jint > * > *);
|
56 |
|
|
private:
|
57 |
|
|
static void paintHorizontalGradient2D(::java::awt::Graphics2D *, jint, jint, jint, jint, jfloat, jfloat, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, JArray< JArray< jint > * > *);
|
58 |
|
|
static void paintVerticalGradient2D(::java::awt::Graphics2D *, jint, jint, jint, jint, jfloat, jfloat, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, JArray< JArray< jint > * > *);
|
59 |
|
|
public: // actually package-private
|
60 |
|
|
static ::java::awt::image::BufferedImage * pattern2D;
|
61 |
|
|
static ::java::awt::Color * lightColor;
|
62 |
|
|
static ::java::awt::Color * darkColor;
|
63 |
|
|
public:
|
64 |
|
|
static ::java::lang::Class class$;
|
65 |
|
|
};
|
66 |
|
|
|
67 |
|
|
#endif // __javax_swing_plaf_metal_MetalUtils__
|