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

Target

Select target project
  • avn/swd/third-party/mxgui
1 result
Select Git revision
Show changes
...@@ -13,8 +13,7 @@ namespace mxgui { ...@@ -13,8 +13,7 @@ namespace mxgui {
// class SimplePlot // class SimplePlot
// //
SimplePlot::SimplePlot(Point upperLeft, Point lowerRight) : upperLeft(upperLeft), lowerRight(lowerRight), SimplePlot::SimplePlot(Point upperLeft, Point lowerRight) : upperLeft(upperLeft), lowerRight(lowerRight), font(defaultFont)
font(droid11)
{ {
foreground=white; foreground=white;
background=black; background=black;
......
...@@ -31,6 +31,8 @@ public: ...@@ -31,6 +31,8 @@ public:
void draw(DrawingContext& dc, const std::vector<Dataset>& dataset, void draw(DrawingContext& dc, const std::vector<Dataset>& dataset,
bool fullRedraw=false); bool fullRedraw=false);
void setFont(const Font& font) { this->font=font; }
Point upperLeft; Point upperLeft;
Point lowerRight; Point lowerRight;
Font font; Font font;
......
...@@ -25,11 +25,6 @@ ...@@ -25,11 +25,6 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> * * 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 "point.h"
#include "color.h" #include "color.h"
......