aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
2004-10-13Changed the border line size to obtain solid lines in GLlecoanet
2004-10-04Fixed a core dump occuring when a 0 widthlecoanet
text is scaled or rotated (under X).
2004-09-21One more attempt towards a truly working GL initializationlecoanet
code.
2004-09-17Added a test on the bounds of the field index in command bbox.lecoanet
2004-09-17Edited imte structure to trim out unused variables.lecoanet
2004-09-16The optimized code for drawing arcs with X11 is now limited to fulllecoanet
extent non rotated arcs (full ellipses aligned on axes). This will improve the coherence between X11 and openGL quite a lot. At the same time it fixes long standing bugs in partial arc handling with X11.
2004-09-09Fixed a bug in the parsing of find enclosed/overlapping arguments.lecoanet
The recursive flag was mixed with the inGroup argument. Added a test to the bbox method argument parsing to trap permutation of options (-label -field) and tagOrId specifications.
2004-09-09Tentatively fixed a find enclosed/overlapping bug related tolecoanet
whether the search is recursive or not.
2004-09-09Suppressed forgotten traces in gradient code.lecoanet
2004-07-30*** empty log message ***lecoanet
2004-07-30Fixed a problem in GL init code which prevented zinc fromlecoanet
working with Mesa. A (hopefully) more useful warning is emitted when openGL rendering is not good enough (most often 24 bits buffer or stencil not available). Tweaking and bending in the openGL init code to make it work better.
2004-07-28Changed the group picking code to enable correct picking with alecoanet
complex clipping shape. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS: ' are removed automatically CVS: committing files: CVS: /home/lecoanet/TCLTK/Tkzinc-3.2.99/generic/Group.c CVS: CVS: Type C-c C-c when done or C-c C-d to abort. CVS: ----------------------------------------------------------------------
2004-07-28Fixed the font loading code when compiling for perl 800.lecoanet
The error prevented the correct encoding of codes > 127.
2004-07-28Fixed processing of extended gradient syntax (vector basedlecoanet
specification) which was completly wrong for axial gradients. Fix some other minor bugs in gradient structure initialisation. CVS: /home/lecoanet/TCLTK/Tkzinc-3.2.99/generic/Color.c CVS: CVS: Type C-c C-c when done or C-c C-d to abort. CVS: ----------------------------------------------------------------------
2004-05-19Changed the extent of some GL ifdef so that the file compilelecoanet
without GL defined.
2004-05-19Declared extern the external vars, Ooops.lecoanet
2004-05-19Fixed te core dump under openGL. The code wasn't adapted forlecoanet
the deferred font loading, ooops.
2004-05-19ZnGLMakeCurrent: Added code to select a valid context from the widget listlecoanet
for the display when no widget is passed in. This is the case when freeing image or font texture. Enabled the context freeing for the last widget on a given display. Both patches together should fix the crash on MacOS.
2004-05-19Fixed a bbox initialisation bug when the text is empty.lecoanet
2004-05-14Suppressed the fieldbbox command. It has been merged with bbox andlecoanet
can be called by the -field and -label options.
2004-05-14Restored the locally defined X function prototypes. They arelecoanet
really needed under windows (Perl).
2004-05-14Suppressed the uneeded inclusion of tkFont.hlecoanet
2004-05-10*** empty log message ***lecoanet
2004-05-10Suppressed all OutputDebugString traces.lecoanet
Fixed the GL redrawing problem occuring under Windows after a window move and under Linux when the window was clipped by the screen border. The graphic context is freed when no longer needed, (no more zinc windows on a given display). This code is suspended on Linux because of a problem (perhaps in nvidia driver) causing a random) crash of the server. Fixed under Windows the problem of activating a GL context for freeing resources after the destruction of a widget. Now a list of active widgets is kept and the code activate a remaining widget in the same context. Fixed default GL font loading.
2004-05-10*** empty log message ***lecoanet
2004-05-10Reworked once more the font loading code to fix a buglecoanet
occuring under windows. This time GL fonts loading is deferred to just before drawing. This fix the drawing problem that occured the first time a window was mapped (and may be other problems has well).
2004-05-10Changes to remove Windows warnings.lecoanet
2004-05-10Changed the point when the GL fonts are loaded. It is nowlecoanet
at init or configure time (there is a deferring list).
2004-05-07Slightly rearranged the init sequence for openGL. This willlecoanet
ensure that render will be reset has soon has possible if GL is not there. It will _stay_ set if we discover later that GL is not available. This will fix a rather bewildering situation when using images: The image is created for GL, then all of a sudden accessed in an X11 context. Fixed the event emitting code so that enter/leaves are not emitted (or omitted) out of sequence.
2004-05-07Suppressed traceslecoanet
2004-05-07Fixed a typo in the class structurelecoanet
2004-05-07Changed the GL line width of borders. This should shut uplecoanet
a trace leaving bug observed in some cases.
2004-05-07Fixed a bug when trying to draw an unkown character in GL.lecoanet
2004-05-03Fix a very nasty memory bug under Perl/Tk windows.lecoanet
2004-04-30Added cast for a clean compile under Windowslecoanet
2004-04-30Adaptation for compilation on Windows and Perl.lecoanet
Creation of new global variables including the tesselator and the temporary lists. The tesselator common code is now in this module. Introduction of the new option configuration code for Perl/Tk 804 and Tcl. The Perl/Tk 800 code still use the old API. Reworking of the initialisation and switching of the drawable, backbuffer and openGL contexts. The initialisation is now done when receiving the map event. This still is not perfect on Windows. Fixed the scrollbar protocol. It should now work like the canvas in all configurations. Fixed the Coords command. It now correctly returns a point as a flat list when requested a single point or when the item has only one coordinate. Some cast to smooth out the compile on Windows. Changes in the signature of ZnAttributesInfo. The scissors used when redrawing in openGL are desactivated during resize and expose. It doesn't work when under those conditions. In Windows a full redraw is forced when entering the window to compensate for the same bug after a window move.
2004-04-30Rewritting of the font texture code.lecoanet
Adaptation of the code needing GL context activation.
2004-04-30Introduced a new Tcl_ObjType "attribute" that is able tolecoanet
cache the attribute look up from one invocation to the other. This could speed up slighty the code. Available only in Tcl.
2004-04-30New ZnQueryAttribute signaturelecoanet
Reworked class structure. Some casts for a smooth compile on Windows. Use of TkPutImage instead of XPutImage for Windows portability. Use of the new global variables. Change in the Render method to reflect the new text drawing code.
2004-04-30New ZnQueryAttribute signaturelecoanet
Reworked class structure. Some casts for a smooth compile on Windows. Use of TkPutImage instead of XPutImage for Windows portability. Use of the new global variables.
2004-04-30Adapted the ZnTexGVI structure and the public API for the newlecoanet
GL font code.
2004-04-30Added new global variables extracted from the widget structure.lecoanet
2004-04-30Adapted the structure to the needs of the new configurationlecoanet
code. Global resources (tesselator, temporary lists, etc) have been extracted. Fixed the scroll commands type.
2004-04-30Reworked for Windows clean compile. This is not thatlecoanet
successful yet.
2004-04-30Changed types between ZnReal and float. Added some casts. Thislecoanet
smooth out the compile process on Windows. We only need float precision anyway.
2004-04-30Descativated the modulelecoanet
2004-04-30Modification of the ZnQueryAttribute signature.lecoanet
Reworking of the class structure. Adaptation to use the new global variables. Casts for Windows compile. Suppressed the Coords method. Now the Coords command in tkZinc.c handle the lack of the Coords method in an item.
2004-04-30Needed the glu header.lecoanet
2004-04-30Casts for Windows compile.lecoanet
2004-04-30Added some casts for a smooth compile on Windows.lecoanet
Adaptations to make use of the new global variables. ZnRenderFancyString function suppressed. Rewritten ZnRenderString and ZnRenderGlyph.