mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user