opdraggingmove.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "kb.h"
#include "mouse.h"
#include "quickdraw.h"
#include "ops.h"
#include "smallicon.h"
#include "strings.h"
#include "shell.rsrc.h"
#include "opdraggingmove.h"
#include "opdisplay.h"
#include "oplineheight.h"
#include "opicons.h"
#include "shellundo.h"

Include dependency graph for opdraggingmove.c:

Go to the source code of this file.

Data Structures

struct  tydraginfo

Defines

#define draggingpix   3
#define draggingticks   30
#define draggingsloppix   10
#define dragginghotspot   (iconstart + 5)
#define hotspotturnedon   true

Typedefs

typedef tydraginfoptrdraginfo

Functions

static boolean opredocopy (hdlheadrecord hnode, boolean flundo)
static short oppointlevel (Point pt)
static boolean oppointaboveline1 (Point pt)
void operasehotspot (tyhotspot *hotspot)
static void opdrawhotspot (tyhotspot *hotspot)
static boolean isundermark (hdlheadrecord htarget, tydirection dir)
static void opupdatehotspot (Point ptstart, Point pt, tyhotspot *hotspot)
static boolean opundocopy (hdlheadrecord hnode, boolean flundo)
static boolean movetohotspotvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opmovetohotspot (tyhotspot *hotspot)
void opscrollfordrag (tyhotspot *hotspot, tydirection scrolldir)
boolean opisdraggingmove (Point ptorig, unsigned long origticks)
void opdraggingmove (Point ptstart, hdlheadrecord hsource)

Variables

static hdlheadrecord hfirstmoved


Define Documentation

#define dragginghotspot   (iconstart + 5)
 

Definition at line 54 of file opdraggingmove.c.

Referenced by oppointlevel().

#define draggingpix   3
 

Definition at line 48 of file opdraggingmove.c.

#define draggingsloppix   10
 

Definition at line 52 of file opdraggingmove.c.

Referenced by oppointlevel().

#define draggingticks   30
 

Definition at line 50 of file opdraggingmove.c.

#define hotspotturnedon   true
 

Definition at line 56 of file opdraggingmove.c.


Typedef Documentation

typedef struct tydraginfo * ptrdraginfo
 


Function Documentation

static boolean isundermark hdlheadrecord  htarget,
tydirection  dir
[static]
 

Definition at line 160 of file opdraggingmove.c.

References left, opgetmark(), and opnavigate().

Referenced by opupdatehotspot().

Here is the call graph for this function:

static boolean movetohotspotvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 378 of file opdraggingmove.c.

References down, h, hfirstmoved, tydraginfo::hnode, hnode, nil, opcopyoutline(), opdeposit(), oppushundo(), oppushunmarkundo(), opresetlevels(), opundocopy(), and opunlink().

Referenced by opmovetohotspot().

Here is the call graph for this function:

void opdraggingmove Point  ptstart,
hdlheadrecord  hsource
 

Definition at line 585 of file opdraggingmove.c.

References clearbytes(), Debugger(), draggingscrollrate, getmousepoint(), longsizeof, mousecheckautoscroll(), mousestilldown(), operasehotspot(), opgetwindowhandle(), opmovetohotspot(), opscrollfordrag(), opsetwindowhandlecontext(), opupdatehotspot(), pointinrect(), pt, and STR_move.

Here is the call graph for this function:

static void opdrawhotspot tyhotspot hotspot  )  [static]
 

Definition at line 150 of file opdraggingmove.c.

References opdrawarrowicon().

Referenced by opmovetohotspot(), and opupdatehotspot().

Here is the call graph for this function:

void operasehotspot tyhotspot hotspot  ) 
 

Definition at line 137 of file opdraggingmove.c.

References nodirection, and opdrawarrowicon().

Referenced by opdraggingmove(), opmovetohotspot(), opscrollfordrag(), and opupdatehotspot().

Here is the call graph for this function:

boolean opisdraggingmove Point  ptorig,
unsigned long  origticks
 

Definition at line 575 of file opdraggingmove.c.

References draggingpix, draggingticks, getmousepoint(), and pointdist().

Here is the call graph for this function:

boolean opmovetohotspot tyhotspot hotspot  ) 
 

Definition at line 419 of file opdraggingmove.c.

References delayticks(), tydraginfo::dir, down, hfirstmoved, tydraginfo::hnode, tyhotspot::htarget, movetohotspotvisit(), nil, nodirection, opafterstrucchange(), opbeforestrucchange(), opclearmarks(), opcleartmpbits(), opdrawhotspot(), operasehotspot(), opexpand(), opfastcollapse(), opgetlastsubhead(), ophassubheads(), opmoveto(), opresetscrollbars(), opsetctexpanded(), opsubheadsexpanded(), optionkeydown(), opvisinode(), opvisitmarked(), outlinedata, pushundoaction(), right, and undomovestring.

Referenced by opdraggingmove().

Here is the call graph for this function:

static boolean oppointaboveline1 Point  pt  )  [static]
 

Definition at line 127 of file opdraggingmove.c.

References pt, and r.

Referenced by opupdatehotspot().

static short oppointlevel Point  pt  )  [static]
 

Definition at line 100 of file opdraggingmove.c.

References divround(), dragginghotspot, draggingsloppix, tyoutlinerecord::hsummit, insetrect(), opnodeindent(), outlinedata, pointinrect(), pt, and r.

Referenced by opupdatehotspot().

Here is the call graph for this function:

static boolean opredocopy hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 367 of file opdraggingmove.c.

References hnode, opdisposestructure(), oppushundo(), and opundocopy().

Referenced by opundocopy().

Here is the call graph for this function:

void opscrollfordrag tyhotspot hotspot,
tydirection  scrolldir
 

Definition at line 557 of file opdraggingmove.c.

References tyscrollinfo::cur, down, operasehotspot(), opscroll(), outlinedata, up, and tyoutlinerecord::vertscrollinfo.

Referenced by opdraggingmove().

Here is the call graph for this function:

static boolean opundocopy hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 358 of file opdraggingmove.c.

References hnode, oppushundo(), and opredocopy().

Referenced by movetohotspotvisit(), and opredocopy().

Here is the call graph for this function:

static void opupdatehotspot Point  ptstart,
Point  pt,
tyhotspot hotspot
[static]
 

Definition at line 174 of file opdraggingmove.c.

References down, draggingpix, equalpoints(), tyheadrecord::headlinkdown, tyheadrecord::headlinkright, tyoutlinerecord::hline1, isundermark(), nil, opbumpflatup(), opdrawhotspot(), operasehotspot(), opfirstinlist(), opgetancestor(), opgetscreenline(), oplastexpandedatlevel(), opnodevisible(), opnosubheads(), oppointaboveline1(), oppointlevel(), oppointnode(), opsubordinateto(), outlinedata, pointdist(), pt, right, and up.

Referenced by opdraggingmove().

Here is the call graph for this function:


Variable Documentation

hdlheadrecord hfirstmoved [static]
 

Definition at line 58 of file opdraggingmove.c.

Referenced by movetohotspotvisit(), and opmovetohotspot().


Generated on Thu Jun 8 04:25:34 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6