mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Constification: make Stateful::get_state() const, with all other required const-ness added (GUI)
This commit is contained in:
parent
7bf89ce109
commit
ca22ba77e1
35 changed files with 43 additions and 42 deletions
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
void set_session (ARDOUR::Session *);
|
||||
|
||||
XMLNode& get_state (void);
|
||||
XMLNode& get_state () const;
|
||||
int set_state (const XMLNode& );
|
||||
|
||||
void show_window ();
|
||||
|
|
@ -130,10 +130,10 @@ private:
|
|||
void update_title ();
|
||||
|
||||
// for restoring window geometry.
|
||||
int m_root_x, m_root_y, m_width, m_height;
|
||||
mutable int m_root_x, m_root_y, m_width, m_height;
|
||||
|
||||
void set_window_pos_and_size ();
|
||||
void get_window_pos_and_size ();
|
||||
void get_window_pos_and_size () const;
|
||||
|
||||
bool on_key_press_event (GdkEventKey*);
|
||||
bool on_key_release_event (GdkEventKey*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue