OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
openmw
mwgui
scrollwindow.hpp
Go to the documentation of this file.
1
#ifndef MWGUI_SCROLLWINDOW_H
2
#define MWGUI_SCROLLWINDOW_H
3
4
#include "
windowbase.hpp
"
5
6
#include "../mwworld/ptr.hpp"
7
8
namespace
Gui
9
{
10
class
ImageButton;
11
}
12
13
namespace
MWGui
14
{
15
class
ScrollWindow
:
public
WindowBase
16
{
17
public
:
18
ScrollWindow
();
19
20
void
openScroll
(
MWWorld::Ptr
scroll,
bool
showTakeButton);
21
virtual
void
exit
();
22
void
setInventoryAllowed
(
bool
allowed);
23
24
protected
:
25
void
onCloseButtonClicked
(MyGUI::Widget* _sender);
26
void
onTakeButtonClicked
(MyGUI::Widget* _sender);
27
void
setTakeButtonShow
(
bool
show);
28
29
private
:
30
Gui::ImageButton
*
mCloseButton
;
31
Gui::ImageButton
*
mTakeButton
;
32
MyGUI::ScrollView*
mTextView
;
33
34
MWWorld::Ptr
mScroll
;
35
36
bool
mTakeButtonShow
;
37
bool
mTakeButtonAllowed
;
38
39
};
40
41
}
42
43
#endif
windowbase.hpp
MWGui::ScrollWindow::mTextView
MyGUI::ScrollView * mTextView
Definition:
scrollwindow.hpp:32
MWGui::ScrollWindow::mScroll
MWWorld::Ptr mScroll
Definition:
scrollwindow.hpp:34
MWGui::ScrollWindow::setTakeButtonShow
void setTakeButtonShow(bool show)
Definition:
scrollwindow.cpp:86
MWGui::ScrollWindow::setInventoryAllowed
void setInventoryAllowed(bool allowed)
Definition:
scrollwindow.cpp:92
MWGui::ScrollWindow::mTakeButtonAllowed
bool mTakeButtonAllowed
Definition:
scrollwindow.hpp:37
MWGui::ScrollWindow::onTakeButtonClicked
void onTakeButtonClicked(MyGUI::Widget *_sender)
Definition:
scrollwindow.cpp:103
MWGui::ScrollWindow::onCloseButtonClicked
void onCloseButtonClicked(MyGUI::Widget *_sender)
Definition:
scrollwindow.cpp:98
MWGui::ScrollWindow
Definition:
scrollwindow.hpp:15
MWGui::WindowBase
Definition:
windowbase.hpp:16
Gui::ImageButton
allows using different image textures depending on the button state
Definition:
imagebutton.hpp:12
MWGui::ScrollWindow::mCloseButton
Gui::ImageButton * mCloseButton
Definition:
scrollwindow.hpp:30
MWGui::ScrollWindow::openScroll
void openScroll(MWWorld::Ptr scroll, bool showTakeButton)
Definition:
scrollwindow.cpp:53
MWGui::ScrollWindow::mTakeButton
Gui::ImageButton * mTakeButton
Definition:
scrollwindow.hpp:31
MWWorld::Ptr
Pointer to a LiveCellRef.
Definition:
ptr.hpp:19
MWGui::ScrollWindow::exit
virtual void exit()
Gracefully exits the window.
Definition:
scrollwindow.cpp:79
MWGui::ScrollWindow::mTakeButtonShow
bool mTakeButtonShow
Definition:
scrollwindow.hpp:36
MWGui::ScrollWindow::ScrollWindow
ScrollWindow()
Definition:
scrollwindow.cpp:34
Generated on Tue Jan 24 2017 02:05:50 for OpenMW by
1.8.6