Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 95615 invoked from network); 9 Jun 2010 21:37:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 21:37:06 -0000 Received: (qmail 84962 invoked by uid 500); 9 Jun 2010 21:37:06 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 84899 invoked by uid 500); 9 Jun 2010 21:37:06 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 84890 invoked by uid 99); 9 Jun 2010 21:37:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 21:37:06 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gkbrown@mac.com designates 17.148.16.102 as permitted sender) Received: from [17.148.16.102] (HELO asmtpout027.mac.com) (17.148.16.102) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 21:36:59 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [192.168.1.13] (pool-173-76-183-203.bstnma.fios.verizon.net [173.76.183.203]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L3R000V5O0XG250@asmtp027.mac.com> for user@pivot.apache.org; Wed, 09 Jun 2010 14:36:35 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006090157 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-09_04:2010-02-06,2010-06-09,2010-06-09 signatures=0 Subject: Re: Dynamic changable styles From: Greg Brown In-reply-to: <1276118735118-883631.post@n3.nabble.com> Date: Wed, 09 Jun 2010 17:36:33 -0400 Message-id: <8BDE9155-2E66-45DE-BEB4-F606AC5A6997@mac.com> References: <1276115990381-883505.post@n3.nabble.com> <179A41FE-220B-43EB-8CED-9D60F318F2B6@mac.com> <1276118735118-883631.post@n3.nabble.com> To: user@pivot.apache.org X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org OK. I assume that you will also have an associated set of font/color schemes to go with those background images? If so, the easiest thing would probably be to define a custom scheme file for each background image. The default scheme looks like this: http://svn.apache.org/repos/asf/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_default.json The format of this file is described in the Javadoc for the Terra package: http://pivot.apache.org/1.5/docs/api/org/apache/pivot/wtk/skin/terra/package-summary.html You could potentially provide a custom theme for each background image that defines an appropriate font and color palette. You can specify which scheme file to use via the "org.apache.pivot.wtk.skin.terra.location" system property. This property should point to a JSON file on the classpath that contains the custom scheme; e.g.: -Dorg.apache.pivot.wtk.skin.terra.location=com/foo/CustomTerraTheme.json If you are running in an applet, you would use the "system_properties" applet param, which works the same as the "startup_properties" param but sets system props rather than application startup properties. G On Jun 9, 2010, at 5:25 PM, JohnRodey wrote: > > Ya, there will be a set of predefined background images. > -- > View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Dynamic-changable-styles-tp883505p883631.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.