Commit graph

105 commits

Author SHA1 Message Date
d964e98601 style-adjustment: GUI namespaces
it is a widely accepted rule to shape names with the usage site in mind.
Especially this means, that we use the singular form for all kinds
of collections and assortments.

Thus, the namespace should be called "widget" not "widgets",
because at usage site this becomes gui::widget::TimelineWidget

Likewise for "dialogs" and "pannels"
2015-05-28 18:47:25 +02:00
b6d131bc35 Start remoulding the Timeline display: mark deprecation (#955)
Mark parts of the timeline state handling which will certainly
not be retained: any part where the GUI widgets "hold" some kind
of model. GUI widgets shall be *mapped upon* a model representation
and *wired* with callbacks.

Especially I am suspicious when GUI presentation code "reaches into"
any kind of model data structure to find out something. It should
be the other way round (dont call us, we call you)
2014-10-17 03:01:11 +02:00
Michael Fisher
7e6eff9e6a gtk3: timeline widget uses 'get_visible' instead of 'is_visible' 2014-10-05 07:49:57 +02:00
Michael Fisher
c64de14fbf Changes to allow the gtk3 GUI to at least build.
Lots off commented out blocks of code
but most issues are related to simple function name changes,
set/get_flags calls, anything that has to do with a Gtk::Style...

Plan of attack from here is to go one-by one of each commented-out or code and update to gtk3 specs.
2014-10-05 07:49:57 +02:00
f02481bb90 fix include order in GUI headers
the rules are:
- our own headers go before any library headers
- all headers need to be spelled relative to include root
- ensure that gtk is always included via gui/gtk-base.hpp
2014-08-17 07:02:48 +02:00
7be1b7d35d Switch from TR1 preveiw to the new standard headers
- functional
- memory
- unordered collections
2014-04-03 22:42:48 +02:00
d6fa67f2b8 refactor zoom smothing into TimelineViewWindow 2011-11-27 01:28:48 +01:00
a6392f5d14 review and annotate design aspects regarding zoom handling 2011-11-27 00:52:10 +01:00
Michael R. Fisher
0aa3ca76d1 Created and Applied TimelineWidget::ZoomSmoothing 2011-10-23 04:45:10 -05:00
Michael R. Fisher
6046749f19 Integrating time::Control into ibeam tool. 2011-10-22 21:48:57 +02:00
2730fa8d7a a bit of stylistic cleanup
- using std::tr1::shared_ptr in namespace gui
- thus removing a lot of std::tr1 qualifications
- fix some includes. Should be relative to 'src'
- interface classes should declare a virtual dtor!
2011-10-22 02:49:30 +02:00
Michael R. Fisher
9a1987ba24 Ticket #796: Switch GUI from boost::shared_ptr to std::tr1::shared_ptr.
ParentTrack and TimelineLayoutHelper need to be fixed
2011-10-22 01:26:24 +02:00
Michael R. Fisher
f851c875ed Zoom Slider Position remains after a sequence change 2011-10-11 14:39:20 -05:00
5905fdf0cb change definition of TimelineStateChangeSignal
the timeline-state-change signal now delivers
the new TimelineState object immediately, instead
of requiring the listeners to pick it up
2011-10-10 00:08:50 +02:00
Michael R. Fisher
e0463da204 Added TimelineZoomScale widget 2011-10-06 22:58:50 +02:00
7656e5d500 adapt GUI to use the new Time framework 2011-05-16 08:38:01 +02:00
Stefan Kangas
7f615d734f WIP: make clips selectable in timeline 2011-01-14 16:57:34 +01:00
Stefan Kangas
5c4992310e several style fixes, underscore to camel case 2011-01-14 16:57:34 +01:00
Stefan Kangas
7500732976 Move Clips for ClipTracks to the GUI model. 2011-01-14 16:57:33 +01:00
Stefan Kangas
3f4c7a5e46 Spelling and style fixes 2011-01-14 16:57:33 +01:00
Stefan Kangas
aed9193cfa Move clip name and duration to GUI model. 2011-01-14 16:57:33 +01:00
3f1b7651e9 GPL header whitespace 2010-12-17 23:28:49 +01:00
Joel Holdsworth
5bfdf73f7d Replaced gavl_time_ts with lumiera::Times 2009-08-30 16:26:27 +01:00
Joel Holdsworth
1ce8a626eb Resolved some Gtk container warnings 2009-04-14 21:40:58 +01:00
Joel Holdsworth
8b3b6a263f Fixed destruction bug 2009-04-13 16:42:58 +01:00
Joel Holdsworth
390354ea8a Added support for no-state mode to TimelineWidget 2009-03-28 18:24:53 +00:00
Joel Holdsworth
7766a223eb Finished TimelineState work 2009-03-28 18:24:53 +00:00
Joel Holdsworth
249380fed0 Factored the state out of the timeline widget 2009-03-23 22:22:14 +00:00
Joel Holdsworth
ec78f73ca9 Timeline scroll is updated as the layout changes 2009-01-24 14:41:32 +00:00
Joel Holdsworth
69253909e3 Initial drop code added 2009-01-21 23:48:56 +00:00
Joel Holdsworth
7a939e5d87 Added header dragging scroll slide animation 2009-01-17 11:09:44 +00:00
Joel Holdsworth
dbc36cf727 Reorganised set_parent in header container 2009-01-10 10:50:44 +00:00
Joel Holdsworth
06f2abb6fa Transitioned TimelineWidget to use on_layout_changed 2009-01-09 20:02:09 +00:00
Joel Holdsworth
22c9e8b082 Merge branch 'master' of git.lumiera.org:/git/LUMIERA into gui 2009-01-05 17:59:23 +00:00
Christian Thaeter
9749178a06 Add some missing semicolons, the upcoming NoBug will be picky about that 2009-01-05 08:33:15 +01:00
Joel Holdsworth
cd94bf9765 Transitioned TimelineBody and timeline tools to having reference to
TimelineWidget not pointers
2009-01-02 16:32:40 +00:00
Joel Holdsworth
6bfef606a0 Transition TimelineRuler to have a reference to TimelineWidget not a
pointer
2009-01-02 16:21:52 +00:00
Joel Holdsworth
bf0cfc295e Transitioned TimelineHeaderContainer to having a reference to
TimelineWidget, not a pointer
2009-01-02 16:15:42 +00:00
Joel Holdsworth
643e1c9be1 Fixed an undefined constant 2009-01-02 15:26:12 +00:00
Joel Holdsworth
1c685a2d61 Added a new layout update infrastructure 2009-01-02 13:03:00 +00:00
Joel Holdsworth
e3a7b896d0 Removed debug g_message calls 2009-01-02 00:45:20 +00:00
Joel Holdsworth
afb5b7298f WIP: Applying new layout system 2009-01-01 18:43:46 +00:00
Joel Holdsworth
8d092d3b85 Added TimelineLayoutHelper::clone_tree_from_sequence 2008-12-31 17:05:32 +00:00
Joel Holdsworth
4af80c78d8 Reimplemented nested track deleting so it work correctly 2008-12-30 21:50:18 +00:00
Joel Holdsworth
8cb48a7298 Squished a whole load of warnings 2008-12-30 12:35:58 +00:00
Joel Holdsworth
b4ce796c94 Added track name setting 2008-12-27 22:02:18 +00:00
Joel Holdsworth
33afd58b8e Converted all ASSERTs to REQUIREs 2008-12-26 18:58:29 +00:00
Joel Holdsworth
992cd4d77b Added remove track feature 2008-12-20 14:31:11 +00:00
Joel Holdsworth
3dd30c848d Added a const 2008-12-20 11:51:54 +00:00
Joel Holdsworth
aafa600422 Modified trackMap to map shared_ptr<model::Track> not model::Track* 2008-12-20 11:45:23 +00:00