parent
ec415d7a9f
commit
beb62b5b03
@ -0,0 +1,44 @@
|
||||
/* %Id: Exp $ */
|
||||
/***************************************************************************
|
||||
* gui_config.c
|
||||
*
|
||||
* Copyright (C) 2013 Steffen Pohle
|
||||
* steffen@gulpe.de
|
||||
****************************************************************************/
|
||||
|
||||
/*
|
||||
* 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 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* main.c 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/>.
|
||||
*/
|
||||
|
||||
#include "osmroute.h"
|
||||
#include "draw.h"
|
||||
#include "gui.h"
|
||||
#include "system.h"
|
||||
|
||||
void gui_config_close ();
|
||||
|
||||
GUIWindow wcfg = {0};
|
||||
|
||||
void gui_config_show () {
|
||||
if (wcfg.screen == NULL) gui_window_new (&wcfg, 220, 240, _("Config"));
|
||||
wcfg.callback_close = (void*)gui_config_close;
|
||||
wcfg.screen_changed = 1;
|
||||
wcfg.style = WGUI_S_VCENTER | WGUI_S_HCENTER;
|
||||
};
|
||||
|
||||
|
||||
void gui_config_close () {
|
||||
gui_close ();
|
||||
};
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
/* %Id: Exp $ */
|
||||
/***************************************************************************
|
||||
* gui_selectdir.c
|
||||
*
|
||||
* Copyright (C) 2013 Steffen Pohle
|
||||
* steffen@gulpe.de
|
||||
****************************************************************************/
|
||||
|
||||
/*
|
||||
* 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 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* main.c 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/>.
|
||||
*/
|
||||
|
||||
#include "osmroute.h"
|
||||
#include "draw.h"
|
||||
#include "gui.h"
|
||||
#include "system.h"
|
||||
|
||||
void gui_sdir_close ();
|
||||
|
||||
GUIWindow wsdir = {0};
|
||||
char select_dir[LEN_FILENAME];
|
||||
|
||||
void gui_sdir_show () {
|
||||
if (wsdir.screen == NULL) gui_window_new (&wsdir, 220, 240, _("Select Dir"));
|
||||
wsdir.callback_close = (void*)gui_sdir_close;
|
||||
wsdir.screen_changed = 1;
|
||||
wsdir.style = WGUI_S_VCENTER | WGUI_S_HCENTER;
|
||||
};
|
||||
|
||||
|
||||
void gui_sdir_close () {
|
||||
gui_close ();
|
||||
};
|
||||
|
||||
Loading…
Reference in new issue