Public Member Functions | |
| PagedView (BRect _rect, char *_name, uint32 resizingMode, uint32 flags, page_layout _pageLayout=ONE_COL) | |
| virtual void | AttachedToWindow (void) |
| virtual void | Draw (BRect updateRect) |
| virtual void | MouseDown (BPoint where) |
| virtual void | MouseMoved (BPoint where, uint32 code, const BMessage *a_message) |
| virtual void | MouseUp (BPoint where) |
| virtual void | MessageReceived (BMessage *msg) |
| virtual void | FrameResized (float width, float height) |
| void | SetPageRect (BRect _pageRect) |
| Pass the Rect wich defines the new Size of the Page This Rect must enclose the whole printRect. | |
| void | SetPrintRect (BRect _printRect) |
| Pass the Rect wich defines the new Size of the Printable Rect This Rect must be smaller than the PageRect. | |
Protected Member Functions | |
| void | Init (void) |
| void | DrawPages (BRect) |
| void | CalculatePages (void) |
Protected Attributes | |
| BBitmap * | renderBitmap |
| BView * | drawView |
| PagedView::PagedView | ( | BRect | _rect, | |
| char * | _name, | |||
| uint32 | resizingMode, | |||
| uint32 | flags, | |||
| page_layout | _pageLayout = ONE_COL | |||
| ) |
| void PagedView::AttachedToWindow | ( | void | ) | [virtual] |
| void PagedView::CalculatePages | ( | void | ) | [protected] |
| void PagedView::Draw | ( | BRect | updateRect | ) | [virtual] |
| void PagedView::DrawPages | ( | BRect | updateRect | ) | [protected] |
| void PagedView::FrameResized | ( | float | width, | |
| float | height | |||
| ) | [virtual] |
| void PagedView::Init | ( | void | ) | [protected] |
| void PagedView::MessageReceived | ( | BMessage * | msg | ) | [virtual] |
| void PagedView::MouseDown | ( | BPoint | where | ) | [virtual] |
| void PagedView::MouseMoved | ( | BPoint | where, | |
| uint32 | code, | |||
| const BMessage * | a_message | |||
| ) | [virtual] |
| void PagedView::MouseUp | ( | BPoint | where | ) | [virtual] |
| void PagedView::SetPageRect | ( | BRect | _pageRect | ) |
Pass the Rect wich defines the new Size of the Page This Rect must enclose the whole printRect.
| void PagedView::SetPrintRect | ( | BRect | _printRect | ) |
Pass the Rect wich defines the new Size of the Printable Rect This Rect must be smaller than the PageRect.
BView* PagedView::drawView [protected] |
BBitmap* PagedView::renderBitmap [protected] |
1.5.9