Commit graph

670 commits

Author SHA1 Message Date
Paul Davis
7152634104 set name of GUI event loop thread 2015-02-05 16:31:59 -05:00
Robin Gareus
de85bfd857 fix #6117 - fader prelight 2015-01-28 02:22:52 +01:00
Paul Davis
cab01bac6c on OS X, do not require click to activate the application 2015-01-26 11:55:58 -05:00
Paul Davis
bd3643a597 fix declaration of Cocoa NSApplicationDelegate methods 2015-01-25 12:52:26 -05:00
David Robillard
4166b05bda Fix setting command key bindings on OSX. 2015-01-14 20:31:38 -05:00
Robin Gareus
0367aa5825 remove cruft (old unused pre-git version files) 2015-01-09 06:11:57 +01:00
Paul Davis
246a4f3018 correct install location for .mo files (i18n) and cleanup LOCALEDIR use a bit 2014-12-09 08:19:11 -05:00
David Robillard
587dc283ea Fix stuck faders on very fine adjustments.
I attempted to preserve the "don't draw unless different" by ditching rounding for more
precise display_span, but that didn't work.  An alternative solution would be
to draw on adjustment change if there's text, since then we need to redraw
regardless of slider position, but it seemed weird even just with respect to
the slider, so I opted for this, which really definitely redraws when the
adjustment changes, period.

If this proves to be a performance issue we'll have to figure that out.
2014-12-05 15:19:43 -05:00
Robin Gareus
0c7dd82239 exclude fader-reserve from range 2014-12-01 17:45:27 +01:00
Robin Gareus
272c93db12 CLA approved consistent fine-grained scale modifier 2014-11-30 21:27:31 +01:00
Robin Gareus
18efe8f446 consistent step+page sizes for fader+spinbox 2014-11-30 15:05:40 +01:00
Robin Gareus
c77f4b7a18 don't move faders on click.
for one, it can mess up the value when switching to
numeric-entry. It is also rather useless and not
Fader-like (faders are not scrollbars).
Besides, "stepvalue" is way to large and causes jumps
(sometimes step-value is even negative, see
"fast lookahead limiter", "release time"
 -> some other bug)
2014-11-29 17:31:41 +01:00
David Robillard
16947f751b Remove dead code. 2014-11-27 04:17:15 -05:00
David Robillard
ea5876b836 Remove dead code. 2014-11-25 02:11:44 -05:00
David Robillard
976a150e6b Remove obviously dead/redundant code. 2014-11-18 02:55:03 -05:00
Robin Gareus
6b3a8915f3 add abort() to non-reached code
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
Paul Davis
bb4e3a2916 add Gtkmm2ext::event_inside_widget_window() 2014-11-02 08:57:47 -05:00
Robin Gareus
b6d8805961 properly initialize variable (amend cffd18d2d8) 2014-11-02 02:50:28 +01:00
Robin Gareus
cffd18d2d8 implement spin-button internal<>interface bridge
Widgets were written to use "[User] Interface" values, but the
spinbutton in a Bar-controller should allow to directly access
the "Internal Value".
2014-11-01 18:24:31 +01:00
Robin Gareus
049c11de58 Slider Controller API Change
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.

(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
2014-11-01 18:22:29 +01:00
Robin Gareus
002ebcc4ea increase fine grained control (Ctrl+Alt+[drag|scroll]) 2014-11-01 07:27:35 +01:00
John Emmas
973d40e3ac Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
(new preprocessor directive - greatly improves CPU loading)
2014-10-29 17:36:30 +00:00
Robin Gareus
dc39448a22 turn pixfader into a cairowidget 2014-10-28 02:18:46 +01:00
Robin Gareus
b04414d170 allow to use cairo-image/software surface for canvas & cairowidgets 2014-10-28 02:15:10 +01:00
Robin Gareus
e02efddb21 skip meter re-draw when no pixels are changed. 2014-10-25 17:28:14 +02:00
John Emmas
9239a49a32 Add some newly introduced source files to our MSVC project (gtkmm2ext) 2014-10-24 18:45:53 +01:00
Paul Davis
2bc3ec6ab3 add new Gtk2mmext::EmScale class for measuring font-based sizing 2014-10-23 13:21:04 -04:00
Ben Loftis
ceff2e3a62 plugin widgets were written to use Internal values, so use that for now 2014-09-18 17:25:11 -05:00
Paul Davis
9be64f2648 add a focus handling callback so that all button press events on CairoWidgets will cause a focus reset. 2014-09-16 12:42:39 -04:00
John Emmas
e5a20e1f9e Add 2 new source files to our 'gtkmm2ext' project (MSVC) 2014-09-13 09:56:58 +01:00
Paul Davis
e3d063004b add required visibility macros to Gtkmm2ext::CursorInfo 2014-09-12 14:33:36 -04:00
Robin Gareus
01974b5769 API flush static cairo pattern cache
(should probably be cleaned regularly
e.g. meterbridge resize)
2014-09-11 19:30:33 +02:00
Paul Davis
7449de6e8f fix/improve/test hotspot file parsing 2014-09-10 19:39:52 -04:00
Paul Davis
13cd2110e6 add copyright header comments 2014-09-10 18:50:58 -04:00
Paul Davis
90059a9504 move CursorInfo members into public access 2014-09-10 18:38:30 -04:00
Paul Davis
c4f7aae7d5 add new (mostly) static class to permit lookup of cursor image hotspots 2014-09-10 16:50:10 -04:00
Robin Gareus
e60f03c54c fix scoomer scroll-wheel max value 2014-09-09 14:35:06 +02:00
Robin Gareus
1c6c3514ba don't start track-resize on scroomer click 2014-09-08 18:43:28 +02:00
Robin Gareus
d68275cefc one less annoying compiler warning. 2014-09-06 21:18:08 +02:00
Robin Gareus
d63a4edfbf pass-though PixFader tweaks API for scroll events 2014-09-06 12:46:03 +02:00
Paul Davis
6af935a3b8 updated .po files 2014-09-04 22:24:41 -04:00
Robin Gareus
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
Robin Gareus
f2c0b2e318 revert pixfader to sane state (reverts parts of bb70d426) 2014-09-03 20:48:20 +02:00
Robin Gareus
bb70d426ba bring back old pixfader outline radius to demonstrate its issues 2014-09-03 15:35:11 +02:00
Robin Gareus
73357c1923 revert pixfader radius to default 2014-09-03 15:09:54 +02:00
Robin Gareus
f684cc24ec allow to set gtk style for BarController's pixfader. 2014-09-03 02:40:27 +02:00
Ben Loftis
1cd366b606 pixfader bg has reverse gradient from fg 2014-09-02 15:58:55 -05:00
Robin Gareus
9ecdb765aa don't show 'unity-line' (default value) for barcontrollers 2014-09-02 16:05:54 +02:00
Robin Gareus
3b9b65879a Barcontroller: no double expose when text chages 2014-09-02 16:05:21 +02:00
Robin Gareus
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