supertux
Public Member Functions | Static Public Attributes | List of all members
EditorOverlayWidget Class Referencefinal

A widget that is drawn on top of the current sector and handles mouse input and tool drawing. More...

#include <overlay_widget.hpp>

Inheritance diagram for EditorOverlayWidget:
Inheritance graph
[legend]
Collaboration diagram for EditorOverlayWidget:
Collaboration graph
[legend]

Public Member Functions

 EditorOverlayWidget (Editor &editor)
 
virtual void draw (DrawingContext &) override
 
virtual void update (float dt_sec) override
 
virtual bool on_mouse_button_up (const SDL_MouseButtonEvent &button) override
 
virtual bool on_mouse_button_down (const SDL_MouseButtonEvent &button) override
 
virtual bool on_mouse_motion (const SDL_MouseMotionEvent &motion) override
 
virtual bool on_key_up (const SDL_KeyboardEvent &key) override
 
virtual bool on_key_down (const SDL_KeyboardEvent &key) override
 
virtual void resize () override
 
void update_pos ()
 
void delete_markers ()
 
void update_node_iterators ()
 
void on_level_change ()
 
void edit_path (PathGameObject *path, GameObject *new_marked_object=nullptr)
 
void reset_action_press ()
 
- Public Member Functions inherited from Widget
virtual bool event (const SDL_Event &ev)
 
virtual void setup ()
 
virtual bool on_mouse_wheel (const SDL_MouseWheelEvent &wheel)
 

Static Public Attributes

static Color text_autotile_available_color
 
static Color text_autotile_active_color
 
static Color text_autotile_error_color
 
static Color warning_color
 
static Color error_color
 

Detailed Description

A widget that is drawn on top of the current sector and handles mouse input and tool drawing.


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