Corrected some indentation
This commit is contained in:
parent
3cc0f72389
commit
f8a2291118
1 changed files with 40 additions and 40 deletions
|
|
@ -43,18 +43,18 @@ namespace timeline {
|
||||||
|
|
||||||
TimelineRuler::TimelineRuler() :
|
TimelineRuler::TimelineRuler() :
|
||||||
Glib::ObjectBase("TimelineRuler")
|
Glib::ObjectBase("TimelineRuler")
|
||||||
{
|
{
|
||||||
set_flags(Gtk::NO_WINDOW); // This widget will not have a window
|
set_flags(Gtk::NO_WINDOW); // This widget will not have a window
|
||||||
set_size_request(-1, 20);
|
set_size_request(-1, 20);
|
||||||
|
|
||||||
// Install style properties
|
// Install style properties
|
||||||
timeScale = GAVL_TIME_SCALE / 200;
|
timeScale = GAVL_TIME_SCALE / 200;
|
||||||
timeOffset = 0;
|
timeOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
TimelineRuler::on_expose_event(GdkEventExpose* event)
|
TimelineRuler::on_expose_event(GdkEventExpose* event)
|
||||||
{
|
{
|
||||||
// This is where we draw on the window
|
// This is where we draw on the window
|
||||||
Glib::RefPtr<Gdk::Window> window = get_window();
|
Glib::RefPtr<Gdk::Window> window = get_window();
|
||||||
if(!window)
|
if(!window)
|
||||||
|
|
@ -97,14 +97,14 @@ TimelineRuler::on_expose_event(GdkEventExpose* event)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TimelineRuler::read_styles()
|
TimelineRuler::read_styles()
|
||||||
{
|
{
|
||||||
//background = WindowManager::read_style_colour_property(
|
//background = WindowManager::read_style_colour_property(
|
||||||
// *this, "background", 0, 0, 0);
|
// *this, "background", 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace timeline
|
} // namespace timeline
|
||||||
} // namespace widgets
|
} // namespace widgets
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue