Skip to content

Instantly share code, notes, and snippets.

@jameswhite
Created September 11, 2009 21:23
Show Gist options
  • Save jameswhite/185596 to your computer and use it in GitHub Desktop.
Save jameswhite/185596 to your computer and use it in GitHub Desktop.
var menuObjects = {
"no_object": [
{
iconid: "knob-cancel",
source: "/static/images/knob_cancel.png",
width: 32,
height: 32,
text: "Cancel",
action: "remove_menus",
},
{
iconid: "knob-add",
source: "/static/images/knob_add.png",
width: 32,
height: 32,
text: "Add Item",
action: "submenu_add_object",
},
{
iconid: "knob-help",
width: 32,
height: 32,
source: "/static/images/knob_help.png",
text: "Help",
action: "display_help"
},
{
iconid: "knob-info",
source: "/static/images/knob_info.png",
width: 32,
height: 32,
text: "Information",
action: "display_info",
},
{
iconid: "knob-message",
source: "/static/images/knob_message.png",
width: 32,
height: 32,
text: "Messages",
action: "do_message"
},
{
iconid: "knob-refresh" ,
source: "/static/images/knob_refresh.png",
width: 32,
height: 32,
text: "Refresh",
action: "do_refresh",
}
],
/* "object": [
],
"line": [
],
"add_object": [
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment