docview.h File Reference

(r1785/r1718)

#include "view.h"
#include "ccmaths.h"
#include "rect.h"
#include "doccoord.h"
#include "binds.h"
#include "clikmods.h"
#include "ops.h"
#include "monotime.h"
#include "oilcoord.h"
#include "quality.h"
#include "docvmsg.h"
#include "dragtrgt.h"
#include "cursor.h"
#include "snap.h"

Go to the source code of this file.

Classes

class  PendingRedraws
 Encapsulates a set of regions in a DocView, which must be accumulated in order for them to be redrawn at some point, possibly all in one go. This class chooses the most efficient invalidation method, according to the number and nature of regions added. More...
class  DocView
 The DocView class is used to hold non-oil data about views onto a document. When a CCamView object exists there is always a DocView object on the other side of the OIL- interface and they are linked. However, the DocView object is not destroyed when the CCamView object is destroyed so that it records the state of views while they are closed. More...
struct  DocView::CCAPI
class  OpToggleFore
 This class represents the ToggleFore operation. Creating an instance of this class and calling its "Do" function will toggle the state of the flag controlling whether any RenderRegions created by the current DocView will be submitted to the background rendering system or not. More...
class  OpToggleScroll
 This class represents the ToggleScroll operation. Creating an instance of this class and calling its "Do" function will change the state of the BOOL which determines whether standard Window scroll bars or RISCOS-like proportional scroll bars are used. More...
class  OpToggleSolidDrag
 This class represents the OpToggleSolidDrag operation. Creating an instance of this class and calling its "Do" function will toggle the state of the flag controlling whether double buffering is used for rendering on GTK. More...

Defines

#define OPTOKEN_TOGGLESOLIDDRAG   TEXT("ToggleSolidDrag")
#define OPTOKEN_TOGGLEFORE   TEXT("ToggleForeBack")
#define OPTOKEN_TOGGLESCROLL   TEXT("ToggleScrollBars")

Enumerations

enum  OnTopCode {
  Normal = 0, UnclippedEOR = 1, UnclippedXOR = 1, ClippedEOR = 2,
  ClippedXOR = 2, CLICKBITMAP, COLOURBITMAP
}


Define Documentation

#define OPTOKEN_TOGGLEFORE   TEXT("ToggleForeBack")
 

Definition at line 627 of file docview.h.

#define OPTOKEN_TOGGLESCROLL   TEXT("ToggleScrollBars")
 

Definition at line 628 of file docview.h.

#define OPTOKEN_TOGGLESOLIDDRAG   TEXT("ToggleSolidDrag")
 

Definition at line 125 of file docview.h.


Enumeration Type Documentation

enum OnTopCode
 

Enumerator:
Normal 
UnclippedEOR 
UnclippedXOR 
ClippedEOR 
ClippedXOR 
CLICKBITMAP 
COLOURBITMAP 

Definition at line 148 of file docview.h.

00149 {
00150     Normal = 0,             // do normal rendering
00151     UnclippedEOR = 1,       // Do EOR rendering
00152     UnclippedXOR = 1,       // Do EOR rendering
00153     ClippedEOR = 2,         // Do EOR rendering clipped to the spread
00154     ClippedXOR = 2,         // Do EOR rendering clipped to the spread
00155     CLICKBITMAP,            // render into a colour bitmap for click detection
00156     COLOURBITMAP            // render into a colour bitmap
00157 };


Generated on Sat Nov 10 03:49:08 2007 for Camelot by  doxygen 1.4.4