#include <bordereddialog.h>
Inheritance diagram for wftk::BorderedDialog:

Public Member Functions | |
| BorderedDialog (const std::string &title="", const std::string &border_res_name="", const Font &font=Font::textFont()) | |
| Constructor. | |
| virtual | ~BorderedDialog () |
| Destructor. | |
Protected Member Functions | |
| virtual void | draw (Surface &target, const Point &dest, const Region &mask) |
| The area drawn to must lie within the given region. | |
Subclass this class if you want to create your own dialog class.
| wftk::BorderedDialog::BorderedDialog | ( | const std::string & | title = "", |
|
| const std::string & | border_res_name = "", |
|||
| const Font & | font = Font::textFont() | |||
| ) | [explicit] |
Constructor.
Create a Dialog window.
| title | std::string containing the window title, defaults to "" | |
| border_res_name | std::string containing the name of the ressource to use for the frame. The ressources are
| |
| font | which font to use, defaults to Font::textFont() |
| void wftk::BorderedDialog::draw | ( | Surface & | target, | |
| const Point & | dest, | |||
| const Region & | mask | |||
| ) | [protected, virtual] |
The area drawn to must lie within the given region.
This is protected so derived classes can call their parents' draw() in their own implementations.
Reimplemented from wftk::Widget.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.