projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e5da551
)
Remove some debugging.
author
Carl Hetherington
<cth@carlh.net>
Thu, 18 Jul 2013 23:15:36 +0000
(
00:15
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 18 Jul 2013 23:15:36 +0000
(
00:15
+0100)
src/wx/timeline.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline.cc
b/src/wx/timeline.cc
index c50b89f6e84e35999b35346339cbae45714d9c30..6eba7f7936ceb619864f11552a4befaffa3b8ba3 100644
(file)
--- a/
src/wx/timeline.cc
+++ b/
src/wx/timeline.cc
@@
-45,7
+45,6
@@
public:
void paint (wxGraphicsContext* g)
{
void paint (wxGraphicsContext* g)
{
- cout << "base paint " << this << "\n";
_last_paint_bbox = bbox ();
do_paint (g);
}
_last_paint_bbox = bbox ();
do_paint (g);
}
@@
-146,8
+145,6
@@
private:
gc->SetBrush (*wxTheBrushList->FindOrCreateBrush (colour(), wxBRUSHSTYLE_SOLID));
}
gc->SetBrush (*wxTheBrushList->FindOrCreateBrush (colour(), wxBRUSHSTYLE_SOLID));
}
- cout << "paint " << static_cast<View*> (this) << " " << _content.get() << " @ " << time_x (start) << "\n";
-
wxGraphicsPath path = gc->CreatePath ();
path.MoveToPoint (time_x (start), y_pos (_track) + 4);
path.AddLineToPoint (time_x (start + len), y_pos (_track) + 4);
wxGraphicsPath path = gc->CreatePath ();
path.MoveToPoint (time_x (start), y_pos (_track) + 4);
path.AddLineToPoint (time_x (start + len), y_pos (_track) + 4);
@@
-357,7
+354,6
@@
Timeline::paint (wxPaintEvent &)
gc->SetFont (gc->CreateFont (*wxNORMAL_FONT));
gc->SetFont (gc->CreateFont (*wxNORMAL_FONT));
- cout << "painting " << _views.size() << "\n";
for (list<shared_ptr<View> >::iterator i = _views.begin(); i != _views.end(); ++i) {
(*i)->paint (gc);
}
for (list<shared_ptr<View> >::iterator i = _views.begin(); i != _views.end(); ++i) {
(*i)->paint (gc);
}
@@
-373,7
+369,6
@@
Timeline::playlist_changed ()
return;
}
return;
}
- cout << "clearing views.\n";
_views.clear ();
Playlist::ContentList content = fl->playlist()->content_with_loop ();
_views.clear ();
Playlist::ContentList content = fl->playlist()->content_with_loop ();