Guest User

Untitled

a guest
May 25th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.55 KB | None | 0 0
  1. !icon:file=res/images/dialogs/med_node.png|id=big_node_icon
  2.  
  3. !define:name=visible_cols_threshold|value=8
  4. !define:name=visible_rows_threshold|value=30
  5.  
  6. !define:name=visible_stats|value=10
  7. !define:name=visible_inqueue_cont|value=10
  8. !define:name=visible_outqueues|value=10
  9. !define:name=visible_outqueues_cont|value=10
  10.  
  11. !define:name=float_format|value="%2.8f"
  12.  
  13. !define:name=node_font_name|value='times'
  14. !define:name=node_hont_size|value=16
  15.  
  16. font:options=%node_font_name,%node_hont_size,FONTWEIGHT_BOLD|id=node_font
  17.  
  18. _main_window
  19. dialog_box:options=$nprops_title,DECOR_TITLE+DECOR_BORDER+PLACEMENT_OWNER,0,0,0,0,2,2,2,2|main|id=nprops_dialog
  20. vframe
  21. hframe:options=LAYOUT_FILL_X+LAYOUT_FILL_Y+FRAME_GROOVE
  22. vframe:options=LAYOUT_FILL_X+LAYOUT_FILL_Y
  23.  
  24. label:options='',%big_node_icon,LAYOUT_CENTER_X+TEXT_ABOVE_ICON|id=node_label
  25.  
  26. # statistics
  27. group_box:options=$nprops_stats,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  28. # list of all nodes
  29. combo_box:options=5,*stats(''),LAYOUT_FILL_X+COMBOBOX_STATIC+FRAME_SUNKEN+FRAME_THICK|id=stats_combo
  30. group_box:options='',FRAME_THICK+LAYOUT_FILL_X+GROUPBOX_TITLE_LEFT
  31. matrix:options=2,MATRIX_BY_COLUMNS
  32. label:options=$nprops_stats_mi
  33. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=mi
  34. label:options=$nprops_stats_ro
  35. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=ro
  36. label:options=$nprops_stats_wbest
  37. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=wbest
  38. label:options=$nprops_stats_wnum
  39. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=wnum
  40. # node properties
  41. group_box:options=$nprops_poperties,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  42. matrix:options=2,MATRIX_BY_COLUMNS
  43. label:options=$nprops_node_power
  44. text_field:options=6,nil,0,TEXTFIELD_READONLY|id=node_power
  45. label:options=$nprops_node_capacity
  46. text_field:options=6,nil,0,TEXTFIELD_READONLY|id=node_capacity
  47. label:options=$nprops_node_processed
  48. text_field:options=6,nil,0,TEXTFIELD_READONLY|id=node_processed
  49. label:options=$nprops_node_load
  50. text_field:options=6,nil,0,TEXTFIELD_READONLY|id=node_load
  51.  
  52. # group_box:options=$nprops_stats,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  53. # queues
  54. group_box:options=$nprops_queues_title,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  55. tab_book:options=nil,0,LAYOUT_FILL_X|LAYOUT_FILL_Y|LAYOUT_RIGHT
  56. # forward queues
  57. tab_item:options=$nprops_forward_queues_tab_title
  58. vframe:options=FRAME_THICK+FRAME_RAISED
  59. group_box:options=$nprops_input_queue,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  60. matrix:options=2,MATRIX_BY_COLUMNS
  61. label:options=$nprops_input_queue_content
  62. combo_box:options=10,nil,0,LAYOUT_FILL_X+COMBOBOX_STATIC+FRAME_SUNKEN+FRAME_THICK|id=inqueue_content_combo
  63. label:options=$nprops_input_queue_size
  64. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=input_queue_size_text
  65. group_box:options=$nprops_output_queues,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  66. matrix:options=2,MATRIX_BY_COLUMNS
  67. label:options=$nprops_output_queue
  68. combo_box:options=10,*outqueues_combo(''),LAYOUT_FILL_X+COMBOBOX_STATIC+FRAME_SUNKEN+FRAME_THICK|id=outqueues_combo
  69. label:options=$nprops_output_queue_content
  70. combo_box:options=10,nil,0,LAYOUT_FILL_X+COMBOBOX_STATIC+FRAME_SUNKEN+FRAME_THICK|id=outqueue_content_combo
  71. label:options=$nprops_output_queue_size
  72. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=output_queue_size_text
  73. # backward queues
  74. tab_item:options=$nprops_backward_queues_tab_title
  75. vframe:options=FRAME_THICK+FRAME_RAISED
  76. group_box:options=$nprops_input_bqueue,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  77. matrix:options=2,MATRIX_BY_COLUMNS
  78. label:options=$nprops_input_bqueue_content
  79. combo_box:options=10,nil,0,LAYOUT_FILL_X+COMBOBOX_STATIC+FRAME_SUNKEN+FRAME_THICK|id=inbqueue_content_combo
  80. label:options=$nprops_input_bqueue_size
  81. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=input_bqueue_size_text
  82. group_box:options=$nprops_output_bqueue,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  83. matrix:options=2,MATRIX_BY_COLUMNS
  84. label:options=$nprops_output_bqueue_content
  85. combo_box:options=10,nil,0,LAYOUT_FILL_X+COMBOBOX_STATIC+FRAME_SUNKEN+FRAME_THICK|id=outbqueue_content_combo
  86. label:options=$nprops_output_bqueue_size
  87. text_field:options=10,nil,0,TEXTFIELD_READONLY|id=output_bqueue_size_text
  88.  
  89. # routing table
  90. group_box:options=$nprops_rtable,FRAME_THICK+LAYOUT_FILL_X+LAYOUT_FILL_Y+GROUPBOX_TITLE_LEFT
  91. table:options=nil,0,TABLE_COL_SIZABLE+TABLE_ROW_SIZABLE+LAYOUT_FILL_X+LAYOUT_FILL_Y|id=table
  92.  
  93. button:options=$ok_button,$$ok_icon,%nprops_dialog,FXDialogBox::ID_ACCEPT,BUTTON_NORMAL+LAYOUT_CENTER_X
Add Comment
Please, Sign In to add comment