You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/08/19 21:40:03 UTC

svn commit: r987281 - in /pivot/trunk: ./ examples/src/org/apache/pivot/examples/deployment/

Author: gbrown
Date: Thu Aug 19 19:40:03 2010
New Revision: 987281

URL: http://svn.apache.org/viewvc?rev=987281&view=rev
Log:
Add icons to Windows and OS X examples.

Added:
    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns   (with props)
    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico   (with props)
Modified:
    pivot/trunk/deployment-example.xml
    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/deployment_example_window.bxml

Modified: pivot/trunk/deployment-example.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/deployment-example.xml?rev=987281&r1=987280&r2=987281&view=diff
==============================================================================
--- pivot/trunk/deployment-example.xml (original)
+++ pivot/trunk/deployment-example.xml Thu Aug 19 19:40:03 2010
@@ -154,6 +154,7 @@ JarBundler requires Mac OS X. See the pr
 
         <launch4j>
             <config headerType="gui" jar="${folder.lib}/${example.jar}"
+                icon="${ant.project.name}/${folder.src}/${example.path}/logo-notext-256x256.ico"
                 outfile="${example.exe}">
                 <classPath mainClass="org.apache.pivot.examples.deployment.DeploymentExample"
                     cp="${folder.lib}/pivot-core-${version}.jar;${folder.lib}/pivot-wtk-${version}.jar;${folder.lib}/pivot-wtk-terra-${version}.jar"/>
@@ -179,7 +180,8 @@ JarBundler requires Mac OS X. See the pr
 
         <jarbundler dir="."
             name="${example.name}"
-            mainclass="org.apache.pivot.examples.deployment.DeploymentExample">
+            mainclass="org.apache.pivot.examples.deployment.DeploymentExample"
+            icon="${ant.project.name}/${folder.src}/${example.path}/logo-notext-256x256.icns">
             <jarfileset dir="${folder.lib}">
                 <include name="${example.jar}"/>
                 <include name="pivot-core-${version}.jar"/>

Modified: pivot/trunk/examples/src/org/apache/pivot/examples/deployment/deployment_example_window.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/examples/src/org/apache/pivot/examples/deployment/deployment_example_window.bxml?rev=987281&r1=987280&r2=987281&view=diff
==============================================================================
--- pivot/trunk/examples/src/org/apache/pivot/examples/deployment/deployment_example_window.bxml (original)
+++ pivot/trunk/examples/src/org/apache/pivot/examples/deployment/deployment_example_window.bxml Thu Aug 19 19:40:03 2010
@@ -23,6 +23,13 @@ limitations under the License.
         spacing:12}">
         <Label text="Welcome to Apache Pivot!" styles="{font:{size:16}}"/>
         <ImageView image="@logo-256x256.png"/>
+        <PushButton buttonData="Say Hello">
+            <buttonPressListeners>
+            function buttonPressed(button) {
+                org.apache.pivot.wtk.Prompt.prompt("Hello from Pivot!", button.window);
+            }
+            </buttonPressListeners>
+        </PushButton>
     </BoxPane>
 </Window>
 

Added: pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns
URL: http://svn.apache.org/viewvc/pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns?rev=987281&view=auto
==============================================================================
Binary file - no diff available.

Propchange: pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico
URL: http://svn.apache.org/viewvc/pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico?rev=987281&view=auto
==============================================================================
Binary file - no diff available.

Propchange: pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Re: svn commit: r987281 - in /pivot/trunk: ./ examples/src/org/apache/pivot/examples/deployment/

Posted by Todd Volkert <tv...@gmail.com>.
Heheh - I clearly should have taken a look first ;-)

On Fri, Aug 20, 2010 at 8:55 AM, Greg Brown <gk...@mac.com> wrote:
> It is the Pivot logo.
>
> On Aug 20, 2010, at 8:46 AM, Todd Volkert wrote:
>
>>> Added:
>>>    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns   (with props)
>>>    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico   (with props)
>>
>> We need to annotate these with their licenses - what's their origination?
>
>

Re: svn commit: r987281 - in /pivot/trunk: ./ examples/src/org/apache/pivot/examples/deployment/

Posted by Greg Brown <gk...@mac.com>.
It is the Pivot logo.

On Aug 20, 2010, at 8:46 AM, Todd Volkert wrote:

>> Added:
>>    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns   (with props)
>>    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico   (with props)
> 
> We need to annotate these with their licenses - what's their origination?


Re: svn commit: r987281 - in /pivot/trunk: ./ examples/src/org/apache/pivot/examples/deployment/

Posted by Todd Volkert <tv...@gmail.com>.
> Added:
>    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns   (with props)
>    pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico   (with props)

We need to annotate these with their licenses - what's their origination?