Revision: 2987
http://sourceforge.net/p/swingme/code/2987
Author: yuranet
Date: 2025-12-24 23:54:21 +0000 (Wed, 24 Dec 2025)
Log Message:
-----------
more fixes for theme example
Modified Paths:
--------------
SwingMETest/resources/lg/synthLG.xml
SwingMETest/resources/visto/ScrollbarPole.png
SwingMETest/resources/visto/ScrollbarThumb.png
SwingMETest/resources/visto/synthVisto.xml
Modified: SwingMETest/resources/lg/synthLG.xml
===================================================================
--- SwingMETest/resources/lg/synthLG.xml 2025-12-24 22:09:53 UTC (rev 2986)
+++ SwingMETest/resources/lg/synthLG.xml 2025-12-24 23:54:21 UTC (rev 2987)
@@ -92,7 +92,6 @@
<imagePainter path="/lg/mainWindow.png" sourceInsets="24 119 24 119" paintCenter="false"/>
<color type="BORDERFILL" value="#070707"/>
<color type="FOREGROUND" value="#FFFFFF"/>
- <color type="BACKGROUND" value="#000000"/>
</state>
</style>
<bind style="window" key="Frame"/>
Modified: SwingMETest/resources/visto/ScrollbarPole.png
===================================================================
(Binary files differ)
Modified: SwingMETest/resources/visto/ScrollbarThumb.png
===================================================================
(Binary files differ)
Modified: SwingMETest/resources/visto/synthVisto.xml
===================================================================
--- SwingMETest/resources/visto/synthVisto.xml 2025-12-24 22:09:53 UTC (rev 2986)
+++ SwingMETest/resources/visto/synthVisto.xml 2025-12-24 23:54:21 UTC (rev 2987)
@@ -39,11 +39,21 @@
</style>
<bind style="button" key="Button"/>
<bind style="button" key="MenuRenderer"/>
+ <bind style="button" key="PopupListRenderer"/>
<bind style="button" key="CheckBox"/>
<bind style="button" key="RadioButton"/>
<bind style="button" key="TextField"/>
<bind style="button" key="TextArea"/>
+
+ <style id="menuItem">
+ <imageIcon id="right_arrow" path="/visto/scrollArrows.png" x="0" y="30" width="15" height="30"/>
+ <state>
+ <property key="arrow" value="right_arrow"/>
+ </state>
+ </style>
+ <bind style="menuItem" key="MenuItem"/>
+
<style id="tabtop">
<state>
<imagePainter path="/visto/tab_top.png" sourceInsets="0 20 4 20" paintCenter="false"/>
@@ -105,6 +115,7 @@
</style>
<bind style="menu" key="Menu"/>
<bind style="menu" key="Dialog"/>
+ <bind style="menu" key="Popup"/>
<style id="softkeys">
@@ -163,22 +174,27 @@
+ <style id="spinner">
+ <insets top="3" left="20" bottom="3" right="20"/>
+ <imageIcon id="left_arrow" path="/visto/scrollArrows.png" x="0" y="0" width="15" height="30"/>
+ <imageIcon id="right_arrow" path="/visto/scrollArrows.png" x="0" y="30" width="15" height="30"/>
+ <state>
+ <property key="iconLeft" value="left_arrow"/>
+ <property key="iconRight" value="right_arrow"/>
+ </state>
+ <state value="FOCUSED">
+ <imagePainter path="/visto/highlight.png" sourceInsets="8 8 8 8" paintCenter="false"/>
+ <color type="BORDERFILL" value="#FFFFFF"/>
+ <color type="FOREGROUND" value="#0000FF"/>
+ </state>
+ </style>
+ <bind style="spinner" key="Spinner"/>
+
+
<style id="scrollpane">
- <imageIcon id="thumb_top" path="/visto/ScrollbarThumb.png" x="0" y="0" width="8" height="8"/>
- <imageIcon id="thumb_fill" path="/visto/ScrollbarThumb.png" x="0" y="8" width="8" height="10"/>
- <imageIcon id="thumb_bottom" path="/visto/ScrollbarThumb.png" x="0" y="18" width="8" height="8"/>
- <imageIcon id="track_top" path="/visto/ScrollbarPole.png" x="0" y="0" width="12" height="7"/>
- <imageIcon id="track_fill" path="/visto/ScrollbarPole.png" x="0" y="7" width="12" height="20"/>
- <imageIcon id="track_bottom" path="/visto/ScrollbarPole.png" x="0" y="27" width="12" height="7"/>
<imageIcon id="left_arrow" path="/visto/scrollArrows.png" x="0" y="0" width="15" height="30"/>
<imageIcon id="right_arrow" path="/visto/scrollArrows.png" x="0" y="30" width="15" height="30"/>
<state>
- <property key="thumbTop" value="thumb_top"/>
- <property key="thumbBottom" value="thumb_bottom"/>
- <property key="thumbFill" value="thumb_fill"/>
- <property key="trackTop" value="track_top"/>
- <property key="trackBottom" value="track_bottom"/>
- <property key="trackFill" value="track_fill"/>
<property key="rightArrow" value="right_arrow"/>
<property key="leftArrow" value="left_arrow"/>
</state>
@@ -187,8 +203,26 @@
+ <style id="scrollBarThumbStyle">
+ <insets top="4" left="6" bottom="4" right="6"/>
+ <state>
+ <imagePainter method="scrollBarThumbBackground" path="/visto/ScrollbarThumb.png" sourceInsets="4 8 4 8" />
+ </state>
+ </style>
+ <bind style="scrollBarThumbStyle" key="ScrollBarThumb" />
+ <bind style="scrollBarThumbStyle" key="SliderThumb" />
+ <style id="scrollbarTrackStyle">
+ <insets top="6" left="7" bottom="6" right="7"/>
+ <state>
+ <imagePainter method="scrollBarTrackBackground" path="/visto/ScrollbarPole.png" sourceInsets="6 9 6 9" />
+ </state>
+ </style>
+ <bind style="scrollbarTrackStyle" key="ScrollBarTrack" />
+ <bind style="scrollbarTrackStyle" key="SliderTrack" />
+
+
<style id="listRenderer">
<insets top="3" left="3" bottom="3" right="3"/>
<font id="font2" name="PROPORTIONAL" size="LARGE"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|