-
Notifications
You must be signed in to change notification settings - Fork 0
/
changesWindow.pro
34 lines (29 loc) · 1.53 KB
/
changesWindow.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
; ****************************************** changes window **************
; opens a window with a list of recent changes
; easier to track changes in the software for the use
; introduced in July 2015
PRO changesWindow_event, ev
WIDGET_CONTROL, ev.TOP, /DESTROY
END
pro changesWindow, base
common fonts, titlefont, boldfont, mainfont, avFontHeight
basedialog = WIDGET_BASE(/COLUMN, /MODAL, GROUP_LEADER=base, Title='Recent changes')
infobase = WIDGET_BASE(basedialog,/COLUMN)
la = WIDGET_TEXT(infobase, XSIZE=80, YSIZE=30, /ALIGN_LEFT, /EDITABLE, /WRAP)
ccr = STRING(13B) ; Carriage Return
clf = STRING([10B]) ; line feed
text = "Polydefix" + clf
text += "Compiled July 3nd 2015" + clf + clf
text += "Recent changes" + clf
text += "- April, 2022: azimuth angles were still treated as integers, converted them to floats and forced them to the [0;360°] range to avoid plotting issues." + clf
text += "- July 3, 2015: added calculation of average stress, standard deviation, and statistical error on average stress" + clf
text += "- July 2, 2015: added reference to multifit/polydefix publication in the about window" + clf
text += "- July 2, 2015: open the about window at startup" + clf
text += "- July 2, 2015: started to record changes in this interface" + clf
WIDGET_CONTROL, la, SET_VALUE=text, /APPEND
WIDGET_CONTROL, la, SET_TEXT_TOP_LINE=0
buttons = WIDGET_BASE(basedialog,/ROW, /GRID_LAYOUT, /ALIGN_CENTER)
ok = WIDGET_BUTTON(buttons, VALUE='Ok', UVALUE='OK', xsize=80)
WIDGET_CONTROL, basedialog, /REALIZE
XMANAGER, 'changesWindow', basedialog
end