| | |
| | | |
| | | // This populates the category list |
| | | var categories = { |
| | | basic: 'Basic', |
| | | object: 'Objects', |
| | | symbol: 'Symbols', |
| | | arrow: 'Arrows', |
| | | flowchart: 'Flowchart', |
| | | nature: 'Nature', |
| | | game: 'Cards & Chess', |
| | | dialog_balloon: 'Dialog balloons', |
| | | music: 'Music', |
| | | weather: 'Weather & Time', |
| | | ui: 'User Interface', |
| | | social: 'Social Web' |
| | | basic: '基本', |
| | | object: '物体', |
| | | symbol: '符号', |
| | | arrow: '箭头', |
| | | flowchart: '流程图', |
| | | nature: '自然', |
| | | game: '纸牌与象棋', |
| | | dialog_balloon: '对话框', |
| | | music: '音乐', |
| | | weather: '天气与时间', |
| | | ui: '用户接口', |
| | | social: '社交网络' |
| | | }; |
| | | |
| | | var library = { |
| | |
| | | id: "tool_shapelib", |
| | | type: "mode_flyout", // _flyout |
| | | position: 6, |
| | | title: "Shape library", |
| | | title: "形状库", |
| | | icon: "extensions/ext-shapes.png", |
| | | events: { |
| | | "click": function() { |