22 #ifndef NUVIE_CORE_MSG_SCROLL_NEW_UI_H 23 #define NUVIE_CORE_MSG_SCROLL_NEW_UI_H 25 #include "ultima/nuvie/misc/call_back.h" 26 #include "ultima/nuvie/gui/widgets/gui_widget.h" 27 #include "ultima/shared/std/containers.h" 28 #include "ultima/shared/std/string.h" 66 GUI_status callback(uint16 msg,
GUI_CallBack *caller,
void *data)
override {
69 uint16 callback(uint16 msg,
CallBack *caller,
void *data)
override;
70 bool can_display_prompt()
const override {
74 bool can_fit_token_on_msgline(
MsgLine *msg_line,
MsgText *token)
override;
76 void Display(
bool full_redraw)
override;
78 void display_prompt()
override {}
80 void display_string(
const Std::string &s,
Font *f,
bool include_on_map_window)
override;
82 void set_font(uint8 font_type)
override;
83 bool is_garg_font()
override;
86 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
88 void move_scroll_down()
override {
89 scroll_movement_event(SCROLL_DOWN);
91 void move_scroll_up()
override {
92 scroll_movement_event(SCROLL_UP);
98 MsgLine *add_new_line()
override;
101 GUI_status scroll_movement_event(MsgScrollEventType event);
Definition: configuration.h:61
Definition: msg_scroll.h:75
Definition: detection.h:27
Definition: call_back.h:50
Definition: msg_scroll.h:54
Definition: keyboard.h:294
Definition: gui_callback.h:31