[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [Patch][gui] MetalTheme and DefaultMetalTheme
From: |
Michael Koch |
Subject: |
[cp-patches] [Patch][gui] MetalTheme and DefaultMetalTheme |
Date: |
Thu, 30 Dec 2004 16:50:23 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi list,
I commited the attached patch to fully implement the two classes
MetalThem and DefaultMetalTheme.
Michael
2004-12-30 Michael Koch <address@hidden>
* javax/swing/plaf/metal/DefaultMetalTheme.java
(CONTROL_TEXT_FONT): New static field.
(MENU_TEXT_FONT): Likewise.
(SUB_TEXT_FONT): Likewise.
(SYSTEM_TEXT_FONT): Likewise.
(USER_TEXT_FONT): Likewise.
(WINDOW_TITLE_FONT): Likewise.
(getControlTextFont): New method.
(getMenuTextFont): Likewise.
(getSubTextFont): Likewise.
(getSystemTextFont): Likewise.
(getUserTextFont): Likewise.
(getWindowTitleFont): Likewise.
* javax/swing/plaf/metal/MetalTheme.java
(BLACK): Initialize with Color.BLACK.
(WHITE): Initialize with Color.WHITE.
(getInactiveControlTextColor): Return getControlDisabled().
(getMenuDisabledForeground): Return getSecondary3().
(getControlTextFont): New abstract method.
(getMenuTextFont): Likewise.
(getSubTextFont): Likewise.
(getSystemTextFont): Likewise.
(getUserTextFont): Likewise.
(getWindowTitleFont): Likewise.
swing.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [Patch][gui] MetalTheme and DefaultMetalTheme,
Michael Koch <=