aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
2003-10-07fixed for macosxconversy
2003-10-05Changed scrollbar support code so that it can worklecoanet
with tcl and perl-tk.
2003-10-03Added code to propagate updates on tk images.lecoanet
Added code to construct the valid region of an image (shaped) even if TkPhotoGetValidRegion is not available (perl or not a photo). Added a fun telling if a point is on the active area of the image. Changed the internal api for using images to match the changes above. A tkfont reference is kept for each txf using the font so that the font can be freed if no longer used. Use of the max texture size is now reliable and texture allocation for fonts start with the largest tex and increase the tex height from 64 to the max tex limit. This seems to work ok for large fonts.
2003-10-03Fixed a core in icon Pick method when the image is not specified.lecoanet
2003-10-02Added the -tracksymbol option to be used as a default forlecoanet
the -symbol attribute for tracks. Updated the option code to follow the new image behavior. The scrollbar protocol in perl has been slightly debugged but still won't work, more on this later. Update the font code to load fonts infos (GL) only when receiving the realize event.
2003-10-02Exports ZnDamageAlllecoanet
2003-10-02Tiles and patterns are now updated if their images change.lecoanet
Corrected a bug in rectangle tiling (textures) under openGL when optimizing for aligned rectangles.
2003-10-02Changes in the Image api and addition of ZnPointInImage.lecoanet
2003-10-02Changed the ZnConfigureAttributes api.lecoanet
2003-10-02Changed the CONICAL gradient parameters. If only one value is givenlecoanet
it is taken for the gradient starting angle, the center being 0,0. If two values are given, they are taken as the gradient center, the starting angle being 0. If three values are given they are the gradient center followed by the gradient starting angle. If four values are given, they are two points defining the center and the angle/extent of the gradient (vector based definition).
2003-10-02Added a macro for ZnPointInRegionlecoanet
2003-10-02New variable for -tracksymbol optionlecoanet
2003-10-02The patterns and icons are updated when images change.lecoanet
The font texture is loaded when doing the first drawing. Changed the api of ZnConfigureAttributes.
2003-10-02Now patterns are automatically updated iflecoanet
their images changed. Changed the ZnConfigureAttributes api. The texture font allocation is postponed until need for drawing. At that time the GL engine is guaranteed in the right state.
2003-10-02Now patterns and symbols are automatically updatedlecoanet
if their images changed. Changed the ZnConfigureAttributes api. The current position symbol is now correctly read from the -tracksymbol option and not statically fixed.
2003-10-02Changed the ZnConfigureAttributes api.lecoanet
2003-10-02Adaptation of ZnConfigureAttributes to obtain the itemlecoanet
and the attribute record. This enable the configuration of attributes from fields even if the item record is needed.
2003-10-02Replaced the fopen/fclose/fread api by the corresponding Tcl_Channellecoanet
api for reading videomaps. This enable using zinc and data right from starkits.
2003-10-02Change in the api of ZnConfigureAttributes.lecoanet
2003-10-02Tiles are updated when their images are changed, the tk imagelecoanet
update mecanism is now fully fonctional. Picking of shaped icons is know correct in all cases including rotated icons in both X and GL environments.
2003-10-02Tiles and markers are updated when their images are changed, the tk imagelecoanet
update mecanism is now fully fonctional.
2003-10-02Tiles are updated when their images are changed, the tk imagelecoanet
update mecanism is now fully fonctional.
2003-06-16Added a syntax describing the center and angle for conicallecoanet
gradients.
2003-06-16Use of the new ZnGetGradientPixel when possible.lecoanet
Adaptation for the new gradient structure. Added the processing of conical gradients. Simplified gradient preparation only one function need to be called ZnComputeGradient.
2003-06-16Simplification of gradient prep.lecoanet
2003-06-16Changes in the structure to match the vector syntax andlecoanet
the new gradient type.
2003-06-16 * Added a new gradient type: conical which is describedlecoanet
by a center and an angle or a vector. * Added alternative vector based gradient syntax. This is effective in axial and radial gradient types. * (ZnGetGradient): angle, position, control can be real numbers
2003-06-16 * Use of the new ZnGetGradientPixel when possiblelecoanet
* (ZincObjCmd): Fixed a core dump when destroying zinc after an error occured during the first Configure. The tesselator got inited a bit late.
2003-06-16Added a new quality grade for circles ZN_CIRCLE_FINERlecoanet
2003-06-16Simplified the grdient prep/drawing interface.lecoanet
Use of the new ZnGetGradientPixel function in X. Added an optimized case for tile filed rectangles when they are aligned with the pixel matrix (openGL). This can dramatically boost performances on some applications.
2003-06-16Use of ZnGetGradientPixel in X.lecoanet
2003-06-16 * Simplified the gradient prep/drawing interface.lecoanet
* Use of the new ZnGetGradientPixel function in X * (Pick): Changed the picking method used for curve interiors. The new one is based on triangle strips/fans not on the outlines.
2003-06-16Simplified the gradient routines interface.lecoanet
Use of the new ZnGetGradientPixel instead of ZnGetGradientColor in X.
2003-05-16*** empty log message ***lecoanet
2003-05-16Fix the fix for Rendering text under ptk....hmmmm!!lecoanet
2003-05-16Commented out the utf8 conversion in Render (ptk)lecoanet
2003-05-16*** empty log message ***lecoanet
2003-05-16Added support for vector style specification of gradientlecoanet
2003-05-16Modification of gradient syntax to support vector style specificationlecoanet
2003-05-16 * (ComputeCoordinates): Modified the processing oflecoanet
the white space/tab causing a line break when a -width limiting atribute is in effect. The extra space used to be located at the beginning of the new line. Now it is suppressed. Other white spaces are still displayed at the begining of the line. The new behavior seems more natural.
2003-05-16 * (Destroy): Added a test on the patterns used inlecoanet
the symbol list before destroying them.
2003-05-16 * Fixed a bug on MAX_CHAR preventing display of accentedlecoanet
letters (the most useful ones. * (ZnImageTex): Alpha can be safely (?) loaded both for perl/tk and tk. This is valid only under GL. * (SuckGlyphsFromServer): Trapped a potential problem with some fonts reporting zero width. Improved error report. The maximum width was computed on M and W. If those characters were missing, a zero pixmap allocation occured. Now the max width is computed on the real characters.
2003-05-16 * (ZnCompute...Gradient): Stopped trying to be clever aboutlecoanet
which contour should contribute to the gradient extent. All contours are considered regardless of their direction. This fix a bug on many curve whose first (main contour) is described clockwise.
2003-05-09 * (PickCurrentItem, DoEvent): Fixed a couple of problems inlecoanet
Enter/Leave generation during grabs. * Fix a segfault occuring when asking for the ancestors of an unknown item. * In Contour, the contour reverting was done on the shared point array given by GetClipVertices/GetContours, not on the new unshared array. * It is now possible to add a polygonal (non simple) contour from an item that export only the GetClipVertices method. In the past it was only possible to add bounding boxes via this method. This is important for rotated rectangles for example.
2003-05-09 * (ZN_GRABBED_PART): Added to obtain the right Enter/Leavelecoanet
behavior in fields during a grab.
2003-05-09 * (Render): Fixed the pattern filling under openGL. Stipplinglecoanet
can't be used to fill patterns. Now texture mapping is used instead. As a side effect -fillpattern and -tile use the same internal variable reducing memory requirements.
2003-05-09*** empty log message ***lecoanet
2003-05-09 * (ZnGetLeaderAnchors): Corrected a core dump on some bad syntaxlecoanet
cases.
2003-05-09 * (ZnImageTex): in perl/Tk, alpha need to be set to 255 everywhere inlecoanet
the image due to limitation in Tk 8.0.
2003-05-09 * (RenderField): Fixed the pattern filling under openGL. Stipplinglecoanet
can't be used to fill patterns. Now texture mapping is used instead. As a side effect -fillpattern and -tile use the same internal variable reducing memory requirements. * (FieldsEngine, RenderField, DrawField): Changes to enable cursor drawing even if the empty string is displayed.