~ubuntu-branches/ubuntu/edgy/tilp/edgy

« back to all changes in this revision

Viewing changes to src/tilp_calcs.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2005-05-28 23:54:52 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050528235452-br4cpfaxs90ujlbi
Tags: 6.79-1
* New upstream release.
* Updated build-depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Hey EMACS -*- linux-c -*- */
2
 
/* $Id: tilp_calcs.c 804 2004-10-04 09:06:59Z roms $ */
 
2
/* $Id: tilp_calcs.c 865 2005-02-28 10:31:18Z roms $ */
3
3
 
4
4
/*  tilp - Ti Linking Program
5
5
 *  Copyright (C) 1999-2004  Romain Lievin
290
290
                break;
291
291
        case CALC_TI83P:
292
292
        case CALC_TI84P:
293
 
                ret = gif->msg_box4(_("Information"), _
294
 
                                    ("1: TiLP will automatically transfer the ROM dumping program\n2: but, it will wait for you to manually launch it from the calculator (either by the shell, either by typing 'Asm(DUMPROM)'.\nThanks to Benjamin Moody for the ROM dumper !"));
 
293
                ret = gif->msg_box4(_("Information"), 
 
294
                                    _("1: TiLP will automatically transfer the ROM dumping program\n2: but, it will wait for you to manually launch it from the calculator (either by the shell, either by typing 'Asm(prgmROMDUMP)'.\nThanks to Benjamin Moody for the ROM dumper !"));
295
295
                if (ret == BUTTON1)
296
 
                        return do_rom_dump(0);
297
 
 
 
296
                {
 
297
                        ret = gif->msg_box3(_("Question"), _("Is your calculator model a SilverEdition ?"), _("Yes"), _("No"), _("Cancel"));
 
298
                        if(ret == 3)
 
299
                                return -1;
 
300
                        else
 
301
                                return do_rom_dump((ret == BUTTON1) ? ROM_SE : 0);
 
302
                }
298
303
                else
299
304
                        return -1;
300
305
                break;
420
425
        case CALC_TI73:
421
426
        case CALC_TI82:
422
427
        case CALC_TI83:
423
 
        case CALC_TI83P:
 
428
        case CALC_TI83P:
 
429
        case CALC_TI84P:
424
430
        case CALC_TI85:
425
431
        case CALC_TI92:
426
432
                gif->create_pbar_type3(_("Flash"));
427
433
                break;
428
 
        case CALC_TI89:
 
434
        case CALC_TI89:
 
435
        case CALC_TI89T:
429
436
        case CALC_TI92P:
430
437
        case CALC_V200:
431
438
                gif->create_pbar_type5(_("Flash"), "");