Log of /trunk/gui/ged/src/TGedPatternSelect.cxx
Parent Directory
Revision
46934 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 31 14:48:52 2012 UTC (2 years, 2 months ago) by
tpochep
File length: 20875 byte(s)
Diff to
previous 45252
More pixel-hunting:
1. When it comes to tiny polygons and pixel-exact rendering, Quartz does not produce expected image
(well, it does with HiDPI, but HiDPI has additional problems). So I have to adjust small triangles in
a color selector and pattern selector widgets.
2. It's really bad idea to draw a rectangle first and then try to fill some area inside this rectangle,
trying not to overlap - this does not work with Quartz, so I have to invert the order: fill rectangle first
and draw outline later.
These fixes require ifdefs, ugly but inevitable, if you do some hardcoded pixel-based rendering as we do.
Revision
45252 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 27 10:36:51 2012 UTC (2 years, 5 months ago) by
tpochep
File length: 20099 byte(s)
Diff to
previous 45146
Modification for different popups: with cocoa I can not guarantee the stack order for borderless popup window
(it's "main" window can in some cases become main and key window and overlay popup).
With transient hint (which makes a popup window into a children of some other window) the problem is fixed,
now GUI does not fall to pieces at any unexpected user action.
Revision
44507 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by
axel
File length: 19980 byte(s)
Diff to
previous 43617
Remove
using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.
Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.
Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.
Revision
32337 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 12 16:09:35 2010 UTC (4 years, 11 months ago) by
pcanal
File length: 19981 byte(s)
Diff to
previous 23115
Fix warning with gcc 4.4.1 and -pendantic.
For RStipples.h the warning was:
error: overflow in implicit constant conversion
Revision
15672 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by
brun
Original Path:
trunk/ged/src/TGedPatternSelect.cxx
File length: 20073 byte(s)
Diff to
previous 15424
from Axel:
Change the signature of SavePrimitive from
void SavePrimitive(ofstream &out, Option_t *option);
to
void SavePrimitive(ostream &out, Option_t *option = "");
With this change one can do, eg
myhist.SavePrimitive(std::cout);
WARNING: do rm -f tree/src/*.o
Revision
9921 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 6 14:12:51 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/ged/src/TGedPatternSelect.cxx
File length: 25244 byte(s)
Diff to
previous 9221
From valeriy Onuchin:
- final fix for TGGCPool::FreeGC(const TGGC *gct).
o The statement in ged/src/TGedPatternSelect.cxx
"delete fDrawGC;" replaced by "fClient->FreeGC(fDrawGC);"
The rule is :
any TGGC allocated via TGClient::GetGC
must deallocated via TGClient::FreeGC (not by delete)
o correction in TGLineLBEntry::Update method
Revision
8233 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Wed Feb 18 20:13:43 2004 UTC (10 years, 11 months ago) by
brun
Original Path:
trunk/ged/src/TGedPatternSelect.cxx
File length: 24745 byte(s)
The following mega patch is from Ilka. She has integrated and further
developed the original classes from Marek Biskup (summer student last year)..
Valeriy Onuchin has also contributed by extending/adapting existing
GUI classes.
Very first prototype of the new pad editor is available for testing and
feedbacks. It was started by Marek Biskup as his project during the
Summer Student Program 2003.
The new pad editor helps ROOT GUI to become closer to the well known
application GUIs; to be user friendly, having easier and faster access
to the ROOT graphics, to be more intuitive. It is embedded in the
TCanvas window every canvas has an editor.
The editor frame is on the left side of the canvas window. The user can
show it via Edit/Editor menu selection. The editor frame contains a set
of picture buttons for selecting well known graphical primitives for
drawing; below them there are widgets for attribute changing. When an
object is selected its name appears with a set of options available for
changing: fill style and color; line style, width and color; text font,
size and style; marker style, size and color.
New Classes:
TGFontTypeComboBox - a combo box with fonts for a choice;
TGLineWidthComboBox - a combo box with line widths;
TGLineWidthLBEntry - list box entry for different line widths
TGLineStyleComboBox - a combo box with line styles;
TGLineStyleLBEntry - list box entry for a line style
TGedEditor - the new editor containing tool-box and attribute frames of
the selected object;
TGedToolBox - frame with picture buttons for a primitive drawing
TGedAttFrame - a base class for all attribute frames
TGedAttNameFrame - a frame showing the selected object name (if exists)
TGedAttFillFrame - a frame showing the fill attributes
TGedAttLineFrame - a frame showing the line attributes
TGedAttTextFrame - a frame showing the text attributes
TGedAttMarkerFrame - a frame showing the marker attributes
TGedPatternFrame - popup window for fill pattern selection
TGedPatternSelector - a button for pattern selection
TGedSelect - service class for selecting
TGedPopup - service class for popup attribute window
TGPatternSelect - a button for selected pattern
TGedMarkerPopup - popup window for marker selection
TGedMarkerSelect - a button for selected marker
Several changes are made in TCanvas, TPad, TRootCanvas to adapt them for
the new GUI interface. The old GUI interface is kept and it can be used
too. The class TPadEditorOld provides its functionality.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.