iowa.h

Go to the documentation of this file.
00001 
00002 /*  $Id: iowa.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #define iowainclude
00029 
00030 
00031 #ifndef appletpopupinclude
00032 
00033     #include <appletpopup.h>
00034     
00035 #endif
00036 
00037 #ifndef iowacoreinclude
00038 
00039     #include "iowacore.h"
00040 
00041 #endif
00042 
00043 #ifndef iowaruntimeinclude
00044 
00045     #include "iowaruntime.h"
00046 
00047 #endif
00048 
00049 #ifndef iowaprefsinclude
00050 
00051     #include "iowaprefs.h"
00052 
00053 #endif
00054 
00055 
00056 typedef struct tyeditinfo { /*linked into refcon field of card record*/
00057 
00058     short mode; /*indicates which palette item is selected*/
00059     
00060     typopuprecord stylingpopup;
00061     
00062     short stylingarrowmode;
00063     
00064     Rect rname, rscript, rcolorpopup, rpopup; /*rectangles for object name, linked script, popups*/
00065     
00066     boolean flnameempty, flscriptempty; /*used to optimize display of edit rectangles*/
00067     
00068     boolean flstatusbaredit;
00069     
00070     hdlobject hobjectinstatusbar;
00071     
00072     boolean fleditname;
00073     
00074     Rect redit;
00075     
00076     hdleditrecord heditbuffer;
00077     
00078     boolean initcalculatedobjects;
00079     
00080     Point lastclickpoint;
00081     
00082     boolean flnubonborder;
00083     } tyeditinfo, **hdleditinfo;
00084     
00085 
00086 #undef flstatusbar /*DW 12/4/93 -- I'm turning off the status bar*/
00087 
00088 #define crosshaircursor 500
00089 
00090 #define nubsize 5 /*the size of the nub box on a selected object*/
00091 
00092 #define vertdamagecontrol /*doctitlebarheight*/0
00093 
00094 #define draggingpix 3 /*distance to initiate drag*/
00095 #define draggingticks 10 /*time before drag initiation*/
00096 
00097 
00098 #define undocutstring 4 /*first app-specific slot in undo stringlist*/
00099 #define undocopystring 5
00100 #define undopastestring 6
00101 #define undoclearstring 7
00102 #define undotypingstring 8
00103 #define undomovestring 9
00104 #define undocleanstring 10
00105 #define undoalignstring 11
00106 #define undoresizestring 12
00107 #define undodeletionstring 13
00108 #define undoformatstring 14
00109 #define undogroupstring 15
00110 #define undoungroupstring 16
00111 
00112 
00113 
00114 boolean packlist (hdlobject firstobject, Handle hpacked);
00115 
00116 void disposeobject (hdlobject h);
00117 
00118 boolean inselection (hdlobject x);
00119 
00120 boolean editobjectdialog (tyobject *);
00121     
00122 void madechanges (void);
00123 
00124 void selectiondirty (void);
00125 
00126 void putchildobjectlist (hdlobject, hdlobject);
00127 
00128 boolean newobject (tyobject, hdlobject *);
00129 
00130 boolean newgroupobject (hdlobject *);
00131 
00132 boolean getnthsortedobject (short, hdlobject *);
00133 
00134 boolean nothingselected (void);
00135 
00136 void makeselectionempty (void);
00137 
00138 void makefrontobject (hdlobject);
00139 
00140 void sendobjecttoback (hdlobject);
00141 
00142 void addtoselection (hdlobject);
00143 
00144 boolean visitselectedobjects (tyobjectvisitroutine);
00145 
00146 boolean flatvisitselectedobjects (tyobjectvisitroutine);
00147 
00148 boolean firstselectedobject (hdlobject *);
00149 
00150 boolean caneditobjecttext (hdlobject);
00151 
00152 hdlobject findeditableobject (void);
00153 
00154 boolean alignselectedobjects (tydirection);
00155 
00156 boolean groupselectedobjects (void);
00157 
00158 boolean ungroupselectedobjects (void);
00159 
00160 boolean iowaiacmessage (void);
00161 
00162 boolean iowafastiacmessage (void);
00163 
00164 boolean getsingleselectedobject (hdlobject *);
00165 
00166 hdleditrecord getanyactiveeditrecord (void);
00167 
00168 void setselectionto (hdlobject);
00169 
00170 void drawselectionframe (hdlobject, Rect, boolean);
00171 
00172 boolean pointinnub (hdlobject, Point);
00173 
00174 void invalnub (hdlobject);
00175 
00176 boolean iowaedittable (void);
00177 
00178 boolean setcardsize (short, short);
00179 
00180 void zapcardwindow (void);
00181 
00182 void enterarrowmode (void);

Generated on Wed May 31 18:19:49 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6