DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions | Protected Attributes
GUI::BorderedWindow Class Reference

Internal class for windows whose child content should not span the entire area. More...

#include <gui_tk.h>

Inheritance diagram for GUI::BorderedWindow:
GUI::Window GUI::Refcount GUI::Button GUI::Checkbox GUI::Frame GUI::Radiobox GUI::ToplevelWindow AutoexecEditor ConfigurationWindow GUI::MessageBox2 SaveDialog SaveLangDialog SectionEditor SetCycles SetLocalSize SetVsyncrate

List of all members.

Public Member Functions

virtual void paintAll (Drawable &d) const
 Draw this window's content including all children.
virtual bool mouseMoved (int x, int y)
 Mouse was moved. Returns true if event was handled.
virtual bool mouseDown (int x, int y, MouseButton button)
 Mouse was pressed. Returns true if event was handled.
virtual bool mouseDragged (int x, int y, MouseButton button)
 Mouse was moved while a button was pressed. Returns true if event was handled.
virtual bool mouseUp (int x, int y, MouseButton button)
 Mouse was released. Returns true if event was handled.
virtual int getScreenX () const
 Return this window's contents' X position relative to the screen's top left corner.
virtual int getScreenY () const
 Return this window's contents' Y position relative to the screen's top left corner.

Protected Member Functions

 BorderedWindow (Window *parent, int x, int y, int w, int h, int bl, int bt, int br, int bb)
 Create a bordered window.

Protected Attributes

int border_left
 Borders.
int border_top
int border_right
int border_bottom

Detailed Description

Internal class for windows whose child content should not span the entire area.

Definition at line 1530 of file gui_tk.h.


The documentation for this class was generated from the following files: