diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-07 23:13:49 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-07 23:13:49 +0000 |
commit | 61bf7b98c090e3332e9fb469f07ca4c5bf4ca184 (patch) | |
tree | 5e751befbc71ed119c0a91753f91a405fc173f8e /loader/windows.c | |
parent | 7a580c898db8aad8e8619d562b453436df47cb7e (diff) | |
download | anaconda-61bf7b98c090e3332e9fb469f07ca4c5bf4ca184.tar.gz anaconda-61bf7b98c090e3332e9fb469f07ca4c5bf4ca184.tar.xz anaconda-61bf7b98c090e3332e9fb469f07ca4c5bf4ca184.zip |
remove old loader dir. for referencing, go back to anaconda-8-0-branch
Diffstat (limited to 'loader/windows.c')
-rw-r--r-- | loader/windows.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/loader/windows.c b/loader/windows.c deleted file mode 100644 index 61ca8e7ad..000000000 --- a/loader/windows.c +++ /dev/null @@ -1,48 +0,0 @@ -#include <errno.h> -#include <newt.h> -#include <stdlib.h> -#include <string.h> -#include <stdio.h> -#include <stdarg.h> - -#include "windows.h" -#include "lang.h" - -void winStatus(int width, int height, char * title, - char * text, ...) { - newtComponent t, f; - char * buf = NULL; - int size = 0; - int i = 0; - va_list args; - - va_start(args, text); - - do { - size += 1000; - if (buf) free(buf); - buf = malloc(size); - i = vsnprintf(buf, size, text, args); - } while (i == size); - - va_end(args); - - newtCenteredWindow(width, height, title); - - t = newtTextbox(1, 1, width - 2, height - 2, NEWT_TEXTBOX_WRAP); - newtTextboxSetText(t, buf); - f = newtForm(NULL, NULL, 0); - - free(buf); - - newtFormAddComponent(f, t); - - newtDrawForm(f); - newtRefresh(); - newtFormDestroy(f); -} - -void scsiWindow(const char * driver) { - winStatus(40, 3, _("Loading SCSI driver"), - _("Loading %s driver..."), driver); -} |