Icons for file->export

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@233 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-03-23 22:02:57 +00:00
parent 0f8f8a3334
commit c0eb224386
8 changed files with 15 additions and 6 deletions
+5 -1
View File
@@ -160,7 +160,7 @@ void BarGraph::draw(RotatedDC& dc, int current) const {
}
// How many labels and lines to draw?
dc.SetFont(*wxNORMAL_FONT);
UInt label_step = UInt(max(1.0, dc.GetCharHeight() / step_height));
UInt label_step = UInt(max(1.0, (dc.GetCharHeight() + 1) / step_height));
// Draw backlines (horizontal) and value labels
dc.SetPen(lerp(bg, fg, 0.5));
for (UInt i = 0 ; i <= axis.max ; ++i) {
@@ -218,6 +218,10 @@ int BarGraph::findItem(const RealPoint& pos, const RealRect& rect1) const {
// ----------------------------------------------------------------------------- : Pie Graph
// ----------------------------------------------------------------------------- : Scatter Graph
// ----------------------------------------------------------------------------- : Graph Legend
// ----------------------------------------------------------------------------- : GraphControl