1#ifndef __DW_FLTKFLATVIEW_HH__
2#define __DW_FLTKFLATVIEW_HH__
20 FltkFlatView (
int x,
int y,
int w,
int h,
const char *label = 0);
31 int hScrollbarThickness,
int vScrollbarThickness);
int translateViewXToCanvasX(int x)
void setViewportSize(int width, int height, int hScrollbarThickness, int vScrollbarThickness)
Set the viewport size.
int translateCanvasXToViewX(int x)
bool usesViewport()
Return, whether this view uses a viewport.
int getHScrollbarThickness()
Get the thickness of the horizontal scrollbar, when it is visible.
int translateViewYToCanvasY(int y)
void setCanvasSize(int width, int ascent, int descent)
Set the canvas size.
int translateCanvasYToViewY(int y)
void scrollTo(int x, int y)
Scroll the vieport to the given position.
int getVScrollbarThickness()
Get the thickness of the vertical scrollbar, when it is visible.
Dw is in this namespace, or sub namespaces of this one.