parent
2011c6a83e
commit
7046981c72
@ -0,0 +1,50 @@
|
|||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
%
|
||||||
|
% Panel 'more options' entry.
|
||||||
|
%
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
% Show help window.
|
||||||
|
%
|
||||||
|
% ( ) => ( )
|
||||||
|
%
|
||||||
|
/panel.options {
|
||||||
|
boot.show not {
|
||||||
|
/boot.show true def
|
||||||
|
boot.setup
|
||||||
|
|
||||||
|
boot.window .color.fg get setcolor
|
||||||
|
boot.window .ed.font get setfont
|
||||||
|
|
||||||
|
boot.ed 3 get
|
||||||
|
boot.ed over edit.init
|
||||||
|
"" ne { boot.ed ' ' edit.input } if
|
||||||
|
} if
|
||||||
|
|
||||||
|
/window.action actRedraw def
|
||||||
|
} def
|
||||||
|
|
||||||
|
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
% Return width of options entry.
|
||||||
|
%
|
||||||
|
% ( ) => ( width )
|
||||||
|
%
|
||||||
|
/panel.options.width {
|
||||||
|
txt_other_options strsize pop
|
||||||
|
} def
|
||||||
|
|
||||||
|
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
% Redraw panel entry.
|
||||||
|
%
|
||||||
|
% ( panel ) => ( )
|
||||||
|
%
|
||||||
|
/panel.options.update {
|
||||||
|
panel.text.moveto
|
||||||
|
|
||||||
|
txt_other_options show
|
||||||
|
} def
|
||||||
|
|
||||||
|
|
Loading…
Reference in new issue