Line | |
---|
1 | package elements.menu {
|
---|
2 |
|
---|
3 | public class DefaultCameraIconProperties extends Properties
|
---|
4 | {
|
---|
5 | public function DefaultCameraIconProperties( json:Object ) {
|
---|
6 |
|
---|
7 | // the user JSON can override any of these:
|
---|
8 | var parent:Properties = new Properties( {
|
---|
9 | 'colour': '#0000E0',
|
---|
10 | 'text': "Save chart",
|
---|
11 | 'javascript-function': "save_image",
|
---|
12 | 'background-colour': "#ffffff",
|
---|
13 | 'glow-colour': "#148DCF",
|
---|
14 | 'text-colour': "#0000ff"
|
---|
15 | } );
|
---|
16 |
|
---|
17 | super( json, parent );
|
---|
18 |
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.