xsmmasks.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) 1999,2000,2001,2002,2003 Percy Zahl
00006  *
00007  * Authors: Percy Zahl <zahl@users.sf.net>
00008  * additional features: Andreas Klust <klust@users.sf.net>
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  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
00024  */
00025 
00026 /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 8 c-style: "K&R" -*- */
00027 
00028 #ifndef __XSMMASKS_H
00029 #define __XSMMASKS_H
00030 
00031 #define SET_FLAG(X, F) X = (((X)&(~(F))) | (F))
00032 #define CLR_FLAG(X, F) X = ((X)&(~(F)))
00033 
00034 #define VIEW_ZOOM     0x01
00035 #define VIEW_Z400     0x02
00036 #define VIEW_Z600     0x04
00037 #define VIEW_COLOR    0x08
00038 #define VIEW_PALETTE  0x10
00039 #define VIEW_INFO     0x20
00040 #define VIEW_TICKS    0x40
00041 #define VIEW_TOLERANT 0x80
00042 
00043 #define SCAN_V_DIRECT       0x0001
00044 #define SCAN_V_QUICK        0x0002
00045 #define SCAN_V_HORIZONTAL   0x0004
00046 #define SCAN_V_PERIODIC     0x0008
00047 #define SCAN_V_LOG          0x0010
00048 #define SCAN_V_DIFFERENTIAL 0x0020
00049 #define SCAN_V_PLANESUB     0x0040
00050 
00051 #define MODE_LINE      0x01
00052 #define MODE_AUTOSAVE  0x02
00053 #define MODE_SETRANGE  0x04
00054 #define MODE_SETPOINTS 0x08
00055 #define MODE_SETSTEPS  0x10
00056 #define MODE_BZUNIT    0x20
00057 #define MODE_VOLTUNIT  0x40
00058 #define MODE_1DIMSCAN  0x80
00059 #define MODE_2DIMSCAN  0x100
00060 #define MODE_ENERGY_EV 0x200
00061 #define MODE_ENERGY_S  0x400
00062 
00063 #define PRINT_FILE     0x01
00064 #define PRINT_PRINTER  0x02
00065 #define PRINT_FRAME    0x04
00066 #define PRINT_SCALE    0x08
00067 #define PRINT_REGIONS  0x10
00068 
00069 #define FLG_MESS      0x0001
00070 #define DRAW_PRINT    0x0010
00071 
00072 
00073 #endif
00074 
00075 

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