|
Public Member Functions |
| FXRulerView (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) |
virtual FXint | getViewportHeight () |
virtual FXint | getViewportWidth () |
virtual FXint | getContentWidth () |
virtual FXint | getContentHeight () |
virtual void | layout () |
FXRuler * | horizontalRuler () const |
FXRuler * | verticalRuler () const |
FXint | getDocumentX () const |
FXint | getDocumentY () const |
void | setDocumentWidth (FXint w, FXbool notify=FALSE) |
FXint | getDocumentWidth () const |
void | setDocumentHeight (FXint h, FXbool notify=FALSE) |
FXint | getDocumentHeight () const |
void | setDocumentColor (FXColor clr) |
FXColor | getDocumentColor () const |
void | setHEdgeSpacing (FXint es, FXbool notify=FALSE) |
void | setVEdgeSpacing (FXint es, FXbool notify=FALSE) |
FXint | getHEdgeSpacing () const |
FXint | getVEdgeSpacing () const |
void | setHMarginLower (FXint marg, FXbool notify=FALSE) |
void | setHMarginUpper (FXint marg, FXbool notify=FALSE) |
FXint | getHMarginLower () const |
FXint | getHMarginUpper () const |
void | setVMarginLower (FXint marg, FXbool notify=FALSE) |
void | setVMarginUpper (FXint marg, FXbool notify=FALSE) |
FXint | getVMarginLower () const |
FXint | getVMarginUpper () const |
void | setHAlignment (FXuint align, FXbool notify=FALSE) |
FXuint | getHAlignment () const |
void | setVAlignment (FXuint align, FXbool notify=FALSE) |
FXuint | getVAlignment () const |
void | setArrowPosX (FXint x) |
void | setArrowPosY (FXint y) |
FXint | getArrowPosX () const |
FXint | getArrowPosY () const |
void | setHRulerFont (FXFont *fnt, FXbool notify=FALSE) |
FXFont * | getHRulerFont () const |
void | setVRulerFont (FXFont *fnt, FXbool notify=FALSE) |
FXFont * | getVRulerFont () const |
void | setHNumberTicks (FXint ticks, FXbool notify=FALSE) |
void | setVNumberTicks (FXint ticks, FXbool notify=FALSE) |
FXint | getHNumberTicks () const |
FXint | getVNumberTicks () const |
void | setHMajorTicks (FXint ticks, FXbool notify=FALSE) |
void | setVMajorTicks (FXint ticks, FXbool notify=FALSE) |
FXint | getHMajorTicks () const |
FXint | getVMajorTicks () const |
void | setHMediumTicks (FXint ticks, FXbool notify=FALSE) |
void | setVMediumTicks (FXint ticks, FXbool notify=FALSE) |
FXint | getHMediumTicks () const |
FXint | getVMediumTicks () const |
void | setHTinyTicks (FXint ticks, FXbool notify=FALSE) |
void | setVTinyTicks (FXint ticks, FXbool notify=FALSE) |
FXint | getHTinyTicks () const |
FXint | getVTinyTicks () const |
void | setHPixelPerTick (FXdouble space, FXbool notify=FALSE) |
void | setVPixelPerTick (FXdouble space, FXbool notify=FALSE) |
FXdouble | getHPixelPerTick () const |
FXdouble | getVPixelPerTick () const |
void | setHRulerStyle (FXuint style) |
void | setVRulerStyle (FXuint style) |
FXuint | getHRulerStyle () const |
FXuint | getVRulerStyle () const |
void | setHelpText (const FXString &text) |
const FXString & | getHelpText () const |
void | setTipText (const FXString &text) |
const FXString & | getTipText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXRulerView () |
It is intended to be subclassed in order to draw actual contents and provide editing behavior for the document. The ruler view itself simply manages the geometry of the document being edited, and coordinates the movement of the ruler displays as the document is being scrolled.