VKamyshniy
e85e5e3436
[Summary] No chance of using cairo image surface
2014-11-20 21:04:24 +02:00
VKamyshniy
b77dce1f44
[Summary] Bug fix
2014-11-20 13:21:32 +02:00
VKamyshniy
96b8486ceb
[Summary] To have USE_CAIRO_IMAGE_SURFACE working -- clean up and fixing cairo_widget. With occasion: eliminating _current_event_expose as Robin has introduced expose_area which plays similar role. Now WINDOW works under USE_CAIRO_IMAGE_SURFACE condition.
...
WARNING: we should assure that cairo's clip() serves well in Ardour as we stopped using clip_preserve().
2014-11-17 17:56:07 +02:00
Valeriy Kamyshniy
310f02b786
[Summary] Bug fix: in the MainClock editing cursor’s cairo_fill filled all the occurred rectangles (including one, used to clip).
2014-11-14 14:25:35 +02:00
Paul Davis
bc8e3c63b7
change #ifdef used to activate image surface drawing code in CairoWidget
...
Using the intermediate image surface appears to break drawing when combined with either
the child widget or set_visible_window() approaches used in Tracks when compared with Ardour
2014-11-06 10:12:33 -05:00
Robin Gareus
6c34ab8b02
allow to use cairo-image/software surface for canvas & cairowidgets
...
Conflicts:
libs/gtkmm2ext/cairo_widget.cc
2014-11-03 10:03:45 -05:00
Paul Davis
59291ede87
add a focus handling callback so that all button press events on CairoWidgets will cause a focus reset.
...
Conflicts:
libs/gtkmm2ext/cairo_widget.cc
libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
2014-09-17 07:09:28 -04:00
VKamyshniy
2600038032
[Summary] Propagating expose to a child (if exists) of CairoWidget based object.
2014-09-12 14:11:49 +03:00
Paul Davis
1da0fe3f54
fix braces
2014-09-04 09:40:50 -04:00
Paul Davis
38b806c02f
indent
2014-09-04 09:38:19 -04:00
Paul Davis
ef63f2421d
fix merge conflict resolution mistake in CairoWidget that used the wrong scope for render() call
2014-09-04 09:28:51 -04:00
Paul Davis
269567532e
fix up various waves widgets after the CairoWidget::render() API change
2014-08-17 14:40:16 -04:00
Robin Gareus
6da331394b
change the meters into CairoWidget, add expose_area to CairoWidget::render()
...
Conflicts:
libs/gtkmm2ext/cairo_widget.cc
libs/gtkmm2ext/fastmeter.cc
libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
libs/gtkmm2ext/gtkmm2ext/fastmeter.h
2014-08-17 14:28:10 -04:00
VKamyshniy
11d1c23b93
[Summary] Progressing time info box for tracks
2014-08-13 11:28:40 +03:00
Valeriy Kamyshniy
bb2d4457a9
[P4/git history rebuild] diff related to tracks different CairoWidget::render() API. This will likely need to be reverted in a future merge with Ardour (if this new render API is adopted within tracks)
2014-05-27 22:56:46 -04:00
Robin Gareus
ab44e41dfd
change the meters into CairoWidget, add expose_area to CairoWidget::render()
2014-03-20 23:50:40 +01:00
Paul Davis
e4e6010cd4
add on_name_changed() virtual method to CairoWidget
...
If a CairoWidget does not a GtkRC-defined style, then changing its name does not trigger on_style_changed(). Since we want to use CairoWidget::set_name()
to trigger changes in the rendering of a widget, this is ... bad. Adding on_name_changed() provides a workaround for that.
2014-03-06 09:44:33 -05:00
Paul Davis
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
Paul Davis
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