mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
resize all editor comboboxes when DPI is reset. involved a minor refactoring of some code and the spreading of the awful COMBO_FUDGE+10 hack
git-svn-id: svn://localhost/ardour2/branches/3.0@8398 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2cf464cf1d
commit
5e7b4559fe
4 changed files with 44 additions and 23 deletions
|
|
@ -1545,6 +1545,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
|
||||
Gtk::ComboBoxText edit_mode_selector;
|
||||
Gtk::VBox edit_mode_box;
|
||||
std::vector<std::string> edit_mode_strings;
|
||||
|
||||
void set_edit_mode (ARDOUR::EditMode);
|
||||
void cycle_edit_mode ();
|
||||
|
|
@ -2054,6 +2055,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
void set_canvas_cursor_for_region_view (double, RegionView *);
|
||||
|
||||
MouseCursors* _cursors;
|
||||
|
||||
void resize_text_widgets ();
|
||||
|
||||
friend class Drag;
|
||||
friend class RegionDrag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue