27 #ifndef FXSCROLLAREA_H
253 void setTipText(
const FXString& text){ tip=text; }
256 const FXString&
getTipText()
const {
return tip; }
259 virtual void save(FXStream& store)
const;
262 virtual void load(FXStream& store);
void setDocumentColor(FXColor clr)
Set the current document color.
void setDocumentHeight(FXint h, FXbool notify=FALSE)
Set document height.
void setHPixelPerTick(FXdouble space, FXbool notify=FALSE)
Change pixel per tick spacing.
FXint getHEdgeSpacing() const
Return edge spacing.
void setVRulerFont(FXFont *fnt, FXbool notify=FALSE)
Set the vertical ruler font.
FXint getHNumberTicks() const
Return document number placement.
The ruler widget is placed alongside a document to measure position and size of entities within the d...
Definition: FXRuler.h:85
FXint getDocumentY() const
Get document position Y.
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:396
FXint getVNumberTicks() const
FXint getArrowPosX() const
Get X arrow position in document.
FXint getHMediumTicks() const
Return document medium ticks.
FXuint FXSelector
Association key.
Definition: FXObject.h:53
void setHelpText(const FXString &text)
Set the status line help text for the ruler view.
Definition: FXRulerView.h:227
virtual FXint getViewportHeight()
Return viewport height.
void setHNumberTicks(FXint ticks, FXbool notify=FALSE)
Change document number placement.
void setArrowPosY(FXint y)
Set X arrow position, relative to document position.
FXuchar FXbool
Definition: fxdefs.h:393
FXuint getVAlignment() const
Return vertical alignment.
The Ruler View provides viewing of a document with rulers.
Definition: FXRulerView.h:47
virtual FXint getViewportWidth()
Return viewport width.
Base composite.
Definition: FXComposite.h:35
FXuint getHAlignment() const
Return horizontal alignment.
void setVMarginUpper(FXint marg, FXbool notify=FALSE)
Change vertical upper margin.
FXint getHMarginUpper() const
Get horizontal upper margin.
#define NULL
Definition: fxdefs.h:41
FXint getDocumentX() const
Get document position X.
FXdouble getVPixelPerTick() const
void setHMajorTicks(FXint ticks, FXbool notify=FALSE)
Change document major ticks.
FXuint FXColor
Definition: fxdefs.h:454
void setVRulerStyle(FXuint style)
FXint getHTinyTicks() const
Return document tiny ticks.
FXRulerView(FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
Construct a rulerview window.
FXFont * getVRulerFont() const
Get the vertical ruler font.
virtual FXint getContentWidth()
Return content width.
FXColor getDocumentColor() const
Get the current document color.
Definition: FXRulerView.h:108
FXFont * getHRulerFont() const
Get the horizontal ruler font.
virtual void load(FXStream &store)
Load list from a stream.
void setHMarginUpper(FXint marg, FXbool notify=FALSE)
Change horizontal upper margin.
const FXString & getTipText() const
Get the tool tip message for the ruler view.
Definition: FXRulerView.h:236
void setHRulerFont(FXFont *fnt, FXbool notify=FALSE)
Set the horizontal ruler font.
void setHAlignment(FXuint align, FXbool notify=FALSE)
Set horizontal alignment; the default is RULER_ALIGN_NORMAL.
FXint getVTinyTicks() const
double FXdouble
Definition: fxdefs.h:399
FXint getDocumentHeight() const
Get document height.
void setVAlignment(FXuint align, FXbool notify=FALSE)
Set vertical alignment; the default is RULER_ALIGN_NORMAL.
void setHMarginLower(FXint marg, FXbool notify=FALSE)
Change horizontal lower margin.
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
void setVEdgeSpacing(FXint es, FXbool notify=FALSE)
FXuint getVRulerStyle() const
FXint getVMarginLower() const
Get vertical lower margin.
void setVMediumTicks(FXint ticks, FXbool notify=FALSE)
void setHTinyTicks(FXint ticks, FXbool notify=FALSE)
Change document tiny ticks.
void setVMarginLower(FXint marg, FXbool notify=FALSE)
Change vertical lower margin.
FXint getVMajorTicks() const
void setHEdgeSpacing(FXint es, FXbool notify=FALSE)
Change edge spacing around document.
void setTipText(const FXString &text)
Set the tool tip message for the ruler view.
Definition: FXRulerView.h:233
#define FALSE
Definition: fxdefs.h:35
FXint getHMarginLower() const
Get horizontal lower margin.
void setVMajorTicks(FXint ticks, FXbool notify=FALSE)
FXint getVEdgeSpacing() const
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
void setVNumberTicks(FXint ticks, FXbool notify=FALSE)
Window Device Context.
Definition: FXDCWindow.h:52
void setHRulerStyle(FXuint style)
Set ruler style.
virtual void layout()
Perform layout.
void setDocumentWidth(FXint w, FXbool notify=FALSE)
Set document width.
FXint getVMediumTicks() const
FXRuler * verticalRuler() const
Return a pointer to the vertical ruler.
Definition: FXRulerView.h:84
void setHMediumTicks(FXint ticks, FXbool notify=FALSE)
Change document medium ticks.
void setArrowPosX(FXint x)
Set X arrow position, relative to document position.
FXRuler * horizontalRuler() const
Return a pointer to the horizontal ruler.
Definition: FXRulerView.h:81
const FXString & getHelpText() const
Get the status line help text for the ruler view.
Definition: FXRulerView.h:230
virtual void save(FXStream &store) const
Save list to a stream.
FXdouble getHPixelPerTick() const
Return pixel per tick spacing.
FXint getDocumentWidth() const
Get document width.
void setVTinyTicks(FXint ticks, FXbool notify=FALSE)
FXint getArrowPosY() const
Get Y arrow position in document.
FXint getHMajorTicks() const
Return document major ticks.
FXuint getHRulerStyle() const
Get ruler style.
Font class.
Definition: FXFont.h:142
FXint getVMarginUpper() const
Get vertical upper margin.
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
virtual FXint getContentHeight()
Return content height.
virtual ~FXRulerView()
Destroy.
void setVPixelPerTick(FXdouble space, FXbool notify=FALSE)
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33