summaryrefslogtreecommitdiff
path: root/gtk2_ardour
AgeCommit message (Collapse)Author
2016-08-22better late than neverRobin Gareus
2016-08-22use user-specified insertion point when adding new tracks/busses with a templatePaul Davis
2016-08-22use insert at specification when duplicating tracks/bussesPaul Davis
2016-08-22fix signed/unsigned warningPaul Davis
2016-08-22add insert-at combo selector for duplicate tracks dialogPaul Davis
2016-08-22Parse information from harvid independent from the localeRobin Gareus
This fixes a crash where aspect ratio "0.5" from harvid was interpreted as "0" in the French locale (expecting 0,5). Note: harvid uses a portable, not localized snprintf() implementation
2016-08-22factor out "new route insertion point" enums so they can be shared by ↵Paul Davis
relevant dialogs
2016-08-21remove debug output from last commitPaul Davis
2016-08-21editing plugin with generic GUI has a tooltip saying it uses the primary ↵Paul Davis
modifier. Make it so
2016-08-22Repeat INSENSITIVE colors instead of relying on inheritanceJulien "_FrnchFrgg_" RIVAUD
Since inheritance doesn't seem to work on some systems, though it worked on mine.
2016-08-21remove close buttons from Bundle Manager (rely on WM provided button)Robin Gareus
2016-08-21even more consistent labels in the mundle managerRobin Gareus
2016-08-21Fix another crash at exit:Robin Gareus
Collecting bindings after ::finish() has already destroyed half the GUI will result in memory corruption invalid Glib::RefPtr<Gtk::Action> Gtkmm2ext::ActionMap::get_actions() Gtkmm2ext::Bindings::get_all_actions() KeyEditor::Tab::populate() KeyEditor::refresh() Editor::set_script_action_name() LuaInstance::session_going_away() PBD::Destructible::drop_references() ARDOUR::Session::destroy() ARDOUR::Session::~Session() ARDOUR_UI::finish()
2016-08-21Resolve Bundle Manager Input/Output label ambiguityRobin Gareus
2016-08-21Merge set_pango_fontsize() into reset_dpi()Julien "_FrnchFrgg_" RIVAUD
… since reset_dpi() is the only caller.
2016-08-21Silence a GCC initialization order warningJulien "_FrnchFrgg_" RIVAUD
2016-08-20Avoid jitter of track headers width when changing automation statesJulien "_FrnchFrgg_" RIVAUD
2016-08-20Make knobs size requests dynamicJulien "_FrnchFrgg_" RIVAUD
At the point of creation, the automate_button size request is wrong since it has not the correct style yet. Instead of trying ugly hacks to fix that, connect to the knob's size_request signal and get the button's requisition only when needed. If the system font changes to one that has different extents (even if the point size is the same), the UI will thus correctly update.
2016-08-20Do not constrain vertical size without needJulien "_FrnchFrgg_" RIVAUD
A value of -1 means "let the widget use its natural size in that direction".
2016-08-20Use ArdourButton::Square mode instead of ad-hoc sizingJulien "_FrnchFrgg_" RIVAUD
2016-08-20Use set_sizing_text in generic plugin uiJulien "_FrnchFrgg_" RIVAUD
2016-08-20Invalidate char_pixel_* on possible font changeJulien "_FrnchFrgg_" RIVAUD
So that the padding and other elements always correctly depend on the font instead of the default GTK font (which might have a wildly different size from the fixed size fonts of Ardour's custom theme).
2016-08-20ArdourButton: add text for measuring decoupled from display textJulien "_FrnchFrgg_" RIVAUD
In the normal course of events, an ArdourButton requests just enough space to display its elements. In particular the size will change when the text does. Yet, in several cases it is better to avoid layout jittering; until now ArdourButton users manually set a static size on the button at creation time. Introduce new API to set the text used for measuring the button size separately from the text that will be displayed. In most cases this enables the callers to replace set_size_request_to_display_given_text(button, text, w, h); where w and h were hard-coded to cater for other button elements, by button.set_sizing_text(text); which will make ArdourButton correctly compute the size request in all cases with its real elements and padding. ArdourButton users can call button.set_sizing_text(""); to get the size request depend on displayed text (which is the default).
2016-08-20Fix colors of disabled spin buttons (and maybe others)Julien "_FrnchFrgg_" RIVAUD
The insensitive state should not get a base color that's the same as the enabled one, or the difference is not visible enough (only the text color changes). In fact, since the goal of the entry modifications is to aid visibility during user input, there is no reason to override the insensitive colors. Just inherit the insensitive colors of the global style. Also fix a comment that was attached to the wrong declaration.
2016-08-20Amend last commit - remove some code.nick_m
2016-08-20Swap tempo/meter colours when hovering. Use entered marker for these as well.nick_m
- Note : entered_marker modifies the 'p' press, locating to the currently hovered-over marker.
2016-08-20Add a colour for music-locked meters.nick_m
2016-08-19fix missing API for no-app-nap when building on OS X < 10.9Paul Davis
2016-08-20Revert last commit (269a08a2b1).nick_m
2016-08-20Allow both types of constrained drag (again).nick_m
- Holding the constraint modifier at the time of grab gives constrained x. - Holding the constraint modifier after the grab but before the first motion constrains to the direction of first movement.
2016-08-20Extending an empty selection selects the clicked region.nick_m
- fixes a crash where the first operation on loading a session is a constrained drag
2016-08-19add code to disable AppNap on OS X/MacOSPaul Davis
Should build on versions before 10.9 and run everywhere due to respondsToSelector check.
2016-08-19Remove unused lines in clearlooks.rc.inJulien "_FrnchFrgg_" RIVAUD
2016-08-19Avoid CamelCase in color namesJulien "_FrnchFrgg_" RIVAUD
2016-08-19Make automation state buttons active when not on ManualJulien "_FrnchFrgg_" RIVAUD
With the same color code as the fader automation button on mixer strips. This is especially usefull when use_knob is true (e.g. for a-EQ) because the automation only shows one letter and a "Write" state can thus be easy to miss.
2016-08-19Remove unused space in gain_meter's automation menuJulien "_FrnchFrgg_" RIVAUD
2016-08-18Add missing returnJulien "_FrnchFrgg_" RIVAUD
2016-08-18Make ArdourButton detect when a grab should stop being pressedJulien "_FrnchFrgg_" RIVAUD
If for whatever reason a grab is taken (e.g. a menu popping up) while somebody is pressing a mouse button on an ArdourButton, then the ArdourButton will not get the mouse button release event and will look stuck in pressed position. The leave notify event is fired if the mouse is still on the ArdourButton while the grab is taken, but not if the user was dragging the mouse outside of the button. The only reliable way is to listen for the grab_broken_event signal. Do so.
2016-08-18don't show empty time axis view context menusPaul Davis
2016-08-18Make buttons in track headers behave more like Gtk::MenuToolButtonJulien "_FrnchFrgg_" RIVAUD
Make their popup menus show attached, and on mouse down, but keep the context menu behavior on middle- and right-click for the group button that reacted to those (probably an oversight but some users might have got the habit of right-clicking). This also makes the group deletion on Ctrl+click happen on mouse down instead of mouse up which is not a great difference and avoids complicating the code.
2016-08-18Make name_button behave more like a Gtk::MenuToolButtonJulien "_FrnchFrgg_" RIVAUD
Make it popup its menu in attached mode, and on mouse down, but keep the context menu behavior on right-click.
2016-08-18Make in/out buttons behave more like Gtk::MenuToolButtonJulien "_FrnchFrgg_" RIVAUD
Make them popup their menu as if attached rather than as a context menu.
2016-08-17removed commented code, now that the comment is actually correctPaul Davis
2016-08-17fix hard/impossible trimming situationPaul Davis
2016-08-17GUI does an even stronger check on no undo/redo while recordingPaul Davis
2016-08-17Use a real dropdown for AutoState in automation lanesJulien "_FrnchFrgg_" RIVAUD
2016-08-17Align the currently selected automation state on dropdownJulien "_FrnchFrgg_" RIVAUD
By passing the current text of the automation button we can make the dropdown menu align with the current mode. This will only work for full-size automation buttons, not when use-knob is true, but in that case it feels wrong to popup on top of the button anyway. Also make the menu show on mouse down like a real dropdown.
2016-08-17upcoming codenamesRobin Gareus
2016-08-17Make MixerStrip's automation menu behave like a dropdownJulien "_FrnchFrgg_" RIVAUD
2016-08-17Make the group button in MixerStrip behave like a dropdownJulien "_FrnchFrgg_" RIVAUD
Since it mostly is a multiple-choice menu.