1 #ifndef __DW_FLTKFLATVIEW_HH__
2 #define __DW_FLTKFLATVIEW_HH__
20 FltkFlatView (
int x,
int y,
int w,
int h,
const char *label = 0);
30 int hScrollbarThickness,
int vScrollbarThickness);
36 #endif // __DW_FLTKFLATVIEW_HH__
int translateViewYToCanvasY(int y)
Definition: fltkflatview.cc:88
void setViewportSize(int width, int height, int hScrollbarThickness, int vScrollbarThickness)
Set the viewport size.
Definition: fltkflatview.cc:77
void setCanvasSize(int width, int ascent, int descent)
Set the canvas size.
Definition: fltkflatview.cc:42
void scrollTo(int x, int y)
Scroll the vieport to the given position.
Definition: fltkflatview.cc:73
int translateCanvasXToViewX(int x)
Definition: fltkflatview.cc:93
int getVScrollbarThickness()
Get the thickness of the vertical scrollbar, when it is visible.
Definition: fltkflatview.cc:68
int translateViewXToCanvasX(int x)
Definition: fltkflatview.cc:83
FltkFlatView(int x, int y, int w, int h, const char *label=0)
Definition: fltkflatview.cc:32
~FltkFlatView()
Definition: fltkflatview.cc:38
int translateCanvasYToViewY(int y)
Definition: fltkflatview.cc:98
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
int getHScrollbarThickness()
Get the thickness of the horizontal scrollbar, when it is visible.
Definition: fltkflatview.cc:63
Definition: fltkflatview.hh:11
bool usesViewport()
Return, whether this view uses a viewport.
Definition: fltkflatview.cc:58