Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=e1b9f6166ec1466d30f832871f8d2c0e3f1dd9c8

commit e1b9f6166ec1466d30f832871f8d2c0e3f1dd9c8
Author: James Buren <[email protected]>
Date:   Mon Apr 28 05:45:36 2014 -0500

drop protected fields.
the real implementation should define these. the exact fields
required varies depending on how the UI is designed.

diff --git a/src-new/ui.hpp b/src-new/ui.hpp
index e1dc07e..617fb98 100644
--- a/src-new/ui.hpp
+++ b/src-new/ui.hpp
@@ -25,27 +25,18 @@ class Widget

class Label : Widget
{
-       protected:
-               std::string text;
-
public:
virtual void setText(const std::string &newText);
};

class TextBox : Widget
{
-       protected:
-               std::string text;
-
public:
virtual void setText(const std::string &newText);
};

class EntryBox : Widget
{
-       protected:
-               std::string text;
-
public:
virtual void setText(const std::string &newText);
};
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to