mirror of
https://github.com/suloku/savegame-manager.git
synced 2026-04-16 01:58:51 -05:00
54 lines
1.7 KiB
C
54 lines
1.7 KiB
C
/*
|
|
* savegame_manager: a tool to backup and restore savegames from Nintendo
|
|
* DS cartridges. Nintendo DS and all derivative names are trademarks
|
|
* by Nintendo. EZFlash 3-in-1 is a trademark by EZFlash.
|
|
*
|
|
* display.h: header file for display.cpp
|
|
*
|
|
* Copyright (C) Pokedoc (2010)
|
|
*/
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
* for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef SAVE_DISPLAY_H
|
|
#define SAVE_DISPLAY_H
|
|
|
|
#include <nds/arm9/console.h>
|
|
|
|
|
|
extern PrintConsole upperScreen;
|
|
extern PrintConsole lowerScreen;
|
|
|
|
|
|
void displayInit();
|
|
|
|
void displayPrintUpper();
|
|
void displayPrintLower();
|
|
|
|
void displayMessage(const char *msg);// upper screen
|
|
void displayMessage2(const char *msg, bool warn); // lower screen
|
|
|
|
// ftplib includes this file, and it is pure c, so no operator overloading for now.
|
|
void displayMessageA(int id);// upper screen, string table version
|
|
void displayMessage2A(int id, bool warn); // lower screen, string table version
|
|
|
|
void displayProgressBar(int cur, int max0);
|
|
void displayPrintState(const char *txt);
|
|
|
|
|
|
|
|
#endif
|