home *** CD-ROM | disk | FTP | other *** search
- start main
-
- ; NOTE: This file needs LSETUP >= v1.4 !!!
-
-
-
- ;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ;@@@@@@@@@@@@@@@@@@@@@@@ CONFIGURATION @@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-
- ; +---- normattrib
- ; | +-- inversattrib
- ; | | +-- highlightattrib
- ; | | | +-- frameattrib
- ;colors (0x0f, 0x6f, 0x10, 0x07, 0x07, 0x70, 0x0f, 0x07) ; standard set, black background
- ; the same for MDA---^-----^-----^-----^
- colors (0x70, 0x0e, 0x0e, 0x70, 0x07, 0x70, 0x0f, 0x07) ; light background, a little color
- ;colors (0x70, 0x0f, 0xf0, 0x7f, 0x07, 0x70, 0x0f, 0x07) ; light background, no color
- ;colors (0x07, 0x70, 0x0f, 0x07, 0x07, 0x70, 0x0f, 0x07) ; for MDA, Hercules
-
-
- ;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ;@@@@@@@@@@@@@@@@@@@@@@@@@ MENU PART @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- ;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
- lang_defines: string {"-DGERMAN\n-DENGLISH\n-DSPANISH\n-DFRENCH\n-DINDONESIA\n-DITALIAN\n-DHUNGARIA\n-DDUTCH\n-DPOLISH\n-DPORTUGUESE\n-DBRAZIL\n-DRUSSIA"}
- lang_choicetx: string {"Deutsch\nEnglish\nEspanol\nFrançais\nIndonesia\nItaliano\nMagyar\nNederlands\nPolish\nPortuguese\nPortuguese Brazil\nRussian"}
-
- ;===========================================================================
-
- main_log_colum: string {"40"}
-
- main: menu (0,0,80,3,0) {
- image {
- "SuSE Linux Setup Copyright 1994-1999 SuSE GmbH"
- }
- action {
- show ( main2 )
- }
- }
-
- ; Main window body
-
- main2: menu (0,2,80,25-2,1) {
-
- image { "" }
-
- action {
- set buttontextlist = lang_choicetx
- show ( big_empty_menu,
- " Bitte wählen Sie die Sprache für Setup\n"
- " Please choose the language for setup\n"
- " Prego scegliete una lingua\n"
- " Choisissez votre langue pour Setup"
- , button_ask
- )
- call strcpyitem(work1, lang_defines , buttonresult)
- ; call strprefix(work1,"-v ")
- #ifdef LOADLIN_TEST
- call strcat(work1," -DLOADLIN_TEST")
- #endif
- #ifdef FINAL_TEST
- call strcat(work1," -DFINAL_TEST")
- #endif
- #ifdef LOADLIN_EXE_TEST
- call strcat(work1," -DLOADLIN_EXE_TEST")
- #endif
- call existfile("c:/loadlin/susesave.mnu");
- iftrue strcat(work1," -DSUSE_SAVE")
- ; call exit(work1)
- call restart_myself(work1,"setup/setupprg.mnu")
- }
- }
-
-
- ;-----------------
- big_empty_menu: menu (10,3, 80-2*10, 25-2*2,0) {
- image { "" }
- }
-
-
- ;-----------------
- #ifdef USE_LANGUAGE_BUTTONS
-
- button_ask: function {
- ; uses the string buttontextlist as input
- ; and returns the selected item number in
- call buttons(buttontextlist)
- iffalse cancelinstall(0)
- set buttonresult = __lastresult__
- }
-
- #else
-
- scroll_result: string
-
- scroll_window: menu (40-10, 25-2*8, 2*10, 14, 0) {
- image { "" }
- action {
- call scrollbar (scroll_result, buttontextlist, 1)
- iffalse cancelinstall(0)
- set buttonresult = __lastresult__
- }
- }
-
- button_ask: function {
- show ( scroll_window )
- }
- #endif
-
- ;-----------------
- cancelinstall: function {
-
- #ifdef TESTING
- show (debug_stop,nextjob)
- #endif
- call exit(cancelmesg)
- }
-
-
- ; params for button menues:
- buttontextlist: string
- buttonresult: string
-
- ; some work string definitions
- cancelmesg: string { "Sie haben die Installation abgebrochen!\n"
- "You have canceled the installation!" }
- work1: string
-
-