!Color Resources
mars.forecolor:black
mars.textcolor:purple
mars.backgroundcolor:SkyBlue

mars.main_w*component_icon.leftAttachment: attach_self
mars.main_w*component_icon.topAttachment: attach_self
mars.main_w*component_icon.rightAttachment: attach_none
mars.main_w*component_icon.bottomAttachment: attach_none

mars.LINK:SkyBlue
mars.NODE:cyan
mars.SPF:orange
mars.SEGAL:orange
mars.EXBF:orange
mars.EXBF_ACK:orange
mars.FTP_SOURCE:green
mars.FTP_SINK:green
mars.TELNET_SOURCE:green
mars.TELNET_SINK:green
mars.SIMPLE_SOURCE:green
mars.SIMPLE_SINK:green
mars.PERF_MON:pink
mars.STOPPER:red
mars.LINK_COST_FUNC:pink
mars.GROUP: white
mars.METER: yellow

mars.main_w.background: gray
mars.main_w.super_header.background: gray
mars.main_w.super_header.clock_form.background: gray
mars.main_w.super_header.clock_form.clock.background: gray
mars.main_w.super_header.clock_form.msecs_label.background: gray
mars.main_w*header.background: gray
mars.main_w*header.menubar.background: gray
mars*_pulldown.background: gray
mars.main_w.scroll_w.background: gray

mars*start_button.background: green
mars*pause_button.background: yellow

mars*message_w.background: light gray

mars*confirm_clear_network_dialog.background: white
mars*confirm_quit_dialog.background: white
mars*confirm_kill_selection_dialog.background:white
mars*confirm_kill_component_dialog.background:white
mars*confirm_kill_group_dialog.background:white

mars*file_selection_dialog*background: white
mars*file_selection_dialog.background: white
mars*file_selection_dialog.title.background: white
mars*file_selection_dialog.file_selection_box.background: white

mars*component_selection_box.background: aquamarine
mars*component_selection_box.icon_box.background: aquamarine
mars*component_selection_box.done_button.background: cadetblue

mars*hide_components_form.title.background:violet
mars*hide_components_form.background:violet
mars*hide_components_form.toggle_button_row_column.background:violet
mars*hide_components_form.action_area.background:violet

mars*resize_dialog.background:white
mars*resize_dialog.title.background:white
mars*resize_dialog.minimize_button.background:white

!Mnemonics and accelerators
mars*_pulldown.New.accelerator:
mars*_pulldown.New.acceleratorText: 
mars*_pulldown.New.mnemonic: N

mars*_pulldown.Open.accelerator:
mars*_pulldown.Open.acceleratorText:
mars*_pulldown.Open.mnemonic: O

mars*_pulldown.Save.accelerator:
mars*_pulldown.Save.acceleratorText:
mars*_pulldown.Save.mnemonic: S

mars*_pulldown.Snap.accelerator:
mars*_pulldown.Snap.acceleratorText:
mars*_pulldown.Snap.mnemonic: a

mars*_pulldown.Print.accelerator:
mars*_pulldown.Print.acceleratorText:
mars*_pulldown.Print.mnemonic: P

mars*_pulldown.Stop Record.accelerator:
mars*_pulldown.Stop Record.acceleratorText:
mars*_pulldown.Stop Record.mnemonic: R

mars*_pulldown.Play.accelerator:
mars*_pulldown.Play.acceleratorText:
mars*_pulldown.Play.mnemonic: l

mars*_pulldown.Quit.accelerator: Ctrl<Key>Q
mars*_pulldown.Quit.acceleratorText: Ctrl-Q
mars*_pulldown.Quit.mnemonic: Q

mars*_pulldown.Create Component.accelerator: 
mars*_pulldown.Create Component.acceleratorText:
mars*_pulldown.Create Component.mnemonic: C

mars*_pulldown.Kill Selection.accelerator: 
mars*_pulldown.Kill Selection.acceleratorText:
mars*_pulldown.Kill Selection.mnemonic: K

mars*_pulldown.Group Selection.accelerator: 
mars*_pulldown.Group Selection.acceleratorText:
mars*_pulldown.Group Selection.mnemonic: G

mars*_pulldown.Unselect All.accelerator: 
mars*_pulldown.Unselect All.acceleratorText:
mars*_pulldown.Unselect All.mnemonic: A

mars*_pulldown.Update Screen.accelerator: 
mars*_pulldown.Update Screen.acceleratorText:
mars*_pulldown.Update Screen.mnemonic: U

mars*_pulldown.Open Meter Window.accelerator: Ctrl<Key>M
mars*_pulldown.Open Meter Window.acceleratorText: Ctrl-M
mars*_pulldown.Open Meter Window.mnemonic: M

mars*_pulldown.Close All Information Windows.accelerator:
mars*_pulldown.Close All Information Windows.acceleratorText:
mars*_pulldown.Close All Information Windows.mnemonic: I

mars*_pulldown.Close All Groups.accelerator:
mars*_pulldown.Close All Groups.acceleratorText:
mars*_pulldown.Close All Groups.mnemonic: G

mars*_pulldown.Hide.accelerator:
mars*_pulldown.Hide.acceleratorText:
mars*_pulldown.Hide.mnemonic: H

mars*_pulldown.Delay.accelerator:
mars*_pulldown.Delay.acceleratorText:
mars*_pulldown.Delay.mnemonic: D

mars*_pulldown.Operating Mode.mnemonic: O

mars*_pulldown.Resize Network.accelerator:
mars*_pulldown.Resize Network.acceleratorText:
mars*_pulldown.Resize Network.mnemonic: R

mars*_pulldown.Continuous.accelerator: <Key>C
mars*_pulldown.Continuous.acceleratorText: C
mars*_pulldown.Continuous.mnemonic: C

mars*_pulldown.Event Step.accelerator: <Key>E
mars*_pulldown.Event Step.acceleratorText: E
mars*_pulldown.Event Step.mnemonic: E

mars*_pulldown.Time Step.accelerator: <Key>T
mars*_pulldown.Time Step.acceleratorText: T
mars*_pulldown.Time Step.mnemonic: T

!Boolean flags
mars.meterWindowOpen: no
mars.quitwarn: on
mars.killwarn: on

!Geometry resources
mars.geometry: 800x600+40+40
mars.networkWidth:1000
mars.networkHeight:1000

mars.meterComponentXOffset: 20
mars.meterComponentYOffset: 20
mars.meterComponentSpacing: 0

MaRSMeterWindow.geometry: 300x200

mars.BINARY_METERgeometry: 1.0x0.5
mars.BAR_GRAPHgeometry: 1.0x1.0
mars.LOGgeometry: 1.0x1.0
mars.TIME_HISTORY_Ageometry: 4.0x1.0
mars.TIME_HISTORY_Dgeometry: 2.0x2.0
mars.DELTA_METERgeometry: 2.0x1.0
mars.HISTOGRAMgeometry: 2.0x1.0
mars.TEXT_METERgeometry: 1.0x0.5
mars.meterWindowWidthScalar: 30
mars.meterWindowHeightScalar: 30
mars.meterXSpacing:5
mars.meterYSpacing:5

!Fonts
mars.meterfont: 6x10
mars*clock_form.clock.fontList:
mars*clock_form.msecs_label.fontList:

mars*menubar.File.fontList: 
mars*menubar.Edit.fontList: 
mars*menubar.View.fontList: 
mars*menubar.Options.fontList: 
mars*_pulldown*fontList: 

mars*start_button.fontList: 
mars*pause_button.fontList: 

mars*component_icon.fontList:

mars*message_w.fontList:

mars*confirm_clear_network_dialog*fontList:
mars*confirm_quit_dialog*fontList: 
mars*confirm_kill_selection_dialog*fontList:
mars*confirm_kill_component_dialog*fontList: 
mars*confirm_kill_group_dialog*fontList: 

mars*file_selection_dialog.title.fontList: 
mars*file_selection_dialog.file_selection_box*fontList: 

mars*component_selection_box.done_button.fontList:

mars*hide_components_form.title.fontList:
mars*hide_components_form.toggle_button_row_column*fontList:
mars*hide_components_form.action_area*fontList:

mars*resize_dialog*text_input_form.label.fontList:
mars*resize_dialog*text_input_form.textfield.fontList:
mars*resize_dialog.title.fontList: 
mars*resize_dialog.minimize_button.fontList: 
mars*resize_dialog.action_area*fontList: 

mars*comp_info_w.title.fontList:
mars*comp_info_w*text_input_form.label.fontList:
mars*comp_info_w*text_input_form.textfield.fontList:
mars*comp_info_w.hide_children_form.label.fontList:
mars*comp_info_w.*children_toggle_button.fontList:
mars*comp_info_w.*meters_toggle_button.fontList:
mars*comp_info_w.action_area*fontList:

mars*param_w*log_label.fontList:
mars*param_w*meter_label.fontList:
mars*param_w.title.fontList:
mars*param_w*text_input_form.label.fontList:
mars*param_w*text_input_form.textfield.fontList:
mars*param_w.action_area*fontList:

mars*group_info_w.title.fontList:
mars*group_info_w*text_input_form.label.fontList:
mars*group_info_w*text_input_form.textfield.fontList:
mars*group_info_w.action_area*fontList: 

MaRSMeterWindow*meter_label.fontList:

MaRSMeterWindow*meter_info_w.title.fontList: 
MaRSMeterWindow*meter_info_w*toggle_item.fontList:
MaRSMeterWindow*meter_info_w*text_input_form.label.fontList:
MaRSMeterWindow*meter_info_w*text_input_form.textfield.fontList:
MaRSMeterWindow*meter_info_w*meter_type_button*fontList:
MaRSMeterWindow*meter_info_w*meter_type_popup_menu*fontList:
MaRSMeterWindow*meter_info_w.action_area*fontList:

!Translation Tables
mars.componentTranslations:\
Shift<Btn1Down>,<Btn1Up> : select_component()\n\
 Meta<Btn1Down>,<Btn1Up> : open_group()\n\
 Meta<Btn3Down>,<Btn3Up> : close_group()\n\
Shift<Btn2Down>,<Btn2Up> : join_components()\n\
 Ctrl<Btn2Down>,<Btn2Up> : make_peers()\n\
Shift<Btn3Down>: lower_component() \n\
<Btn1Down>,<Btn1Up> : open_close_information_window() \n\
<Btn2Down>,<Btn2Up> : open_close_parameter_window() \n\
  <Btn3Motion> : move_component(move)\n\
    <Btn3Down> : move_component(grab) raise_component()\n\
      <Btn3Up> : move_component(release)

mars.meterTranslations: \
Shift<Btn3Down>: lower_meter()\n\
<Btn1Down>,<Btn1Up> : open_close_meter_information_window() \n\
  <Btn3Down> : move_meter(grab) raise_meter()\n\
<Btn3Motion> : move_meter(move) \n\
    <Btn3Up> : move_meter(release) \n\
  <Btn2Down> : resize_meter(grab) \n\
<Btn2Motion> : resize_meter(move) \n\
    <Btn2Up> : resize_meter(release)

mars.moveWindowTranslations: \
Shift<Btn3Down> : lower_window() \n\
     <Btn3Down> : move_window(grab) raise_window() \n\
   <Btn3Motion> : move_window(move) \n\
       <Btn3Up> : move_window(release)

mars.networkWTranslations: \
   <Btn1Down> : rubberbox(start) \n\
  <Btn1Motion>: rubberbox(move) \n\
     <Btn1Up> : rubberbox(release)

mars.createComponentTranslations: \
      <Btn3Down>: drag_component_icon(grab) \n\
    <Btn3Motion>: drag_component_icon(drag) \n\
       <Btn3Up> : drag_component_icon(release)

!Advanced Resources
MaRSMeterWindow.allowShellResize: True

mars*component_icon.borderWidth: 1

MaRSMeterWindow*meter_window.BorderWidth:1

MaRSMeterWindow*meter_info_w.BorderWidth:1
MaRSMeterWindow*meter_info_w.title.labelString: Meter Information

MaRSMeterWindow*meter_info_w*textfield.columns: 10

MaRSMeterWindow.meter_w.resizePolicy: resize_grow

MaRSMeterWindow*meter_window.resizePolicy: resize_any

MaRSMeterWindow*meter_window.meter_label.topAttachment: attach_form
MaRSMeterWindow*meter_window.meter_label.leftAttachment: attach_form
MaRSMeterWindow*meter_window.meter_label.borderWidth: 0

MaRSMeterWindow*meter_window.meter_draw_area.bottomAttachment: attach_form
MaRSMeterWindow*meter_window.meter_draw_area.leftAttachment: attach_form
MaRSMeterWindow*meter_window.meter_draw_area.rightAttachment: attach_form
MaRSMeterWindow*meter_window.meter_draw_area.topAttachment: attach_widget
MaRSMeterWindow*meter_window.meter_draw_area.borderWidth: 1

mars*clock_form.resizable: False
mars*clock_form.clock.labelString: 000000000000000000
mars*clock_form.clock.resizable: False
mars*clock_form.clock.alignment: alignment_end

mars*clock_form.msecs_label.labelString: msecs
mars*clock_form.msecs_label.resizable: False
mars*clock_form.msecs_label.rightOffset: 10

mars*network_w.marginWidth: 0
mars*network_w.resizePolicy: resize_grow

mars.main_w.message_w.editMode: single_line_edit
mars.main_w.message_w.leftAttachment: attach_form
mars.main_w.message_w.rightAttachment: attach_form
mars.main_w.message_w.bottomAttachment: attach_form

!mars.main_w.fractionBase: 100
!mars.main_w.message_w.topPosition: 90
!mars.main_w.scroll_w.bottomPosition: 90

mars.main_w.scroll_w.bottomAttachment: attach_widget
mars.main_w.scroll_w.topAttachment: attach_widget
mars.main_w.scroll_w.rightAttachment: attach_form
mars.main_w.scroll_w.leftAttachment: attach_form

mars*header.resizable:False

mars*start_button.labelString: Start
mars*start_button.resizable: False
mars*start_button.leftOffset: 10

mars*pause_button.labelString: Continue
mars*pause_button.resizable: False
mars*pause_button.leftOffset: 10

mars*marginHeight: 0
MaRSMeterWindow*marginHeight:0
MaRSMeterWindow.meter_w.marginWidth:0

mars*group_info_w.borderWidth: 1
mars*comp_info_w.borderWidth: 1
mars*param_w.borderWidth: 1

mars*component_selection_box.BorderWidth:1

mars*hide_components_form.borderWidth:1
mars*hide_components_form.title.labelString:Hide Components
mars*hide_components_form.toggle_button_row_column.orientation: vertical
mars*hide_components_form.toggle_button_row_column.packing: pack_column
mars*hide_components_form.toggle_button_row_column.numColumns: 2

mars*comp_info_w.hide_children_form.label.labelString: Hide:
mars*comp_info_w.hide_children_form.toggle_button_row_column.orientation: horizontal
mars*comp_info_w.hide_children_form.toggle_button_row_column.children_toggle_button.labelString: children
mars*comp_info_w.hide_children_form.toggle_button_row_column.meters_toggle_button.labelString: meters

mars*param_w*text_input_rowcol.form.fractionBase: 100

mars*param_w*text_input_rowcol.form.log_label.labelString: L
mars*param_w*text_input_rowcol.form.log_label.leftPosition: 0
mars*param_w*text_input_rowcol.form.log_label.rightPosition: 7
mars*param_w*text_input_rowcol.form.log_label.rightAttachment: attach_position

mars*param_w*text_input_rowcol.form.meter_label.labelString: M
mars*param_w*text_input_rowcol.form.meter_label.leftPosition: 7
mars*param_w*text_input_rowcol.form.meter_label.rightPosition: 14
mars*param_w*text_input_rowcol.form.meter_label.rightAttachment: attach_position

mars*param_w*text_input_rowcol.form.log_toggle.spacing: 0 
mars*param_w*text_input_rowcol.form.log_toggle.labelString:
mars*param_w*text_input_rowcol.form.log_toggle.leftPosition: 0
mars*param_w*text_input_rowcol.form.log_toggle.rightPosition: 7

mars*param_w*text_input_rowcol.form.meter_toggle.spacing: 0
mars*param_w*text_input_rowcol.form.meter_toggle.labelString:
mars*param_w*text_input_rowcol.form.meter_toggle.leftPosition: 7
mars*param_w*text_input_rowcol.form.meter_toggle.rightPosition: 14

mars*param_w*text_input_rowcol.form.text_input_form.leftPosition: 14
mars*param_w*text_input_rowcol.form*textfield.columns: 7
mars*param_w*text_input_rowcol.form*textfield.marginHeight: 0
mars*param_w*text_input_rowcol.form*textfield.marginWidth: 0

mars*confirm_kill_component_dialog.dialogStyle: dialog_primary_application_modal
mars*confirm_kill_component_dialog.messageString: \nKill Component!\n\nAre you sure?\n
mars*confirm_kill_component_dialog.messageAlignment: alignment_center
mars*confirm_kill_component_dialog.dialogType: dialog_warning

mars*confirm_kill_group_dialog.dialogStyle: dialog_primary_application_modal
mars*confirm_kill_group_dialog.messageString: \nKill Group!\n\nAre you sure?\n
mars*confirm_kill_group_dialog.messageAlignment: alignment_center
mars*confirm_kill_group_dialog.dialogType: dialog_question

mars*confirm_kill_selection_dialog.messageString: \nKill Selection!\n\nAre you sure?\n
mars*confirm_kill_selection_dialog.messageAlignment: alignment_center
mars*confirm_kill_selection_dialog.dialogType: dialog_question

mars*component_selection_box.leftAttachment: attach_form
mars*component_selection_box.topAttachment: attach_widget
mars*component_selection_box.leftOffset: 5
mars*component_selection_box.topOffset: 5

mars*component_selection_box.icon_box.topAttachment: attach_form
mars*component_selection_box.icon_box.leftAttachment: attach_form
mars*component_selection_box.icon_box.rightAttachment: attach_form

mars*component_selection_box.fractionBase: 60
mars*component_selection_box.done_button.labelString: Close
mars*component_selection_box.done_button.bottomAttachment: attach_form
mars*component_selection_box.done_button.leftAttachment: attach_position
mars*component_selection_box.done_button.leftPosition: 20
mars*component_selection_box.done_button.rightAttachment: attach_position
mars*component_selection_box.done_button.rightPosition: 40

mars*resize_dialog.dialogStyle: dialog_primary_application_modal
mars*resize_dialog.title.labelString: Resize Network
mars*resize_dialog.title.topAttachment: attach_form
mars*resize_dialog.title.leftAttachment: attach_form
mars*resize_dialog.title.rightAttachment: attach_form
mars*resize_dialog.minimize_button.labelString: Minimize
mars*resize_dialog.autoUnmanage: false

mars*confirm_clear_network_dialog.dialogStyle: dialog_primary_application_modal
mars*confirm_clear_network_dialog.messageString: \nAre you sure you want to\nclear the entire network?\n
mars*confirm_clear_network_dialog.messageAlignment: alignment_center
mars*confirm_clear_network_dialog.dialogType: dialog_question

mars*confirm_quit_dialog.dialogStyle: dialog_primary_application_modal
mars*confirm_quit_dialog.messageString: \nAre you sure you want to quit?\n
mars*confirm_quit_dialog.messageAlignment: alignment_center
mars*confirm_quit_dialog.dialogType: dialog_question





