13
0
Commit Graph

639 Commits

Author SHA1 Message Date
01974b5769 API flush static cairo pattern cache
(should probably be cleaned regularly
e.g. meterbridge resize)
2014-09-11 19:30:33 +02:00
7449de6e8f fix/improve/test hotspot file parsing 2014-09-10 19:39:52 -04:00
13cd2110e6 add copyright header comments 2014-09-10 18:50:58 -04:00
90059a9504 move CursorInfo members into public access 2014-09-10 18:38:30 -04:00
c4f7aae7d5 add new (mostly) static class to permit lookup of cursor image hotspots 2014-09-10 16:50:10 -04:00
e60f03c54c fix scoomer scroll-wheel max value 2014-09-09 14:35:06 +02:00
1c6c3514ba don't start track-resize on scroomer click 2014-09-08 18:43:28 +02:00
d68275cefc one less annoying compiler warning. 2014-09-06 21:18:08 +02:00
d63a4edfbf pass-though PixFader tweaks API for scroll events 2014-09-06 12:46:03 +02:00
6af935a3b8 updated .po files 2014-09-04 22:24:41 -04:00
48a851011b add pixfader tweaks API:
* change API to hide unity/default value line
* allow to override vertical scroll [1]
* allow changing button event forwarding [2]

[1] override scrolling in track-headers
[2] dbl-click is needed for BarControllers -> switch to SpinBtn
    but a plain Slider on a track-header should not forward
    these events to the TAV (they may trigger name-edit)
2014-09-05 02:24:19 +02:00
f2c0b2e318 revert pixfader to sane state (reverts parts of bb70d426) 2014-09-03 20:48:20 +02:00
bb70d426ba bring back old pixfader outline radius to demonstrate its issues 2014-09-03 15:35:11 +02:00
73357c1923 revert pixfader radius to default 2014-09-03 15:09:54 +02:00
f684cc24ec allow to set gtk style for BarController's pixfader. 2014-09-03 02:40:27 +02:00
1cd366b606 pixfader bg has reverse gradient from fg 2014-09-02 15:58:55 -05:00
9ecdb765aa don't show 'unity-line' (default value) for barcontrollers 2014-09-02 16:05:54 +02:00
3b9b65879a Barcontroller: no double expose when text chages 2014-09-02 16:05:21 +02:00
ecf5d5f137 tweak pixfader:
* update reserve so that round corners don't overlap
* draw complete 1px outline
* add API to hide/show the unity line
* don't show unity line at either end
* allow to shrink when the font-scaling changes
2014-09-02 16:00:24 +02:00
efb03f4596 unify BarController with Slider/Pixfader. 2014-09-02 05:14:19 +02:00
41ccf6a806 clean up pixfader API, prepare for merge w/BarController 2014-09-02 05:14:14 +02:00
3bfe91c010 remove cruft from SliderController 2014-09-02 05:14:06 +02:00
9f0caacc5c rework pixfader:
* re-introduce static pattern cache
  (cairo's cache is not nearly large enough for A3 + plugins)
* only use cairo_clip on rectangles (not arbitrary paths
  -> major performance boost
* re-add fader pixel reserve
* fix mouse + scroll interaction
* fix unity line display (1px wider, brighten by 150%)
* cache text size
* fix various other issues and consistent whitespace

This reverts large parts of commit d439e93b1e.
2014-09-01 22:02:51 +02:00
885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
154621978a track-header fader tweaks:
* align height to button-height.
* align width to label text-entry
* increase min width
2014-08-31 21:32:22 +02:00
50c3177a5e remove frame from barcontroller 2014-08-31 19:36:41 +02:00
ca97569c55 disconnect pixfader style-change signal in dtor (amend 5a688b672) 2014-08-30 20:58:03 +02:00
5a688b672c pixfader: use parent's background color 2014-08-30 04:19:42 +02:00
f5533213c0 fix some compiler warnings 2014-08-30 02:26:36 +02:00
585fa45b62 fix cairo widget background 2014-08-30 01:43:10 +02:00
40c3e4122c try a different method of text display on automation bars 2014-08-29 16:35:20 -05:00
b0477f7f1e fix plugin bypass button action 2014-08-28 15:29:18 -05:00
3f297f7dab Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them.
This allows ArdourButtons to do the "Pressed" animation
And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28 10:31:57 -05:00
65715dd298 Make sure all our VC projects agree that the product is called 'Mixbus3' (as opposed to just 'Mixbus')
It'd be nice if we could use 'ARDOUR::config_dir_name' for this purpose (or perhaps 'PROGRAM_VERSION'). However, neither is implemented widely enough at present to make this practical. Keep an eye on them though, as possible future strategies.
2014-08-28 07:57:20 +01:00
d439e93b1e Standardize drawing of PixFader and BarController; implement flat_buttons and prelight.
Prepare for using Controllable interfaces, instead of passing in Adjustments.
ToDo:  reimplement image caching in a standardized way across widgets
2014-08-27 11:58:09 -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
a7226133a9 refactor _grabbed into cairo_widget 2014-08-22 11:49:59 -05:00
45afed5e9a Modify our VC project files to work with msvc32-fixup.pl 2014-08-04 09:02:17 +01:00
b75b88a1eb Use text to specify combo box padding for better font/display tolerance.
Consistent mixer strip button height.

The latter works by setting all the button size request heights to the
calculated height of the alphabet.  Thus, all buttons of the same class will be
the same height regardless of their actual text.
2014-07-30 18:30:42 -04:00
df2a8fccc7 disallow selection of the fader and meter processor entries 2014-07-28 10:08:26 -05:00
67788b7136 monitor knobs tweaked to better match the theme of other buttons 2014-07-15 14:58:43 -05:00
928881b24a Update vcproj files for changed LILV config define. 2014-07-15 15:50:12 -04:00
8859ebe56e add Gtkmm2ext::Keyboard::reset_bindings() 2014-07-10 11:04:04 -04:00
b9c53ea395 add std::string variant of set_size_request_to_display_given_string() 2014-07-09 16:48:36 -04:00
08b1a9d520 add ActionManager::enable_accelerators(), which takes all known Actions and registers them via the UIManager as accelerators.
This makes them available for use with key bindings/shortcuts/accelerators even if they have no proxy widget
2014-07-04 07:48:41 -04:00
f147846863 add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.
2014-06-24 09:56:16 -04:00
cb6934a189 Remove unused header includes 2014-06-17 21:30:51 +10:00
36be1a3a9b plug some leaks 2014-06-15 13:24:41 +02:00
dada765e7a Include stdint.h for int64_t type 2014-06-07 13:49:12 +10:00
55009368c5 allow public access to CairoWidget::render() 2014-06-05 12:04:41 -04:00