mkicons.h

Go to the documentation of this file.
00001 /* Gxsm - Gnome X Scanning Microscopy
00002  * universal STM/AFM/SARLS/SPALEED/... controlling and
00003  * data analysis software
00004  * 
00005  * Copyright (C) 2003 Percy Zahl 
00006  *
00007  * Authors: Stefan Schroeder and Percy Zahl 
00008  *                                                                                
00009  * WWW Home: http://gxsm.sf.net
00010  *
00011  * This program is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License as published by
00013  * the Free Software Foundation; either version 2 of the License, or
00014  * (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
00023  */
00024 
00025 /*
00026 This file belongs to mkicons.C and helps the mkicons plugin of GXSM.
00027 */
00028 
00029 //#ifndef __XSM_MKICONS_H
00030 //#define __XSM_MKICONS_H
00031 
00032 typedef struct MKICONSPI_OPTIONS{
00033   char *name;
00034   char **list;
00035   char *id;
00036   int  init;
00037 };
00038 
00039 class MkIconsPIData{
00040  public:
00041   MkIconsPIData(gchar *InPath=NULL, gchar *OutPath=NULL, gchar *InMask=NULL, 
00042               gchar *Opt=NULL, gchar *IconName=NULL);
00043   ~MkIconsPIData();
00044 
00045   gchar *pathname;
00046   gchar *outputname;
00047   gchar *name;
00048   gchar *mask;
00049   gchar *options;
00050   int   redres;
00051   int   nix;
00052 };
00053 
00054 //#endif
00055 
00056 void MkIconsPI(MkIconsPIData *mid);
00057 
00058 
00059 
00060 typedef enum { 
00061         MkIconOpt_Paper, MkIconOpt_Resolution, MkIconOpt_EReg, MkIconOpt_LReg, 
00062         MkIconOpt_ViewMode, MkIconOpt_AutoSkl, MkIconOpt_Scaling 
00063 } MkIconOptions ;
00064 
00065 class MkIconsPIControl : public DlgBase{
00066 public:
00067   MkIconsPIControl();
00068   ~MkIconsPIControl();
00069 
00070   void run();
00071 
00072   static void option_choice_callback(GtkWidget *widget, MkIconsPIControl *mki);
00073   void dlg_clicked(gint button_number);
00074 
00075   MkIconsPIData *icondata;
00076 
00077   GtkWidget *SrcPath, *SrcMask, *IconName;
00078   GtkWidget **Options;
00079 
00080 private:
00081 };

Generated on Sat Apr 1 09:04:10 2006 for GXSM by  doxygen 1.4.6