1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

initial commit - needs clean-up

Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
Mirko Lindner
2010-02-04 12:33:47 +01:00
commit cddcd72e33
311 changed files with 59414 additions and 0 deletions

40
src/imagedialog.h Normal file
View File

@@ -0,0 +1,40 @@
/***************************************************************************
* Copyright (C) 2006 by Massimiliano Torromeo *
* massimiliano.torromeo@gmail.com *
* *
* 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 IMAGEDIALOG_H_
#define IMAGEDIALOG_H_
#include <string>
#include "filedialog.h"
using std::string;
using std::vector;
class ImageDialog : public FileDialog {
protected:
SurfaceCollection previews;
public:
ImageDialog(GMenu2X *gmenu2x, string text, string filter="", string file="");
virtual ~ImageDialog();
inline virtual void beforeFileList();
inline virtual void onChangeDir();
};
#endif /*IMAGEDIALOG_H_*/