; 
; IDL Widget Interface Procedures. This Code is automatically 
;     generated and should not be modified.

; 
; Generated on:	01/02/2015 16:52.09
; 
pro WID_BASE_0_event, Event

  wTarget = (widget_info(Event.id,/NAME) eq 'TREE' ?  $
      widget_info(Event.id, /tree_root) : event.id)


  wWidget =  Event.top

  case wTarget of

    else:
  endcase

end

pro WID_BASE_0, GROUP_LEADER=wGroup, _EXTRA=_VWBExtra_

  Resolve_Routine, 'ax_display_ptycho_next_eventcb',/COMPILE_FULL_FILE  ; Load event callback routines
  
  WID_BASE_0 = Widget_Base( GROUP_LEADER=wGroup, UNAME='WID_BASE_0'  $
      ,XOFFSET=5 ,YOFFSET=5 ,SCR_XSIZE=620 ,SCR_YSIZE=533  $
      ,TITLE='IDL' ,SPACE=3 ,XPAD=3 ,YPAD=3)

  
  WID_DRAW_0 = Widget_Draw(WID_BASE_0, UNAME='WID_DRAW_0' ,XOFFSET=32  $
      ,YOFFSET=26 ,SCR_XSIZE=261 ,SCR_YSIZE=224)

  
  WID_DRAW_1 = Widget_Draw(WID_BASE_0, UNAME='WID_DRAW_1' ,XOFFSET=32  $
      ,YOFFSET=278 ,SCR_XSIZE=261 ,SCR_YSIZE=224)

  
  WID_BASE_1 = Widget_Base(WID_BASE_0, UNAME='WID_BASE_1'  $
      ,XOFFSET=311 ,YOFFSET=27 ,SCR_XSIZE=291 ,SCR_YSIZE=233  $
      ,TITLE='IDL' ,SPACE=3 ,XPAD=3 ,YPAD=3)

  
  Bright_Field = Widget_Button(WID_BASE_1, UNAME='Bright_Field'  $
      ,XOFFSET=14 ,YOFFSET=9 ,SCR_XSIZE=120 ,SCR_YSIZE=35  $
      ,/ALIGN_CENTER ,VALUE='Generate Bright Field')

  
  Log_Linear = Widget_Button(WID_BASE_1, UNAME='Log_Linear'  $
      ,XOFFSET=16 ,YOFFSET=102 ,SCR_XSIZE=120 ,SCR_YSIZE=35  $
      ,/ALIGN_CENTER ,VALUE='Logarithmic / Linear')

  
  Play = Widget_Button(WID_BASE_1, UNAME='Play' ,XOFFSET=16  $
      ,YOFFSET=165 ,SCR_XSIZE=65 ,SCR_YSIZE=35 ,/ALIGN_CENTER  $
      ,VALUE='Play')

  
  Stop = Widget_Button(WID_BASE_1, UNAME='Stop' ,XOFFSET=88  $
      ,YOFFSET=166 ,SCR_XSIZE=65 ,SCR_YSIZE=35 ,/ALIGN_CENTER  $
      ,VALUE='Stop')

  
  Dismiss = Widget_Button(WID_BASE_1, UNAME='Dismiss' ,XOFFSET=210  $
      ,YOFFSET=181 ,SCR_XSIZE=65 ,SCR_YSIZE=35 ,/ALIGN_CENTER  $
      ,VALUE='Dismiss')

  
  Subtract_background = Widget_Button(WID_BASE_1,  $
      UNAME='Subtract_background' ,XOFFSET=15 ,YOFFSET=53  $
      ,SCR_XSIZE=120 ,SCR_YSIZE=35 ,/ALIGN_CENTER ,VALUE='Subtract'+ $
      ' Background')

  
  Bright_Field_0 = Widget_Button(WID_BASE_1, UNAME='Bright_Field_0'  $
      ,XOFFSET=153 ,YOFFSET=9 ,SCR_XSIZE=120 ,SCR_YSIZE=35  $
      ,/ALIGN_CENTER ,VALUE='Load Bright Field')

  
  WID_BASE_2 = Widget_Base(WID_BASE_1, UNAME='WID_BASE_2'  $
      ,XOFFSET=166 ,YOFFSET=59 ,TITLE='IDL' ,COLUMN=1 ,/EXCLUSIVE)

  
  Long = Widget_Button(WID_BASE_2, UNAME='Long' ,/ALIGN_LEFT  $
      ,VALUE='long (150 ms)')

  
  WID_BASE_3 = Widget_Base(WID_BASE_1, UNAME='WID_BASE_3'  $
      ,XOFFSET=163 ,YOFFSET=90 ,TITLE='IDL' ,COLUMN=1 ,/EXCLUSIVE)

  
  short = Widget_Button(WID_BASE_3, UNAME='short' ,/ALIGN_LEFT  $
      ,VALUE='short (15 ms)')

  
  WID_TEXT_1 = Widget_Text(WID_BASE_1, UNAME='WID_TEXT_1'  $
      ,XOFFSET=213 ,YOFFSET=118 ,SCR_XSIZE=50 ,SCR_YSIZE=19 ,XSIZE=20  $
      ,YSIZE=1)

  
  LABEL_x_pixels = Widget_Label(WID_BASE_1, UNAME='LABEL_x_pixels'  $
      ,XOFFSET=156 ,YOFFSET=118 ,/ALIGN_LEFT ,VALUE='# X pixels')

  
  WID_TEXT_2 = Widget_Text(WID_BASE_1, UNAME='WID_TEXT_2'  $
      ,XOFFSET=212 ,YOFFSET=137 ,SCR_XSIZE=50 ,SCR_YSIZE=19 ,XSIZE=20  $
      ,YSIZE=1)

  
  LABEL_y_pixels = Widget_Label(WID_BASE_1, UNAME='LABEL_y_pixels'  $
      ,XOFFSET=157 ,YOFFSET=137 ,/ALIGN_LEFT ,VALUE='# Y pixels')

  
  WID_LABEL_0 = Widget_Label(WID_BASE_0, UNAME='WID_LABEL_0'  $
      ,XOFFSET=41 ,SCR_XSIZE=70 ,SCR_YSIZE=18 ,/ALIGN_LEFT  $
      ,VALUE='Ptycho folder')

  
  WID_TEXT_0 = Widget_Text(WID_BASE_0, UNAME='WID_TEXT_0'  $
      ,XOFFSET=116 ,SCR_XSIZE=429 ,SCR_YSIZE=21 ,XSIZE=20 ,YSIZE=1)

  Widget_Control, /REALIZE, WID_BASE_0

  XManager, 'WID_BASE_0', WID_BASE_0, /NO_BLOCK  

end
; 
; Empty stub procedure used for autoloading.
; 
pro ax_display_ptycho_next, GROUP_LEADER=wGroup, _EXTRA=_VWBExtra_
  WID_BASE_0, GROUP_LEADER=wGroup, _EXTRA=_VWBExtra_
end
