ScummVM API documentation
Ultima::Nuvie::PartyView Class Reference
Inheritance diagram for Ultima::Nuvie::PartyView:
Ultima::Nuvie::View Ultima::Nuvie::GUI_Widget Ultima::Nuvie::GUI_DragArea Ultima::Nuvie::GUI_CallBack

Public Member Functions

 PartyView (const Configuration *cfg)
 
bool init (void *vm, uint16 x, uint16 y, Font *f, Party *p, Player *pl, TileManager *tm, ObjManager *om)
 
GUI_status MouseUp (int x, int y, Shared::MouseButton button) override
 
GUI_status MouseDown (int x, int y, Shared::MouseButton button) override
 
GUI_status MouseWheel (sint32 x, sint32 y) override
 
bool drag_accept_drop (int x, int y, int message, void *data) override
 
void drag_perform_drop (int x, int y, int message, void *data) override
 
void Display (bool full_redraw) override
 
void update ()
 
void display_sun_moon_strip ()
 
void set_party_view_targeting (bool val)
 
- Public Member Functions inherited from Ultima::Nuvie::View
 View (const Configuration *cfg)
 
bool init (uint16 x, uint16 y, Font *f, Party *p, TileManager *tm, ObjManager *om)
 
virtual bool set_party_member (uint8 party_member)
 
uint8 get_party_member_num () const
 
bool next_party_member ()
 
bool prev_party_member ()
 
void fill_md_background (uint8 color, const Common::Rect &r)
 
void set_combat_mode (Actor *actor)
 
uint8 get_combat_mode_index (const Actor *actor) const
 
virtual void close_view ()
 
- Public Member Functions inherited from Ultima::Nuvie::GUI_Widget
 GUI_Widget (void *data)
 
 GUI_Widget (void *data, int x, int y, int w, int h)
 
int AddWidget (GUI_Widget *widget)
 
virtual void Show (void)
 
virtual void Hide (void)
 
virtual void Delete (void)
 
virtual void MoveRelative (int dx, int dy)
 
virtual void Move (int32 new_x, int32 new_y)
 
void MoveRelativeToParent (int dx, int dy)
 
bool has_focus () const
 
void grab_focus ()
 
virtual void release_focus ()
 
void moveToFront ()
 
virtual void PlaceOnScreen (Screen *s, GUI_DragManager *dm, int x, int y)
 
virtual WIDGET_status Status (void) const
 
virtual void SetRect (int x, int y, int w, int h)
 
virtual void SetRect (Common::Rect **bounds)
 
virtual Common::Rect GetRect ()
 
virtual int X () const
 
virtual int Y () const
 
virtual int W () const
 
virtual int H () const
 
virtual int HitRect (int x, int y)
 
virtual int HitRect (int x, int y, const Common::Rect &rect)
 
virtual void SetDisplay (Screen *s)
 
void DisplayChildren (bool full_redraw=false)
 
virtual void Redraw (void)
 
bool needs_redraw () const
 
bool widget_has_focus ()
 
virtual GUI_status Idle (void)
 
virtual GUI_status KeyDown (const Common::KeyState &key)
 
virtual GUI_status KeyUp (Common::KeyState key)
 
virtual GUI_status MouseMotion (int x, int y, uint8 state)
 
virtual GUI_status MouseEnter (uint8 state)
 
virtual GUI_status MouseLeave (uint8 state)
 
virtual GUI_status MouseClick (int x, int y, Shared::MouseButton button)
 
virtual GUI_status MouseDouble (int x, int y, Shared::MouseButton button)
 
virtual GUI_status MouseDelayed (int x, int y, Shared::MouseButton button)
 
virtual GUI_status MouseHeld (int x, int y, Shared::MouseButton button)
 
virtual GUI_status HandleEvent (const Common::Event *event)
 
char * Error (void)
 
virtual int ClickState (int button)
 
virtual void SetClickState (int button, int value)
 
- Public Member Functions inherited from Ultima::Nuvie::GUI_DragArea
bool is_drop_target ()
 
virtual void drag_drop_failed (int x, int y, int message, void *data)
 
virtual void drag_drop_success (int x, int y, int message, void *data)
 
virtual void drag_draw (int x, int y, int message, void *data)
 

Protected Member Functions

void display_surface_strip ()
 
void display_dungeon_strip ()
 
void display_arrows ()
 
void display_sun_moon (Tile *tile, uint8 pos)
 
void display_sun (uint8 hour, uint8 minute, bool eclipse)
 
void display_moons (uint8 day, uint8 hour, uint8 minute=0)
 
bool up_arrow ()
 
bool down_arrow ()
 
Actorget_actor (int x, int y)
 
- Protected Member Functions inherited from Ultima::Nuvie::View
GUI_status callback (uint16 msg, GUI_CallBack *caller, void *data) override
 
GUI_ButtonloadButton (const Common::Path &dir, Std::string name, uint16 x, uint16 y)
 
- Protected Member Functions inherited from Ultima::Nuvie::GUI_Widget
void Init (void *data, int x, int y, int w, int h)
 
void setParent (GUI_Widget *widget)
 
void SetError (char *fmt,...)
 
void set_accept_mouseclick (bool set, int button=0)
 
void set_mouseup (int set, int button=0)
 
void set_mousedown (int set, int button=0)
 
int get_mouseup (int button) const
 
int get_mousedown (int button) const
 
void wait_for_mouseclick (int button)
 
void wait_for_mousedown (int button)
 
virtual GUI_status try_mouse_delayed ()
 

Protected Attributes

bool party_view_targeting
 
- Protected Attributes inherited from Ultima::Nuvie::View
const Configurationconfig
 
GUI_Buttonleft_button
 
GUI_Buttonright_button
 
GUI_Buttonactor_button
 
GUI_Buttonparty_button
 
GUI_Buttoninventory_button
 
Fontfont
 
TileManagertile_manager
 
ObjManagerobj_manager
 
Partyparty
 
uint8 cur_party_member
 
uint8 bg_color
 
bool new_ui_mode
 
- Protected Attributes inherited from Ultima::Nuvie::GUI_Widget
void * widget_data
 
Screenscreen
 
Graphics::ManagedSurfacesurface
 
int offset_x
 
int offset_y
 
WIDGET_status status
 
bool update_display
 
int pressed [3]
 
bool focused
 
Std::list< GUI_Widget * > children
 
GUI_Widgetparent
 
char * errorptr
 
char errbuf [BUFSIZ]
 
GUI_DragManagergui_drag_manager
 
unsigned int mouseup [3]
 
unsigned int mousedown [3]
 
bool accept_mouseclick [3]
 
Shared::MouseButton delayed_button
 
Shared::MouseButton held_button
 
bool mouse_moved
 
bool mouse_over
 
- Protected Attributes inherited from Ultima::Nuvie::GUI_DragArea
bool drop_target
 
bool dragging
 

Additional Inherited Members

- Public Attributes inherited from Ultima::Nuvie::GUI_Widget
Common::Rect area
 

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