Mercurial > hg > octave-max
comparison src/graphics.cc @ 11239:5fa7667f90e5
Add prefix ID_ to property ids to avoid name clash on windows
author | Kai Habel <kai.habel@gmx.de> |
---|---|
date | Thu, 11 Nov 2010 15:01:03 +0100 |
parents | c0a95a5c6d25 |
children | 830b940e7ff4 |
comparison
equal
deleted
inserted
replaced
11238:1783b360976f | 11239:5fa7667f90e5 |
---|---|
2343 figure::properties& props = | 2343 figure::properties& props = |
2344 dynamic_cast<figure::properties&> (obj.get_properties ()); | 2344 dynamic_cast<figure::properties&> (obj.get_properties ()); |
2345 | 2345 |
2346 switch (id) | 2346 switch (id) |
2347 { | 2347 { |
2348 case base_properties::VISIBLE: | 2348 case base_properties::ID_VISIBLE: |
2349 if (! props.is_visible ()) | 2349 if (! props.is_visible ()) |
2350 { | 2350 { |
2351 send_quit (props.get___plot_stream__ ()); | 2351 send_quit (props.get___plot_stream__ ()); |
2352 props.set___plot_stream__ (Matrix ()); | 2352 props.set___plot_stream__ (Matrix ()); |
2353 props.set___enhanced__ (false); | 2353 props.set___enhanced__ (false); |