-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added custom Windows XP symbols from my Common Library
- Loading branch information
1 parent
27589a0
commit 4037904
Showing
29 changed files
with
747 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<macromedia-extension name="Common Library Fixed" version="0.0.3" type="library" requires-restart="false"> | ||
<author name="Ale Muñoz" /> | ||
<products> | ||
<product name="Fireworks" version="9" primary="true" /> | ||
</products> | ||
<description> | ||
<![CDATA[ | ||
Common Library Fixed is a collection of fixes for the Common Library feature in Fireworks CS3 | ||
]]> | ||
</description> | ||
<ui-access> | ||
<![CDATA[ | ||
To use Common Library Fixed, just choose a symbols from the corresponding folder on the Common Library panel. | ||
There are two folders: "Windows XP" and "Mac OSX" | ||
]]> | ||
</ui-access> | ||
<files> | ||
<file source="Windows XP/Button.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/Button.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/CheckBox.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/CheckBox.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/ComboBox.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/ComboBox.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/GroupBox.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/Tab.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/Tab.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/TabPane.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/TextField.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/TextField.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<!-- Clean these --> | ||
<file source="Windows XP/HScrollBar.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/HScrollBar.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/HSlider.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/HSlider.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/NumericStepper.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/NumericStepper.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/RadioButton.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/RadioButton.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/Tree Node.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/Tree Node.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/VScrollBar.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/VScrollBar.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/VSlider.graphic.png" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
<file source="Windows XP/VSlider.jsf" destination="$fireworks/Configuration/Common Library/Windows XP" /> | ||
</files> | ||
</macromedia-extension> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
function setDefaultValues() { | ||
var currValues = new Array(); | ||
|
||
currValues.push({ | ||
name:"State", | ||
type:"ComboBox", | ||
value:"Normal,Normal,Over,Press" | ||
}); | ||
currValues.push({ | ||
name:"Enabled", | ||
type:"Boolean", | ||
value:"true" | ||
}); | ||
currValues.push({ | ||
name:"Label", | ||
type:"Text", | ||
value:"Label" | ||
}); | ||
|
||
Widget.elem.customData["currentValues"] = currValues; | ||
} | ||
|
||
function applyCurrentValues() { | ||
var vals = Widget.elem.customData["currentValues"]; | ||
var state = vals[0].value.split(",")[0].toString(); | ||
var enabled = (vals[1].value.toString()=="true"); | ||
|
||
Widget.GetObjectByName("normal").visible = (enabled && (state=="Normal")); | ||
Widget.GetObjectByName("over").visible = (enabled && (state=="Over" )); | ||
Widget.GetObjectByName("press").visible = (enabled && (state=="Press" )); | ||
Widget.GetObjectByName("disabled").visible = (!enabled); | ||
Widget.GetObjectByName("label").textChars = vals[2].value; | ||
Widget.GetObjectByName("label").pathAttributes.fillColor = (enabled)? "#000000" : "#ACA899"; | ||
} | ||
|
||
switch (Widget.opCode) { | ||
case 1: | ||
setDefaultValues(); | ||
break; | ||
case 2: | ||
applyCurrentValues(); | ||
break; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
function setDefaultValues() { | ||
var currValues = new Array(); | ||
|
||
currValues.push({ | ||
name:"State", | ||
type:"ComboBox", | ||
value:"Normal,Normal,Over,Press" | ||
}); | ||
currValues.push({ | ||
name:"Enabled", | ||
type:"Boolean", | ||
value:"true" | ||
}); | ||
currValues.push({ | ||
name:"Label", | ||
type:"Text", | ||
value:"Label" | ||
}); | ||
currValues.push({ | ||
name:"Selected", | ||
type:"Boolean", | ||
value:"false" | ||
}); | ||
|
||
Widget.elem.customData["currentValues"] = currValues; | ||
} | ||
|
||
function applyCurrentValues() { | ||
var vals = Widget.elem.customData["currentValues"]; | ||
var state = vals[0].value.split(",")[0].toString(); | ||
var enabled = (vals[1].value.toString()=="true"); | ||
var selected = (vals[3].value.toString()=="true"); | ||
|
||
Widget.GetObjectByName("normal").visible = ((enabled) && (!selected) && (state=="Normal")); | ||
Widget.GetObjectByName("over").visible = ((enabled) && (!selected) && (state=="Over" )); | ||
Widget.GetObjectByName("press").visible = ((enabled) && (!selected) && (state=="Press" )); | ||
Widget.GetObjectByName("disabled").visible = ((!enabled) && (!selected)); | ||
Widget.GetObjectByName("selected").visible = ((enabled) && (selected) && (state=="Normal")); | ||
Widget.GetObjectByName("selected_over").visible = ((enabled) && (selected) && (state=="Over" )); | ||
Widget.GetObjectByName("selected_press").visible = ((enabled) && (selected) && (state=="Press" )); | ||
Widget.GetObjectByName("selected_disabled").visible = ((!enabled) && ( selected)); | ||
Widget.GetObjectByName("label").textChars = vals[2].value; | ||
Widget.GetObjectByName("label").pathAttributes.fillColor = (enabled)? "#000000" : "#ACA899"; | ||
} | ||
|
||
switch (Widget.opCode) { | ||
case 1: | ||
setDefaultValues(); | ||
break; | ||
case 2: | ||
applyCurrentValues(); | ||
break; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
function setDefaultValues() { | ||
var currValues = new Array(); | ||
currValues.push({ | ||
name:"State", | ||
type:"ComboBox", | ||
value:"Normal,Normal,Over,Press" | ||
}); | ||
currValues.push({ | ||
name:"Enabled", | ||
type:"Boolean", | ||
value:"true" | ||
}); | ||
currValues.push({ | ||
name:"Label", | ||
type:"Text", | ||
value:"Label" | ||
}); | ||
Widget.elem.customData["currentValues"] = currValues; | ||
} | ||
|
||
function applyCurrentValues() { | ||
var vals = Widget.elem.customData["currentValues"]; | ||
var state = vals[0].value.split(",")[0].toString(); | ||
var enabled = (vals[1].value.toString()=="true"); | ||
|
||
Widget.GetObjectByName("text_normal").visible = (enabled); | ||
Widget.GetObjectByName("text_disabled").visible = (!enabled); | ||
Widget.GetObjectByName("button_normal").visible = ((enabled) && (state=="Normal")); | ||
Widget.GetObjectByName("button_over").visible = ((enabled) && (state=="Over" )); | ||
Widget.GetObjectByName("button_press").visible = ((enabled) && (state=="Press" )); | ||
Widget.GetObjectByName("button_disabled").visible = (!enabled); | ||
Widget.GetObjectByName("label").textChars = vals[2].value; | ||
Widget.GetObjectByName("label").pathAttributes.fillColor = (enabled)? "#000000" : "#ACA899"; | ||
} | ||
|
||
switch (Widget.opCode) { | ||
case 1: | ||
setDefaultValues(); | ||
break; | ||
case 2: | ||
applyCurrentValues(); | ||
break; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/*============================================================================*/ | ||
/* Copyright (c) 2007 Adobe Systems Inc. */ | ||
/* All rights reserved. */ | ||
/*============================================================================*/ | ||
|
||
function setDefaultValues() | ||
{ | ||
var currValues = new Array(); | ||
|
||
currValues.push({ name:"State (Left)", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"State (Thumb)", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"State (Track)", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"State (Right)", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"enabled", type:"Boolean", value:"true" }); | ||
|
||
Widget.elem.customData["currentValues"] = currValues; | ||
} | ||
|
||
function applyCurrentValues() | ||
{ | ||
var vals = Widget.elem.customData["currentValues"]; | ||
var stateleft = vals[0].value.split(",")[0].substr(0,1).toLowerCase(); | ||
var statethumb = vals[1].value.split(",")[0].substr(0,1).toLowerCase(); | ||
var statetrack = vals[2].value.split(",")[0].substr(0,1).toLowerCase(); | ||
var stateright = vals[3].value.split(",")[0].substr(0,1).toLowerCase(); | ||
var state = stateleft + statethumb + statetrack + stateright; | ||
var enabled = (vals[4].value.toString()=="true"); | ||
var states = ["n","o","p"]; | ||
var i, j, k, l, obj; | ||
|
||
for (i=0; i<states.length; i++) | ||
{ | ||
for (j=0; j<states.length; j++) | ||
{ | ||
for (k=0; k<states.length; k++) | ||
{ | ||
for (l=0; l<states.length; l++) | ||
{ | ||
obj = states[i]+states[j]+states[k]+states[l]; | ||
|
||
Widget.GetObjectByName(obj).visible = (enabled && (state==obj)); | ||
} | ||
} | ||
} | ||
} | ||
|
||
Widget.GetObjectByName("disabled").visible = (!enabled); | ||
} | ||
|
||
switch (Widget.opCode) | ||
{ | ||
case 1: setDefaultValues(); break; | ||
case 2: applyCurrentValues(); break; | ||
} | ||
|
||
/*============================================================================*/ | ||
/* Copyright (c) 2007 Adobe Systems Inc. */ | ||
/* All rights reserved. */ | ||
/*============================================================================*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/*============================================================================*/ | ||
/* Copyright (c) 2007 Adobe Systems Inc. */ | ||
/* All rights reserved. */ | ||
/*============================================================================*/ | ||
|
||
function setDefaultValues() | ||
{ | ||
var currValues = new Array(); | ||
|
||
currValues.push({ name:"Thumb Type", type:"ComboBox", value:"Default,Default,Up,Down" }); | ||
currValues.push({ name:"Thumb State", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"enabled", type:"Boolean", value:"true" }); | ||
|
||
Widget.elem.customData["currentValues"] = currValues; | ||
} | ||
|
||
function applyCurrentValues() | ||
{ | ||
var vals = Widget.elem.customData["currentValues"]; | ||
var types = vals[0].value.split(","); | ||
var type = types.shift(); | ||
var states = vals[1].value.split(","); | ||
var state = states.shift(); | ||
var enabled = (vals[2].value.toString()=="true"); | ||
var objName = type + "_" + ((enabled)? state : "disabled"); | ||
var i, j, n; | ||
|
||
for (i=0; i<types.length; i++) | ||
{ | ||
for (j=0; j<states.length; j++) | ||
{ | ||
n = types[i]+"_"+states[j]; | ||
|
||
Widget.GetObjectByName(n).visible = (n==objName); | ||
} | ||
|
||
n = types[i]+"_disabled"; | ||
|
||
Widget.GetObjectByName(n).visible = (n==objName); | ||
} | ||
} | ||
|
||
switch (Widget.opCode) | ||
{ | ||
case 1: setDefaultValues(); break; | ||
case 2: applyCurrentValues(); break; | ||
} | ||
|
||
/*============================================================================*/ | ||
/* Copyright (c) 2007 Adobe Systems Inc. */ | ||
/* All rights reserved. */ | ||
/*============================================================================*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/*============================================================================*/ | ||
/* Copyright (c) 2007 Adobe Systems Inc. */ | ||
/* All rights reserved. */ | ||
/*============================================================================*/ | ||
|
||
function setDefaultValues() | ||
{ | ||
var currValues = new Array(); | ||
|
||
currValues.push({ name:"State (Up)", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"State (Down)", type:"ComboBox", value:"Normal,Normal,Over,Press" }); | ||
currValues.push({ name:"enabled", type:"Boolean", value:"true" }); | ||
currValues.push({ name:"value", type:"Number", value:"0,-100,100" }); | ||
|
||
Widget.elem.customData["currentValues"] = currValues; | ||
} | ||
|
||
function applyCurrentValues() | ||
{ | ||
var vals = Widget.elem.customData["currentValues"]; | ||
var stateup = vals[0].value.split(",")[0].toString(); | ||
var statedown = vals[1].value.split(",")[0].toString(); | ||
var enabled = (vals[2].value.toString()=="true"); | ||
|
||
Widget.GetObjectByName("text_normal").visible = ( enabled); | ||
Widget.GetObjectByName("text_disabled").visible = (!enabled); | ||
|
||
Widget.GetObjectByName("stepperup_normal").visible = ( enabled && (stateup=="Normal")); | ||
Widget.GetObjectByName("stepperup_over").visible = ( enabled && (stateup=="Over" )); | ||
Widget.GetObjectByName("stepperup_press").visible = ( enabled && (stateup=="Press" )); | ||
Widget.GetObjectByName("stepperup_disabled").visible = (!enabled); | ||
|
||
Widget.GetObjectByName("stepperdown_normal").visible = ( enabled && (statedown=="Normal")); | ||
Widget.GetObjectByName("stepperdown_over").visible = ( enabled && (statedown=="Over" )); | ||
Widget.GetObjectByName("stepperdown_press").visible = ( enabled && (statedown=="Press" )); | ||
Widget.GetObjectByName("stepperdown_disabled").visible = (!enabled); | ||
|
||
Widget.GetObjectByName("value").textChars = vals[3].value.split(",")[0]; | ||
Widget.GetObjectByName("value").pathAttributes.fillColor = (enabled)? "#000000" : "#ACA899"; | ||
} | ||
|
||
switch (Widget.opCode) | ||
{ | ||
case 1: setDefaultValues(); break; | ||
case 2: applyCurrentValues(); break; | ||
} | ||
|
||
/*============================================================================*/ | ||
/* Copyright (c) 2007 Adobe Systems Inc. */ | ||
/* All rights reserved. */ | ||
/*============================================================================*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.