Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • cmake
  • master
  • miosix-2.7
  • plot-widget
4 results

Target

Select target project
  • avn/swd/third-party/mxgui
1 result
Select Git revision
  • cmake
  • master
  • miosix-2.7
  • plot-widget
4 results
Show changes
......@@ -13,8 +13,7 @@ namespace mxgui {
// class SimplePlot
//
SimplePlot::SimplePlot(Point upperLeft, Point lowerRight) : upperLeft(upperLeft), lowerRight(lowerRight),
font(droid11)
SimplePlot::SimplePlot(Point upperLeft, Point lowerRight) : upperLeft(upperLeft), lowerRight(lowerRight), font(defaultFont)
{
foreground=white;
background=black;
......
......@@ -31,6 +31,8 @@ public:
void draw(DrawingContext& dc, const std::vector<Dataset>& dataset,
bool fullRedraw=false);
void setFont(const Font& font) { this->font=font; }
Point upperLeft;
Point lowerRight;
Font font;
......
......@@ -25,11 +25,6 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#ifndef MXGUI_LIBRARY
#error "This is header is private, it can be used only within mxgui."
#error "If your code depends on a private header, it IS broken."
#endif //MXGUI_LIBRARY
#include "point.h"
#include "color.h"
......