all repos — fluxbox @ f5ed316411c9c7d713f8f80be9a21bbc6b692b2c

custom fork of the fluxbox windowmanager

init vars
fluxgen fluxgen
commit

f5ed316411c9c7d713f8f80be9a21bbc6b692b2c

parent

08f6ca0514de8e24fb98e6a8b057598fc70ebd64

1 files changed, 9 insertions(+), 2 deletions(-)

jump to
M src/FbTk/Color.ccsrc/FbTk/Color.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Color.cc,v 1.6 2003/08/29 00:58:20 fluxgen Exp $ +// $Id: Color.cc,v 1.7 2004/01/09 01:54:37 fluxgen Exp $ #include "Color.hh"

@@ -41,12 +41,17 @@

namespace FbTk { Color::Color(): + m_red(0), m_green(0), m_blue(0), + m_pixel(0), m_allocated(false), m_screen(0) { } -Color::Color(const Color &col_copy):m_allocated(false), m_screen(0) { +Color::Color(const Color &col_copy): + m_red(0), m_green(0), m_blue(0), + m_pixel(0), + m_allocated(false), m_screen(0) { copy(col_copy); }

@@ -58,6 +63,8 @@ allocate(red, green, blue, screen);

} Color::Color(const char *color_string, int screen): + m_red(0), m_green(0), m_blue(0), + m_pixel(0), m_allocated(false), m_screen(screen) { setFromString(color_string, screen);