cb07f0f99b
yet another button tweak..
2014-09-07 20:23:49 +02:00
a07dc44b4d
remove pixel based Button LED diameter setting
...
Diameter is calculated depending on font-scaling.
Besides, all explicit calls simply set the default
value, anyway. If some API is needed in the future,
it should set the diameter in [em].
2014-09-06 02:08:59 +02:00
6f30c1fddb
optimize button pattern cache
...
We really should statically cache patterns
as done in PixFader and Meters (Cairo's cache is
not nearly large enough)
2014-09-06 02:04:59 +02:00
4a00bdf04a
fundamentally change ArdourButton PangoLayout handling
...
This fixes issues where button text was set during static
initialization where the widget style was not yet available,
and a lot of related issues where the text was set
before style.
2014-09-06 00:41:56 +02:00
98404c6e62
ardour button sizes, now [em] based.
2014-09-04 02:24:37 +02:00
a99bd28950
add "close/cross" special button
2014-09-03 22:07:25 +02:00
0ea1238479
ask TAV buttons to have square proportions
2014-09-03 11:56:31 -05:00
3814c65680
robin needs a new keyboard with unstttttuck tt.
2014-09-03 05:20:33 +02:00
d7ff2b87fb
update rec-en circle drawing, add tape-mode
2014-09-03 01:55:57 +02:00
1592d04828
one off, special case rec-en button for now. (circle may need tweaking)
...
In the long run we want a class hierarchy:
CairoWidget
-> ArdourWidget
-> ArdourLabel
-> ArdourButton
-> SpecialArdourButton(s)
2014-09-02 20:43:15 +02:00
29b7cb4a05
ArdourButton: prepare for [em] based padding
2014-09-02 19:23:18 +02:00
78b9f65632
explicit Button inactive state.
...
Ideally large parts of ArdourButton would become ArdourLabel,
which in turn is used by ArdourButton
2014-08-29 21:08:49 +02:00
7306568634
More fixes to ArdourButton actions.
...
Optionally allow events to fallthrough to parents, in particular for the DnDVBox case.
Also allow the number_label to operate as a track selector.
2014-08-28 14:25:19 -05:00
e7a15027e8
refactor flat_buttons into cairowidget, and add a canvas-like convenience function for setting cairo color with a Gtk::Color
2014-08-27 10:55:01 -05:00
74f313dd6b
Rationalize ArdourButton and lots of associated theming issues.
...
ArdourButtons now have a "pushed" animation.
The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome.
Lots of code cleanup in ArdourButton. Removed several unnecessary flags.
Refactor more stuff into route_ui.
2014-08-22 11:51:20 -05:00
b2b736d596
tweaks for the monitor section. refactoring of some buttons, using new ArdourKnob instead of VolumeController. New ArdourDisplay shows a controllables user value, and provides support for preset values (hardcoded at present). Further refactoring to come, so that ArdourWidgets are derived from a common class. Controllable now has more responsibility for scaling between internal, user, and interface (knob percent) values. This also needs more refactoring and might have some unintended consequences. tested with audio and nothing seems amiss, yet.
2014-07-18 08:47:45 -05:00
381b6848fc
repair ardour-button "fixed color mode"
2014-07-06 19:56:53 +02:00
bb2970e5e9
allow ardour button to handle focused keyboard events
2014-06-14 00:22:32 +02:00
4c2e846126
the FlatFace element is no longer relevant. instead it was being used for an inset jeweled look. changed name to match
2014-03-26 11:37:28 -05:00
harrison
b9708d5f6b
New theme for editor window using ArdourMenu
2014-03-23 18:11:42 -05:00
ab44e41dfd
change the meters into CairoWidget, add expose_area to CairoWidget::render()
2014-03-20 23:50:40 +01:00
f9dbc28086
add ::on_name_changed() to ArdourButton, to use recently added ::on_name_changed() in CairoWidget
2014-03-06 09:49:00 -05:00
4a915ee541
Add ArdourButton::set_fixed_colors() (equivalent to ::set_bg_colors() in Valeriy's original changes)
2014-03-06 08:05:33 -05:00
b360274e34
revert 29b1e706dd
and then redo separation of ArdourButton::set_colors() from ArdourButton::build_patterns.
...
More to come
2014-03-05 17:51:51 -05:00
29b1e706dd
some changes to ArdourButton to allow custom colors to be set (e.g. based on track colors), via Valeriy
2014-02-14 15:32:30 -05:00
37522a2f5e
revert part of 4091ff175c
that caused window/sizing chaos. silly paul
2013-10-12 15:37:55 -04:00
4091ff175c
1 bug fix plus padding control for ArdourButton
2013-10-12 14:56:57 -04:00
94fbfb9658
left/bottom align of labels in meterbridge
2013-07-10 15:27:08 +02:00
0276b1f69a
ardour-button: allow to rotate text
2013-07-10 15:27:06 +02:00
6e337459a9
add a new Tweak to ArdourButton that makes ImplicitActive state use a solid color (the "led active" color), and adjst rec-enable buttons to use pink (like ardour2) when in this state (which means rec-enabled but not recording). and yes, this means that you can't use ImplicitUsesSolidColor with a button that also uses an LED - acceptable limitation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 02:22:12 +00:00
Ben Loftis
92e5a13fd4
several theme changes. changed drawing of rounded_rectangle to be more correct. operation and feel should be more consistent. rec-mute-solo buttons are now dull until enabled. this might be debatable. otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06 20:48:44 +00:00
Ben Loftis
6b6ef35f3e
new button look
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-16 19:27:39 +00:00
a796853f99
introduce flat button option,which right now is on all the time. GUI nit-pickers, do your best
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 12:31:05 +00:00
42e0c0e9a3
remove unused mid-mask stuff from ArdourButton
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07 14:03:49 +00:00
b08d13706f
remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
aeb4617b1d
tweak "joined" buttons to have no border color
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 18:38:02 +00:00
bd3af3454b
allow specification (partially) of which corners of an ArdourButton are rounded
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03 04:17:25 +00:00
Carl Hetherington
4bb517279c
Remove unused declaration.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 22:54:22 +00:00
20aeb5af0a
move CairoWidget into gtkmm2ext, add CairoPacker, made the time info box use CairoPacker, make the info status "bar" use CairoPacker
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:57:45 +00:00
28c721bbfe
expose Pango::Layout member of ArdourButton; set ellipsizing behaviour for mixer strip name button; add full name tooltip to name button
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 16:57:29 +00:00
0a71d52448
Fix key bindings in tooltips for ArdourButton buttons.
...
Sinced gtkmm2ext needs to get at the actions of widgets, I moved the
action to Gtkmm2ext::Activatable. Not sure if the wisest thing to
do here would be to use Gtkmm::Activatable, but figured there's
a reason Paul didn't do so (the name set_related_action is from there
so presumably it's known about), so this is the simplest change
that allows access to the action in Gtkmm2ext. The vfunc calling
stuff should probably move there as well...
git-svn-id: svn://localhost/ardour2/branches/3.0@10818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 05:36:31 +00:00
b25fbc8a95
all new implementation of audio clocks, with entirely new editing model. not entirely finished, but lookable, and usable
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 22:49:13 +00:00
702cca1c93
extra track header buttons are now ArdourButtons
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 17:24:05 +00:00
f96ccb1958
ardour-button-ize zoom buttons; move MIDI panic button to transport bar
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 18:04:34 +00:00
6449c2e5c8
more ardour-button-ization; fix transparency of selection rects; use "correct" cursors when entering and leaving selection rect handles; color tweaks for a few buttons
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 15:25:01 +00:00
244eaa55fb
provide global prelight option (its in Edit -> Preferences->Interface)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 20:10:05 +00:00
cccc71e011
add hovering/show click functionality to ArdourButton
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 19:14:31 +00:00
708fb03e87
use ArdourButton for the (radio) buttons in the monitor section; fix ArdourButton, MonitorSection and CairoWidget to work with radio semantics
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 21:35:20 +00:00
0cc9daed28
allow addition of images to ArdourButtons (always centered)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 18:47:14 +00:00
592bfa3616
mute and send-alert buttons are now ArdourButtons
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 16:46:49 +00:00