projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finish fix for 1801220. I forgot about the call to change the frame background back...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
dock_navigator.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp
b/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp
index
2e1947a
..
f002b66
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/dock_navigator.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/dock_navigator.cpp
@@
-2,7
+2,7
@@
/*! \file dock_navigator.cpp
** \brief Dock Nagivator File
**
/*! \file dock_navigator.cpp
** \brief Dock Nagivator File
**
-** $Id
: dock_navigator.cpp,v 1.3 2005/01/12 00:31:11 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-255,7
+255,7
@@
static double zoom_to_unit(double f)
}else return -999999.0;
}
}else return -999999.0;
}
-bool studio::Widget_NavView::on_expose_draw(GdkEventExpose *
exp
)
+bool studio::Widget_NavView::on_expose_draw(GdkEventExpose *
/*exp*/
)
{
//print out the zoom
//HACK kind of...
{
//print out the zoom
//HACK kind of...
@@
-462,7
+462,7
@@
bool studio::Widget_NavView::on_mouse_event(GdkEvent * e)
float max = abs((br[0]-tl[0]) / drawto.get_width());
float max = abs((br[0]-tl[0]) / drawto.get_width());
- if((
prev->get_width() / drawto.get_width()) < (prev->get_height(
) / drawto.get_height()))
+ if((
float(prev->get_width()) / drawto.get_width()) < (float(prev->get_height()
) / drawto.get_height()))
max = abs((br[1]-tl[1]) / drawto.get_height());
float signx = (br[0]-tl[0]) < 0 ? -1 : 1;
max = abs((br[1]-tl[1]) / drawto.get_height());
float signx = (br[0]-tl[0]) < 0 ? -1 : 1;