/*
 *  Guitar-ZyX(tm)::MasterControlProgram - portable guitar F/X controller
 *  Copyright (C) 2009  Douglas McClendon
 *
 *  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, version 3 of the License.
 *
 *  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, see <http://www.gnu.org/licenses/>.
*/
/*
#############################################################################
#############################################################################
# 
# gzmcpc::mode__get_update: mode__get_update header file
#
#############################################################################
##
## Copyright 2008-2009 Douglas McClendon <dmc AT filteredperception DOT org>
##
#############################################################################
#############################################################################
#
*/

#ifndef _NDS_CLIENT_MODE__GET_UPDATE_H
#define _NDS_CLIENT_MODE__GET_UPDATE_H



#define GET_UPDATE__TOP_BG_FADE_IN_START_MS 0
#define GET_UPDATE__TOP_BG_FADE_IN_DURATION_MS 1000
#define GET_UPDATE__TOP_BG_HOLD_DURATION_MS 2500
#define GET_UPDATE__TOP_BG_FADE_OUT_DURATION_MS 1000

#define GET_UPDATE__BOT_BG_FADE_IN_START_MS 0
#define GET_UPDATE__BOT_BG_FADE_IN_DURATION_MS 1000
#define GET_UPDATE__BOT_BG_HOLD_DURATION_MS 2500
#define GET_UPDATE__BOT_BG_FADE_OUT_DURATION_MS 1000

#define GET_UPDATE__BOT_TXT_FADE_IN_START_MS 1000
#define GET_UPDATE__BOT_TXT_FADE_IN_DURATION_MS 500
#define GET_UPDATE__BOT_TXT_HOLD_DURATION_MS 1500
#define GET_UPDATE__BOT_TXT_FADE_OUT_DURATION_MS 500

#define UPD_RD_BUF_SZ 1024











void mode__get_update___init(void);
void mode__get_update___top_renderer(void);
void mode__get_update___bot_renderer(void);
void mode__get_update___input_handler(void);
void mode__get_update___idle(void);
void mode__get_update___exit(void);



extern int overwrite_self_with_update;


#endif // _NDS_CLIENT_MODE__GET_UPDATE_H

