[root] / trunk / gui / ged / src / TGedPatternSelect.cxx Repository:
ViewVC logotype

Log of /trunk/gui/ged/src/TGedPatternSelect.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

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 45146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 20 09:47:48 2012 UTC (2 years, 6 months ago) by bellenot
File length: 19979 byte(s)
Diff to previous 44507
Draw triangle with right (black) GC when the pattern select is enabled (thanks Timur for reporting it)

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 43617 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 3 08:18:44 2012 UTC (2 years, 9 months ago) by bellenot
File length: 19970 byte(s)
Diff to previous 43606
Cosmetics

Revision 43606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 2 14:36:12 2012 UTC (2 years, 9 months ago) by bellenot
File length: 19969 byte(s)
Diff to previous 43315
Remove an extra kNone in GrabPointer (thanks Timur for reporting it)

Revision 43315 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 16:58:51 2012 UTC (2 years, 10 months ago) by bellenot
File length: 19976 byte(s)
Diff to previous 35527
Avoid patern overlapping the borders (thanks Timur for finding this)

Revision 35527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 12:27:01 2010 UTC (4 years, 4 months ago) by brun
File length: 19959 byte(s)
Diff to previous 32337
do not include snprintf.h

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 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 19968 byte(s)
Diff to previous 20882
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 19968 byte(s)
Diff to previous 20746
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20746 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 9 14:32:31 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 19968 byte(s)
Diff to previous 19826
Fix in TGedPatternSelect::ProcessMessage - parm1 should 
contain widget Id

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 19935 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 19999 byte(s)
Diff to previous 18869
remove :$ from tag line

Revision 18869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 23 15:43:31 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 20009 byte(s)
Diff to previous 17749
use "" instead of <> to include snprintf.h include.

Revision 17749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 09:00:41 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 20047 byte(s)
Diff to previous 15672
- removed obsolete class TGedToolBox
- cleanup of includes

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 15424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 13:57:28 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 20061 byte(s)
Diff to previous 13199
- add a second parameter Bool_t emit = kTRUE to SetPattern method

Revision 13199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 11 15:38:30 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 20032 byte(s)
Diff to previous 11827
From Ilka:
Fixes to make the rule checker happy

Revision 11827 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 20:39:39 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 19083 byte(s)
Diff to previous 10335
From Valeriy Onuchin:
- a common file RStipples.h for fill area stipples was introduced.
  That allowed to remove a lot of dupblicated code.
- small correction in TASImage class

new file base/inc/RStipple.h

Revision 10335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 10:13:46 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 25182 byte(s)
Diff to previous 9921
From Ilka:
Changes in TGedMarkerSelect, TGedPatternSelect, TGColorSelect to avoid double
emitting of signals.

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 9221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 16 08:58:35 2004 UTC (10 years, 7 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 25234 byte(s)
Diff to previous 8545
From Ilka:
- correct signatures of the PatternSelected() and MarkerSelected()
  signals so they be correctly connected to slots
- both signals were not emitted any time when the choice of
  pattern/marker was changed.

Revision 8545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 6 21:06:13 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 25166 byte(s)
Diff to previous 8322
small corrections in comments.

Revision 8322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 3 13:17:47 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 25228 byte(s)
Diff to previous 8307
From Valeriy:
fix for placement hatched pattern select popup and tooltips.

Revision 8307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 26 13:38:37 2004 UTC (10 years, 10 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 25179 byte(s)
Diff to previous 8288
From Valeriy Onuchin:
- fix for setting background color of stippled bitmap.
- slightly inhance drawing ged pattern frame

Revision 8288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 22 11:50:29 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 25203 byte(s)
Diff to previous 8259
From Ilka:
TGedMarkerSelect:::SavePrimitive
TGedPatternSelect:::SavePrimitive

- fix in a comment of TVirtualPadEditor.h about the name of the pad editor

Revision 8259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 14:52:29 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 24772 byte(s)
Diff to previous 8234
Fix portability problems on HP-UX/aCC

Revision 8234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 20:31:36 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/ged/src/TGedPatternSelect.cxx
File length: 24768 byte(s)
Diff to previous 8233
Add missing #include <snprintf.h>

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9