[Tynstep-svn] r170 - in trunk/step-web-app/src/main: java/com/tyndalehouse/step/web/client/bundles java/com/tyndalehouse/step/web/public/step/images resources/com/tyndalehouse/step/web/client resources/com/tyndalehouse/step/web/client/view

ChrisBurrell at crosswire.org ChrisBurrell at crosswire.org
Sun Aug 1 05:56:57 MST 2010


Author: ChrisBurrell
Date: 2010-08-01 05:56:57 -0700 (Sun, 01 Aug 2010)
New Revision: 170

Added:
   trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/public/step/images/sidebar/
Removed:
   trunk/step-web-app/src/main/resources/com/tyndalehouse/step/web/client/sidebar/
Modified:
   trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/client/bundles/StepResources.java
   trunk/step-web-app/src/main/resources/com/tyndalehouse/step/web/client/view/ModuleSideBarView.ui.xml
Log:
optimizations for images

Modified: trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/client/bundles/StepResources.java
===================================================================
--- trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/client/bundles/StepResources.java	2010-07-31 21:50:00 UTC (rev 169)
+++ trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/client/bundles/StepResources.java	2010-08-01 12:56:57 UTC (rev 170)
@@ -9,24 +9,24 @@
 public interface StepResources extends ClientBundle {
     public static final StepResources RESOURCES = GWT.create(StepResources.class);
 
-    @Source("com/tyndalehouse/step/web/client/sidebar/people.png")
-    ImageResource peopleModule();
+    // @Source("com/tyndalehouse/step/web/client/sidebar/people.png")
+    // ImageResource peopleModule();
+    //
+    // @Source("com/tyndalehouse/step/web/client/sidebar/globe.png")
+    // ImageResource geographyModule();
+    //
+    // @Source("com/tyndalehouse/step/web/client/sidebar/search.png")
+    // ImageResource searchModule();
+    //
+    // @Source("com/tyndalehouse/step/web/client/sidebar/language.png")
+    // ImageResource languageModule();
+    //
+    // @Source("com/tyndalehouse/step/web/client/sidebar/books.png")
+    // ImageResource literatureModule();
+    //
+    // @Source("com/tyndalehouse/step/web/client/sidebar/history.png")
+    // ImageResource historyModule();
 
-    @Source("com/tyndalehouse/step/web/client/sidebar/globe.png")
-    ImageResource geographyModule();
-
-    @Source("com/tyndalehouse/step/web/client/sidebar/search.png")
-    ImageResource searchModule();
-
-    @Source("com/tyndalehouse/step/web/client/sidebar/language.png")
-    ImageResource languageModule();
-
-    @Source("com/tyndalehouse/step/web/client/sidebar/books.png")
-    ImageResource literatureModule();
-
-    @Source("com/tyndalehouse/step/web/client/sidebar/history.png")
-    ImageResource historyModule();
-
     @Source("com/tyndalehouse/step/web/client/toolkit/options.png")
     ImageResource options();
 

Modified: trunk/step-web-app/src/main/resources/com/tyndalehouse/step/web/client/view/ModuleSideBarView.ui.xml
===================================================================
--- trunk/step-web-app/src/main/resources/com/tyndalehouse/step/web/client/view/ModuleSideBarView.ui.xml	2010-07-31 21:50:00 UTC (rev 169)
+++ trunk/step-web-app/src/main/resources/com/tyndalehouse/step/web/client/view/ModuleSideBarView.ui.xml	2010-08-01 12:56:57 UTC (rev 170)
@@ -7,22 +7,34 @@
 	<g:DecoratorPanel>
 		<g:FlowPanel>
 			<g:ToggleButton ui:field='people'>
-				<g:upFace image='{resources.peopleModule}' />
+				<g:upFace>
+					<img src="step/images/sidebar/people.png"  height="64px" width="64px" />
+				</g:upFace>
 			</g:ToggleButton>
 			<g:ToggleButton ui:field='geography'>
-				<g:upFace image='{resources.geographyModule}' />
+				<g:upFace>
+					<img src="step/images/sidebar/globe.png"  height="64px" width="64px" />
+				</g:upFace>
 			</g:ToggleButton>
 			<g:ToggleButton ui:field='history'>
-				<g:upFace image='{resources.historyModule}' />
+				<g:upFace>
+					<img src="step/images/sidebar/history.png"  height="64px" width="64px" />
+				</g:upFace>
 			</g:ToggleButton>
 			<g:ToggleButton ui:field='language'>
-				<g:upFace image='{resources.languageModule}' />
+				<g:upFace>
+					<img src="step/images/sidebar/language.png"  height="64px" width="64px" />
+				</g:upFace>
 			</g:ToggleButton>
 			<g:ToggleButton ui:field='literature'>
-				<g:upFace image='{resources.literatureModule}' />
+				<g:upFace>
+					<img src="step/images/sidebar/books.png"  height="64px" width="64px" />
+				</g:upFace>
 			</g:ToggleButton>
 			<g:ToggleButton ui:field='search'>
-				<g:upFace image='{resources.searchModule}' />
+				<g:upFace>
+					<img src="step/images/sidebar/search.png" height="64px" width="64px" />
+				</g:upFace>
 			</g:ToggleButton>
 		</g:FlowPanel>
 	</g:DecoratorPanel>




More information about the Tynstep-svn mailing list