diff --git a/boot.config b/boot.config index d20ecf4..be5079a 100644 --- a/boot.config +++ b/boot.config @@ -18,7 +18,6 @@ %% include dia_video.inc %% include dia_splash.inc %% include dia_lang.inc -%% include dia_dud.inc %% include dia_help.inc %% include dia_profile.inc %% include dia_install.inc diff --git a/common.inc b/common.inc index fa17067..63e60f8 100644 --- a/common.inc +++ b/common.inc @@ -361,10 +361,6 @@ } if - do_driverupdate { - "dud=1 " bc.cmd dup length add sprintf - } if - % add splash only if an entry already exists % bc.cmd "splash" bootopt.find dup .undef ne { % % remove existing entry @@ -1159,11 +1155,6 @@ /ms.up { 0 480 } def /ms.down { 23 480 } def - /update.pos { - clip.size pop txt_dud_ready strsize pop sub 20 sub - clip.size exch pop 75 sub - } def - } def diff --git a/dia_dud.inc b/dia_dud.inc deleted file mode 100644 index 0b51345..0000000 --- a/dia_dud.inc +++ /dev/null @@ -1,66 +0,0 @@ -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% -% Driver update dialog. -% -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% Show driver update. -% -% ( ) => ( ) -% -/dud.redraw { - update.pos exch pop 0 exch moveto currentpoint - txt_dud_ready strsize 7 add exch pop clip.size pop exch - image - - do_driverupdate { - currentfont - font.normal setfont - update.pos moveto 8 3 rmoveto txt_dud_ready - lightblue setcolor show - setfont - } if -} def - -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% Toggle driver update. -% -% ( ) => ( ) -% -/panel.dud { - do_driverupdate .undef eq { - /do_driverupdate 1 def - } { - /do_driverupdate .undef def - } ifelse - - dud.redraw - - "driverupdate" help.setcontext -} def - - -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% Return width of driver update entry. -% -% ( ) => ( width ) -% -/panel.dud.width { - txt_driver_update strsize pop -} def - - -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% Redraw panel entry. -% -% ( panel ) => ( ) -% -/panel.dud.update { - panel.text.moveto - - txt_driver_update show -} def - - diff --git a/install.config b/install.config index f5392f4..fc8a874 100644 --- a/install.config +++ b/install.config @@ -15,7 +15,6 @@ %% include dia_video.inc %% include dia_splash.inc %% include dia_lang.inc -%% include dia_dud.inc %% include dia_help.inc %% include dia_profile.inc %% include dia_install.inc diff --git a/main.inc b/main.inc index 475fcbc..ef445f7 100644 --- a/main.inc +++ b/main.inc @@ -52,8 +52,6 @@ /keepbootoptions .undef def panel.show - - dud.redraw } def diff --git a/panel.inc b/panel.inc index 584c1a5..5707abb 100644 --- a/panel.inc +++ b/panel.inc @@ -47,7 +47,6 @@ [ keyF2 0 "F2" /panel.lang /panel.lang.width /panel.lang.update /lang.init ] [ keyF3 0 "F3" /panel.video /panel.video.width /panel.video.update /video.init ] [ keyF4 0 "F4" /panel.install /panel.install.width /panel.install.update /install.init ] - [ keyF5 0 "F5" /panel.dud /panel.dud.width /panel.dud.update .undef ] 32+64bit_source { 64bit {