|
@@ -1,21 +1,54 @@
|
|
# stat_display
|
|
# stat_display
|
|
!!2021/04/04
|
|
!!2021/04/04
|
|
-if call_trace_shown ! 0:
|
|
|
|
|
|
+
|
|
|
|
+!! --- CALL TRACE, when enabled (`debug['trace_shown'] = 1`) replaces stat_display
|
|
|
|
+if debug['trace_shown'] ! 0:
|
|
clear
|
|
clear
|
|
p '<center>'
|
|
p '<center>'
|
|
if $git_hash ! '': pl '<<$git_hash>>'
|
|
if $git_hash ! '': pl '<<$git_hash>>'
|
|
- pl iif(call_trace_manual = 0, 'auto', 'manual')
|
|
|
|
- if call_trace_enabled = 0:
|
|
|
|
- p '<a href="exec:call_trace_enabled = 1 & gs ''stat_display''">enable</a> | '
|
|
|
|
|
|
+ if debug['call_trace_selector'] = 0:
|
|
|
|
+ p 'loc change | '
|
|
|
|
+ p '<a href="exec:debug[''call_trace_selector''] = 1 & gs ''stat_display''">direct</a>'
|
|
|
|
+ nl '<hr>'
|
|
|
|
+
|
|
|
|
+ if debug['trace_loc_change'] = 0:
|
|
|
|
+ p '<a href="exec:debug[''trace_loc_change''] = 1 & gs ''stat_display''">start</a> | '
|
|
|
|
+ else
|
|
|
|
+ p '<a href="exec:debug[''trace_loc_change''] = 0 & gs ''stat_display''">stop</a> | '
|
|
|
|
+ end
|
|
|
|
+ p '<a href="exec:$debug[''loc_change_trace''] = '''' & gs ''stat_display''">clear</a> | '
|
|
|
|
+ pl '<a href="exec:debug[''trace_shown''] = 0 & gs ''stat''">return</a></center>'
|
|
|
|
+
|
|
|
|
+ p $debug['loc_change_trace']
|
|
else
|
|
else
|
|
- p '<a href="exec:call_trace_enabled = 0 & call_trace_shown = 0 & gs ''stat''">disable</a> | '
|
|
|
|
|
|
+ p '<a href="exec:debug[''call_trace_selector''] = 0 & gs ''stat_display''">loc change</a> | '
|
|
|
|
+ p 'direct'
|
|
|
|
+ nl '<hr>'
|
|
|
|
+
|
|
|
|
+ p '<a href="exec:$trace_locations[] = $input(''location name'') & gs ''stat_display''">add by name</a> | '
|
|
|
|
+ p '<a href="exec:$trace_locations[] = $curloc & gs ''stat_display''">add $curloc</a>'
|
|
|
|
+ nl '<hr>'
|
|
|
|
+
|
|
|
|
+ if arrsize('$trace_locations') > 0:
|
|
|
|
+ p '<a href="exec:gs ''debug_tools'', ''trace_list_locs''">list locations</a> | '
|
|
|
|
+ p '<a href="exec:killvar ''$trace_locations'' & gs ''stat_display''">clear</a>'
|
|
|
|
+ else
|
|
|
|
+ p 'list locations | '
|
|
|
|
+ p 'clear'
|
|
|
|
+ end
|
|
|
|
+ nl '<hr>'
|
|
|
|
+
|
|
|
|
+ p '<a href="exec:$debug[''direct_trace''] = '''' & gs ''stat_display''">clear</a> | '
|
|
|
|
+ pl '<a href="exec:debug[''trace_shown''] = 0 & gs ''stat''">return</a></center>'
|
|
|
|
+
|
|
|
|
+ p $debug['direct_trace']
|
|
end
|
|
end
|
|
- p '<a href="exec:killvar ''$call_trace'' & gs ''stat_display''">clear</a> | '
|
|
|
|
- p '<a href="exec:call_trace_shown = 0 & gs ''stat''">return</a></center>'
|
|
|
|
- p $call_trace
|
|
|
|
exit
|
|
exit
|
|
end
|
|
end
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+!! --- STAT_DISPLAY
|
|
if default_status_icons = 0:set_siconht = 54
|
|
if default_status_icons = 0:set_siconht = 54
|
|
if default_wbanner = 0:set_weatherht = 72
|
|
if default_wbanner = 0:set_weatherht = 72
|
|
if default_menu_icons = 0:set_miconht = 54
|
|
if default_menu_icons = 0:set_miconht = 54
|