From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/javax/swing/plaf/metal/MetalButtonUI.h | 71 ++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 libjava/javax/swing/plaf/metal/MetalButtonUI.h (limited to 'libjava/javax/swing/plaf/metal/MetalButtonUI.h') diff --git a/libjava/javax/swing/plaf/metal/MetalButtonUI.h b/libjava/javax/swing/plaf/metal/MetalButtonUI.h new file mode 100644 index 000000000..d2e6ced26 --- /dev/null +++ b/libjava/javax/swing/plaf/metal/MetalButtonUI.h @@ -0,0 +1,71 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_metal_MetalButtonUI__ +#define __javax_swing_plaf_metal_MetalButtonUI__ + +#pragma interface + +#include +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + class AbstractButton; + class JComponent; + namespace plaf + { + class ComponentUI; + namespace metal + { + class MetalButtonUI; + } + } + } + } +} + +class javax::swing::plaf::metal::MetalButtonUI : public ::javax::swing::plaf::basic::BasicButtonUI +{ + +public: + static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *); + MetalButtonUI(); +public: // actually protected + virtual ::java::awt::Color * getFocusColor(); + virtual ::java::awt::Color * getSelectColor(); + virtual ::java::awt::Color * getDisabledTextColor(); +public: + virtual void installDefaults(::javax::swing::AbstractButton *); + virtual void uninstallDefaults(::javax::swing::AbstractButton *); +public: // actually protected + virtual void paintButtonPressed(::java::awt::Graphics *, ::javax::swing::AbstractButton *); + virtual void paintFocus(::java::awt::Graphics *, ::javax::swing::AbstractButton *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *); + virtual void paintText(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *, ::java::lang::String *); +public: + virtual void update(::java::awt::Graphics *, ::javax::swing::JComponent *); +private: + jboolean isToolbarButton(::java::awt::Component *); + jboolean isDrawingGradient(::java::lang::String *); + static ::javax::swing::plaf::metal::MetalButtonUI * sharedUI; +public: // actually protected + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicButtonUI)))) focusColor; + ::java::awt::Color * selectColor; + ::java::awt::Color * disabledTextColor; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_metal_MetalButtonUI__ -- cgit v1.2.3