class axl::gui::WidgetDriver

#include <axl_gui_Widget.h>

class WidgetDriver: public axl::gui::GuiItem
{
public:
    // fields

    Size m_size;
    WidgetScrollBar m_scrollBarArray[2];

    // methods

    void*
    getEngineWidget();

    Font*
    getFont();

    bool
    setFont(Font* font);

    ColorAttr
    getColorAttr();

    bool
    setColorAttr(
        uint_t foreColor,
        uint_t backColor
        );

    bool
    setColorAttr(const ColorAttr& attr);

    Palette
    getPalette();

    bool
    setPalette(
        const uint_t* colorArray,
        size_t count
        );

    bool
    setPalette(const Palette& palette);

    bool
    redraw(
        int left,
        int top,
        int right,
        int bottom
        );

    bool
    redraw(const Rect& rect);

    bool
    redraw();

    bool
    redrawImmediate(
        int left,
        int top,
        int right,
        int bottom
        );

    bool
    redrawImmediate(const Rect& rect);

    bool
    redrawImmediate();

    bool
    scroll(
        int dx,
        int dy
        );

    bool
    scrollRect(
        int left,
        int top,
        int right,
        int bottom,
        int dx,
        int dy
        );

    bool
    scrollRect(
        const Rect& rect,
        int dx,
        int dy
        );

    bool
    scrollRect(
        int dx,
        int dy
        );

    bool
    isFocused();

    bool
    setFocus();

    Cursor*
    getCursor();

    bool
    setCursor(Cursor* cursor);

    bool
    setMouseCapture();

    bool
    releaseMouseCapture();

    bool
    isCaretVisible();

    bool
    setCaretVisible(bool isVisible);

    Size
    getCaretSize();

    bool
    setCaretWidth(uint_t width);

    bool
    setCaretHeight(uint_t height);

    bool
    setCaretSize(
        uint_t width,
        uint_t height
        );

    bool
    setCaretSize(const Size& size);

    Point
    getCaretPos();

    bool
    setCaretPos(
        int x,
        int y
        );

    bool
    setCaretPos(const Point& point);

    bool
    scheduleToolTipMsg(uint_t timeout = 0);

    bool
    cancelToolTipMsg();

    bool
    showToolTip(
        int x,
        int y,
        const sl::StringRef& toolTip
        );

    bool
    showToolTip(
        const Point& point,
        const sl::StringRef& toolTip
        );

    bool
    hideToolTip();

    bool
    updateScrollBar(Orientation orientation);

    bool
    updateScrollBars();

    bool
    updateScrollBars(uint_t mask);

    void
    notify(
        uint_t code,
        const void* params = NULL
        );

    bool
    postThreadMsg(
        uint_t code,
        const rc::Ptr<void>& params
        );

    bool
    postThreadMsg(
        uint_t code,
        const void* params,
        size_t size
        );

    bool
    postThreadMsg(
        uint_t code,
        uintptr_t param
        );

    bool
    postThreadMsg(uint_t code);

    bool
    startAnimation();

    void
    stopAnimation();

    bool
    checkMsgMap(WidgetMsgCode msgCode);

    void
    processMsg(
        const WidgetMsg* msg,
        bool* isHandled
        );
};

Inherited Members

public:
    // methods

    Engine*
    getEngine();