mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-11 21:03:45 +08:00
56bba8cf57
2003-02-18 Hans Boehm <Hans.Boehm@hp.com> * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize if necessary. * gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c (setFont, gtkSetFont): add. gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): Propagate font to peer. (setFont): add FIXME comment. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (gtkTextGetSize): fix height, width computation. * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer): Make X font name a bit less bogus. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c (post_adjustment_event): Pass on GTK_SCROLL_NONE. * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check. (processAdjustmentEvent): Adjust value. * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one logic errors. * java/awt/Component.java (setVisible, show, hide): Call show and hide methods in subclasses. (getPreferredSize): don't set prefSize before we have peer. * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize): Guess (0,0) if we don't have peer. From-SVN: r63077 |
||
---|---|---|
.. | ||
gnu_java_awt_peer_gtk_GdkFontMetrics.c | ||
gnu_java_awt_peer_gtk_GdkGraphics.c | ||
gnu_java_awt_peer_gtk_GtkButtonPeer.c | ||
gnu_java_awt_peer_gtk_GtkCanvasPeer.c | ||
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c | ||
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | ||
gnu_java_awt_peer_gtk_GtkChoicePeer.c | ||
gnu_java_awt_peer_gtk_GtkClipboard.c | ||
gnu_java_awt_peer_gtk_GtkComponentPeer.c | ||
gnu_java_awt_peer_gtk_GtkEvents.c | ||
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | ||
gnu_java_awt_peer_gtk_GtkImagePainter.c | ||
gnu_java_awt_peer_gtk_GtkLabelPeer.c | ||
gnu_java_awt_peer_gtk_GtkListPeer.c | ||
gnu_java_awt_peer_gtk_GtkMainThread.c | ||
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | ||
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | ||
gnu_java_awt_peer_gtk_GtkMenuPeer.c | ||
gnu_java_awt_peer_gtk_GtkPanelPeer.c | ||
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | ||
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c | ||
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | ||
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | ||
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | ||
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | ||
gnu_java_awt_peer_gtk_GtkToolkit.c | ||
gnu_java_awt_peer_gtk_GtkWindowPeer.c | ||
gthread-jni.c | ||
gthread-jni.h | ||
gtkpeer.h |