/
changelog.txt
824 lines (741 loc) · 37.3 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
CHANGELOG
20/09/2021 0.43.8
// Changes
- rotation For curve/line use now \rot. The rotation is no more calculated on point.
- procedure_draw : now, I use VdDrawShape1(vo,j) in all Procedure, To get the same resulat To draw the sahpe, its border selection...
// fixes
- rotation + curve/lien : the selection border wasn't correct
19/09/2021 0.43.6
// fixes
- fixe some bug With rotation And parenting (Not finished)
16/09/2021 0.43.5
// New
- add menu shape : verify all shapes
- add Shape_UpdateParenting() To update parenting If needed
// Changes
- doc_save() : add "sub-version" (ex : 0.43.3-> version = 0.43, sub-version = 0.003 (3*0.001))
- doc_save() : add parent\startx, starty, startRot
// Fixes
- parenting move : when a shape has a parent, it should be used in parenting For its children
- doc_open() : parenting isn't updated and used. if version is <0.43.2 -> set "start" parenting with x\y\rot of parent (see Shape_UpdateParenting())
- doc_open() : when merge, camera of merged file shouldn't be replace the camera of the current file
- doc_open() : add verification (camera And If shape is ok)
- doc_New() : when erase all (new doc), verify some camera parameters
- deparenting : fix a bug when deparenting With position
15/09/2021 0.43
// New
- Shape_CheckIfShapeIdOk(j,i,confirm=0) : To verify And delete a shape If Not ok (ex : name = "", w & h = 0, etc)
- panel Edit : add gadget : rotation (we can change shape rotation)
- panel Edit : add scrollareagadget
// Changes
- when create some shape (box, ellipse, image..) the sizeW\H is now 10x10 (was 5x5)
- panel Edit : add framegadgets And do lots of changes With (positon, size, section (editor, properties, Debug infos, center...))
// Fixes
- fixe some parenting bugs With rotation (Not finished)
- when create shape (box, ellipse), gadgets size aren't updated.
- when change size (box, ellipse, image), gadgets size aren't updated.
- Rotation isn't centered (box, ellipse, image)
- preference\interface : text isn't seen full (movetool can move, beta..)
- ResizeImageProportion() : fixe a bug when image W Or H =0
- toolbar : butons new, open, save shouldn't have "toggle" option.
14/09/2021 0.42.7
// New
wip beta - add parenting With rotation (Not finished)
- Gradient : add buton To open a window gradient
- Gradient : we can change gradient For the shape, With window gradient (Not alpha For the moment And only 2 colors)
- add Shape_SetColorGradient(m,mode=0,i=0,r=0,g=0,b=0,a=0) To set gradient color To shape
- SaveGradient(i) (copy from animatoon gradient) And make changes To adapt For cartoon
- add WinGrad_UpdateGradient() (copy from animatoon gradient) And make changes To adapt For cartoon
- add WinGrad_EventGradient() (copy from animatoon gradient) And make changes To adapt For cartoon
// changes
- Shape_SetPropertie() : the lineW/H can be=0 now (before it was at least>=0.01)
- VDDrawShapeColor() : For gradient linear : add viewx/y, change the gradient position x1,y1,x2,y2
13/09/2021 0.42.1
// New
- menu\file : add export group As images
- export group of shapes As separate images
13/09/2021 0.42
// New
- tool move can Select Or Not (in option in preference window)
- options : add "beta" (To have the beta features (which could be Not finished sometimes)), toolmovecanselect (in option)
// Changes
- beta feature : merge 2 shapes
- Shape_GetShapeIdSelected() : To know If we have at least 1 shape selected (add a mesage If Not)
- window preference : add gadget For option : toolmovecanselect, beta
- VD_Addpoint(Mode=0) : add info when no point are selected
- menu #menuVD_PtSelectAll : add info when the shape isn't in editmor "point edition"
// Fixes
- fixe a crash when use "delete point" With no point selected (And add a message)
- fixe a crash when use VD_MovePoint() With no point selected (And add a message)
- when use menu\lock With no shape selected, the gadget should be disabled
12/09/2021 0.41.7
// Fixes
- procedure_draw : fixe selection border bug With curves shape (If \open Or Not...)
11/09/2021 0.41.6
// New
- menu view : showboundingboxselection, showshapebbox
- procedure_draw.pb : add show boudingbox (Select And shape) only If vd_options\showboxselect And vd_options\showshapeboundingbox
// Fixes
- when add an object With bank (on the canvas), the VD_options\pathopen And windowtitle should Not be changed
- when add an "object" With bank (on the canvas), If we don't clic on the image to select the object, we have an error message.
- procedure_draw : fixe the selection border With shape With broken points
10/09/2021 0.41.4
// New
- Doc_Open() : add obj\clip,ClipW,ClipH,clipborder,bordercolor\alpha,color\alpha,hide
- Doc_Open() : add camera parameters loading
// fixes
- OpenWindow_Sceneproperties() : when change camera id, -> gadgets should be updated
- Doc_save() : obj\shape\pt\broken, mdpt, werent' saved.
- Merge_shape : the merged shape wasn't at the good place.
09/09/2021 0.41
// New
- Scene_Export() : add the layers clipping
- Doc_save() : add camera parameters
- Doc_save() : add obj\clip,ClipW,ClipH,color\alpha,hide,clipborder,bordercolor\alpha,
- OpenWindow_Sceneproperties() : add butons : + And save
- OpenWindow_Sceneproperties() : add camera preset To the Array Vd_camera()
- VD_ExportPresetCamera() To export camera As camera preset
- If clic on gadget layer clipColor Or clipBorderColor, it open a colorequester To change the color
// Fixes
- mode edition Point (line,box) : Select & move a point should use -obj(objid)\x,y
- mode edition Point (curve) : Select & move a point And the other Point (anchor, tangeant..) should use -obj(objid)\x,y
- Shape_AddPoint() : fixe some bug when create a point With mode =1 (create To nearest point)
- vdOptions\Action = #VD_actionAddLine + ctrl : should use -obj(objid)\x,y
- vdOptions\Action = #VD_actionAddLine without ctrl (create line): should use -obj(objid)\x,y
- shape_Add() (create (ellipse, box, image, line, curve)) : should use x = x -obj(objid)\x & y =y-bj(objid)\y
- line free Create/addpoint : should use -obj(objid)\x,y
- Curve free Create/addpoint : should use -obj(objid)\x,y
- curve (bezier) addpoint : should use -obj(objid)\x,y
- create some shapes (box, ellipse) should use -obj(objid)\x,y when mousemove To set its size.
08/09/2021 0.40.5
// New
- Add windowInfos_Create(), windowInfos_update(), windowInfos_Close() : To add a window For waiting when chargement Or saving too long.
- add font arialbold20
- VD_CreateTheGadgets() (Panel layer) : add gadgets For clipping (clipborder, bordercolor\alpha, And color\alpha,hide)
- Structure sObj : add clip,ClipW,ClipH,clipborder,bordercolor\alpha,color\alpha,hide. Change SizeW\H To ClipW\H
- Enumeration : add For layer clip gadgets
- add folder : presets\camera To add camera presets
// Changes
- UpdateListBank() : Add windowInfos_Create(), windowInfos_update(), windowInfos_Close()
- VD_layerAdd() : add obj\clipborder,bordercolor\alpha,color\alpha,hide
- ShapeGetProperties() : update new gadgets For layer
- VD_DrawScene() : when use layer-clipping, we have To use +obj()\x,y To get selecting shape.
// fixes
- some little fixes
- clic To Select shape doesn't use the obj()\w,h,x,y parameters.
07/09/2021 0.40
// New
- add DrawObjClipping(m) in drawcanvas() And add clipping
- VD_CreateTheGadgets() (panel layer) : add gagdet Clip, sizeW, SizeH
- Scene_Export() : add argument selected, To export selected only
- menu File : add export image (selected shapes)
- VD_layerAdd() : add obj\clip, clipW, clipH
// Changes
- VD_DrawScene() : - obj()\x,y To Select-shape algorithme (isinsidepath...)
- ShapeGetProperties() : update new gadgets For layer
- ShapeGetProperties() : update new gadgets For layer
// Fixes
- when create a layer, its name is "objet" Not "layer"
- Doc_open() : the gadget layer arent update.
- Scene_Export() : add VD_ShapeCoord() For each object rendered, To use the obj()\x,y,w,h
- Scene_Export() : save in jpg was saved in png.
- when use tool selection +shift, we can't add a shape to current selection
- clic on layer didn't always update the layer parameters if there is no shape selected
- draw_util() didn't use VD_ShapeCoord(ObjId), so the selection was decaled form its shape
- fixe a bug in Vd_DeletePoint(i) : delete point only If ArraySize(\pt())>0
- fixe a bug in Shape_CheckBrokenPoint()
06/09/2021 0.39
// New
- Shape_CheckBrokenPoint() To check the \broken point And \maxpt
- VD_ShapeMerge() : To merge several shape To the main shape
- VD_ResetAllPoints() To reset all points of a shape (\center, \broken...).
- convert : rectangle To line
- convert : rectangle To curve
- convert : line To curve
// Changes
- now selection tool use the boundingbox of shape (Not the center)
- Shape_Add(x,y) : add shape()\pt(0)\broken=1, \pt(0)\maxpt = ArraySize(\pt())
- lots of changes in procedure_draw.pb To display shape With several part (Case #VD_ShapeShape,#VD_ShapeCurve)
- changes in shape_load() To add \broken And \maxpt when shape()\pt() didn't have it
- shape_delete() : add Shape_CheckBrokenPoint()
- shape_addpoint() : add Shape_CheckBrokenPoint()
- shape_addpoint To line : add Shape_CheckBrokenPoint()
// Fixes
- gadget Point hide wasn't updated when select a point (mode editpoint)
01/09/2021 0.38
// New
- Add transform scale With boundingbox mode (selection Or single shape selected)
// changes
- change transform scale : With origin (selection Or single shape selected)
30/08/2021 0.37.5
// changes
- when Select a shape (by clic) -> update the gadget #G_shapelist
- #G_shapelist : after Select a shape -> SetActiveGadget(canvasmain)
27/08/2021 0.37.4
// changes
- change transform scale (For just 1 shape, Not selection)
- transform scale : by Default, it's bounding box scale.
- transformation center : boundingbox, origin.
// fixes
- Fx : style cbbox hasn't the correct words.
- Doc_Open() don't set "On" the fx with the "new simplification".
- #G_shapelist : If we deselect the shapeId, shapeid=-1 -> crash
26/08/2021 0.37.2
// New
- saveSVG : add viewBox (based on document width And height And current zoom)
- saveSVG : add polyline (For shape With multi lines)
// Changes
- some changes in saveSVG (closepath, space...)
25/08/2021 0.37
// New
- menu file : export in svg
- VD_GetFileExists(filename$)
- save SVG : box, circle, ellipse, curve, text + fillpath, strokepath + w, h, x, y, stroke size.
// Fixes
- add tooltips For some gadgets of group window
24/08/2021 0.36.7
// Changes
- toolbar : after clic on new, open, save -> SetActiveGadget(#G_canvasVector) (To Not redo the action With space)
- layer add/delete : after clic on btn -> SetActiveGadget(#G_canvasVector)
- some changes in eventcanvas.pbi To Select more easily a point of a shape (only If action=action And editmode = point)
// fixes
- when clic on "view layer", it show/hide the current layer, Not the layer on wich we have clicked
- sometimes, VD_UpdateShapeBankCanvas() try To open an inexistant file at start
- sometimes, when try To Select a Point( in editmode = point), the point wasn't selected and it was the last point which was selected
- fixe a bug when Select a shapeid > ArraySize(obj()\shape() (If we have delete the shapeid before a new selection)
23/08/2021 0.36.4
// New
- panel color : Add color typ cbbox
- we can change color typ (color, gradient linear, circular, texture (doesn't work for the moment)) for all selected shapes. Gradient are wip.
// Changes
- when change obj()\shape()\color, it update obj()\shape()\colorgrad(0)
- Shape_Add() : set \colorgrad = color
- VDDrawShapeColor() : If ArraySize(\ColGrad()) =0 -> add a 2nd color For gradient
10/08/2021 0.36
// New
- clic on btn fx "-" : delete the current fx (except the fx0, need To be changed)
- panel Fx : add btn fx "-"
// Changes
- fx : when set fx\actif, -> set\usefx = 1
- fx : simplication of drawshapefx() (check If \usefx=1 before To check each fx is \actif=1)
- gadget : several changes With some gadgets (position, size..)
// Fixes
- when change depth, sometimes, the selected shapeID change.
- Shape_Load() : With old file, Obj()\Shape()\idunik$ could be = ""
- we can't select text or image if view is <> 0,0
- parented shapes parenté aren't stuck to their parents
- when create a new shape, it should be selected by Default
9/08/2021 0.35.3
// Changes
- Scene_Export() : on the image exported, I draw shape If \hide= 0
// Fixes
- If create a polygonal Line (ctrl+clic), when create the other point than first, the points created are Not at the mouse position
- If create a bezier Line (ctrl+clic), when create the other point than first, the points created are Not at the mouse position
6/08/2021 0.35 (47)
// Changes
- several changes in eventcanvas.pbi And procedure_draw.pbi : delete all *z Or * z1 ..; -> replace by scalecoordinate()
- change With pen tool (addpathline) If we don't use distance or angle (=0)
- If #vd_actionAddline Or addcurve -> add Shape_SetOrigin(1) when lefbuttonUp
5/08/2021 0.34.8
// New
- rotation : in editmode "point", rotate only the points selected (For line, curve, shapecomplexe)
// Changes
- Addgadget() : With checkbox, add 2 pixels of space between name And checkbox.
- rotation : line/curve : rotate the point, Not the shape (was like before)
4/08/2021 0.34.7
// New
- windowimageprop() : add canvas To crop easily the image
// Changes
- change windowBGimagepropertie() To WindowBackgroundPropertie()
- remove some gadgets from panel option (BG gadgets : w, h)
- add VDDrawBG(depth=0) in drawing Procedure.
- change width/height of displayed image For background To fit the change in WindowBackgroundPropertie()
- move the group menu To selection menu
// Fixes
- If BG is over the shapes, the scale isn't used.
- when open the program, the vdoptions\bgimg parameters don't have to be reset .
- menufile has a MenuBar() in top
3/08/2021 0.34.3
// New
- add BG_ResizeImage() To resize, And clip the BG image
- add windowimageprop() (For bg image) : + gadgets resize, scale, clipoutW/H/X/Y
- clic on btn BGproperties : open windowimageprop()
// Changes
- drawcanvas() use VDoptions\BGImg\Scale For BGimage.
- BG_LoadImage() : now, it check If BG image need To be resize Or clip With BG_ResizeImage()
2/08/2021 0.34
// New
- options BG image : add btn properties (empty For the moment)
- WindowCharacterEditor() : add maximize/minimizegagdet
- Scene_Export() : add an options To save image in png, in big size, To use it With windowcharactercreator (.
- Structure : shape\group$ : shape can have group (To use it For export image For exemple)
- menu : #menuVD_ShapeSetGroup + lang() -> open windowgroup()
- add windowgroup() : List, boutton namegroupe, add, set To group, unset
- Set group To selected shapes
- group : Select shape of the group
- bank : when on the canvas, we see now the name of the image
31/07/2021 0.33.6
// Changes
- add mirored point when create With pencil (bezier free line)
- add rotatecoordonnate For all shapetyp (it's no more the points that are rotate, but it's the shape.
- VD_ResetCoord() : change scalecoordonnate If exportImage Or Not.
// Fixes
- bug rotation : sometimes, the points of the shape are completely moved
30/07/2021 0.33.5
// New
- Change color For fx With swatch, For selected shapes
- add window intro And logo (logo is wip)
- add cross To cursor mouse (tool Select)
- add shortcut : Ctrl+E(Mode edition point/object), Ctrl+M (point : miror/free)
- add options\pathsave$ And \pathopen$ To keep the folder in which we have save Or open a file.
// Changes
- change the color of the selected shape To see it If shapeline are black.
- change the alpha of the grid color (was 255-> 100) To see the shapes over.
// Fixes
- Bg imag : change height doesn't work.
- rectangle Select : the last selected should be shapeId If shapeID = -1
- bug export purebasic : change export color To "rgba()"
- in mode <> point, With tool move, If we are over a point, it move point instead of move shape.
- fixe a crash If ctrl+clic With toolcurve With no shape selected
- fixe a crash If ctrl+clic+move With toolcurve With no shape selected
- bug With grid drawing
- If Select all, If shapeid=-1, it should be assigned To a shaped selected (last Or first)
- bug To Select a shape With several layers, it check all alyers-> should check only the current layer
- bug With Shape_Delete(), ReDim didn't erase the index0, do I use dim.
- quand on supprime des objets puis qu'on load un shape depuis la banque, il ajoute le dernier objet supprimé
- bug With Shape_Delete() With several layers, the layerid-1 is hiden
29/07/2021 0.33
// New
- add selection rectangle With tool Select (wip)
- add menu show origin
- add an cross origin in drawscene (To see the 0,0 origin) (en option)
- we can change FX (Style, color, alpha, active, widthtroke (lineW)) For all selected shapes (If Not hide And Not locked)
- when clic on swatch canvas, it change the color of shape (style Not fx)
- add Data\presets\swatch : add swatch presets
- add tab "swatch"
- add swatch.pbi (from animatoon), And modifiy it For cartoon
- add vdoptions : swatch parameters
- Enumeration : add constant For swatch
- new window character editor (wip)
- 3 new images (new, open, save)
// Changes
- window scene propertie : window can be resized, add a max And min (W , H)
- change Shape_SetPropertie() To set color With swatch
- when change #G_shapeListAdd : If it's a subfolder, the canvasbank is updated
- when Select #G_shapeListAdd : i use now GetFilePart(BankImage$(bankImageID))
- The canvasbank show the images from the subfolder Or from the mainfolder If no subfolder.
- The bank show now the subfolders If exists of the main folder selected (And Not the name of each element in the main folder)
- Now, the program verify on each subfolder For the folders in Data\shapes\ if the image of the shape exists
- add lang() To texts For gadgets (bank)
- add lang() To texts For menu (Selection, Layer, window, help)
- other minor changes (tooltips..)
// fixes
- shape_load() : I check If the extension file is corect before To try To open the file. I have added a ProcedureReturn If Not good extension Or other error
- Doc_new() : add a ProcedureReturn If Not ok.
- Scene_Export : If camera\x Or Y <>0 the export image is cut
- shape_save() : have To use createfile And Not openfile !!
- With texte And "," -> remplace by "{-virg-}"
- fixe error in Vd_DeletePoint(i)
- Select all only If Not hiden
28/07/2021 0.32
// New
- addgadget For simplication (distance, angle)
- tab FX : clic on gadget "open" -> open the path of the fx.
- tab FX : add gadget "open", To open the path of the fx.
- add boundingbox when Select a shape
- add point in the middle of 2 points.
// Changes
- show points only If editmode = point Or If action = line/curve creation.
- change spingadget in string (For width, height, ...)
- some parameters For shape should be get in float (lineW,H, D...)
- changes in Structure sShape & sFXShape (w,h,d are .d now)
- minimum size For : style And fx : Line (width), height, distance is now 0.001 (was 1)
// Fixes
- when change color fx And cancel, the color is white.
- when change color fx, the color in the requester isn't correct.
- fx : when clic on "active", the fx of the shape should be activated
- drawutil : draw only the anchors And node If in editmode.
- when Select a shape, the open gagdget isn't updated
- when use del key in edtmode "point", it should delete the selected point Not the shape.
- when ctrl+N (doc_new), the tile of window should change.
- when change editmode, the canvas should be updated
- when deletepoint, the Next anchor has \center=1, And the editing of curve bug also.
- If shape\locked : lock all change of properties (alpha, x,y, color...)
- check If gadget are disable If we change of shapeid, And disabled/enabled gadget If needed
- tool Line (pen) din't use vdOptions\ToolOptions\distance to create the points.
27/07/2021 0.31
// New
- the FX can be scaled With curve
- the fx can be now closed Or open (by defaut it is closed) even If the Line (shape) is open Or close
- gadget point : hide Or show the selected curve (by point)
- we can Define If a Point (And the curve associated) is hiden Or visible
// Changes
- improve the point selection
- work on Curve line tool
- some changes in ShapeSelectAll()
// Fixes
- we cant Select a text easily
- we cant change the color of a text
- selection box of the text isn't correct
- panel color : alpha spin was too small
- The shapeID selection was drawn 2 times.
- fixe a bug when move a shape
- the scale With 1 shape isn't good.
- the scale With proportionnal (+ctrl) didn't work
- when create an ellipse/box/roundedbox, the scale With proportionnal (+ctrl) didn't work
- when copy/paste, old selection should be selected after paste
- when vd\EditMode =#VD_Editmode_Point And ctrl+A : all points should be selected
- when vd\EditMode =#VD_Editmode_Point And ctrl+D : the shapeId shouldn't be unselected
26/07/2021 0.30.5
// Changes
- work on Curve line tool (simplify line, set transformation)
25/07/2021 0.30.4
// New
- curve line tool : we can draw a free curve Line (For the moment, the anchor point aren't correctly placed).
- Curve line tool : add option : Bezier, pencil (Free).
25/07/2021 0.30
// New
- panel tool : add gadgets For shapeFX options by Default (open, color, alpha, shapetyp, width (If stroke))
- panel tool : add gadgets For shape options by Default (open, color, alpha, shapety,p width (of stroke))
- panel tool : clic on gagdet color change the defaut color of created shape.
- line tool : we can draw a free line.
- line tool : add option : polygon, Free
- line tool : add "type" options For Line (polygon,
// changes
- When editmode = objet, we can't move the points, only move the object.
- now, To Select a shape, I use insidepath And insideStroke.
- Add framegadget For tool options
- now line Or curve are created With the tool options (open, style, alpha, color, width of stroke)
- List view shape : no more multiselection (multiselection With shift+clic)
- add lang() To texts For options tool
// Fixes
- we can't unselect the shapeid
- delete point should delete only 1 point If shapetyp = line
- draw shape shouldn't draw all points in red until the point\selected
- when doc_new(), the window title should be ""
24/07/2021 0.29.4
// New
- when clic on canvas bank, it Select the image (shape) To add, And update the gadget #G_shapeListAdd.
- canvasbank, Add red Box (To see the selected bankimageId)
// Change
- text : use drawvectorparagraph now
- text : is centered now
// Fixes
- when clic on layer, the shapeID is no more drawn
- when move layer, the shapeID is Not drawn each time
- check If a file is Not empty before To try To open it
23/07/2021 0.29
// New
- add two containers For gadgets text & image (shape), To hide them If Not text Or image.
// Changes
- MouseOnshape(x,y), To know If a mouse in on a shape image Or text
- add MouseOnshape(x,y) in VD_DrawScene() To know If we clic on an image Or text shape.
- add lang() To some texts in gadgets (FX shape, layer panel, tooltip For toolbar)
- add lang() To texts in menu (Files, edit, view)
- add mouse x/y in statusbar
- scale tool : now the size are fixed To the mouse cursor
- scale tool : use ctrl To get proportionnal scale (box, circle,roundbox, image)
- Rotate tool : use ctrl To get rotation *10
- scale tool : we can scale the shape selected now (wip)
// Fixes
- scale tool, the sizeH is inversed With the y mouse position
- bug With point selection, #VD_Editmode_All wasn't = 0
22/07/2021 0.28.5
// New
- Add window Gradient (wip)
21/07/2021 0.28.3
// New
- add alpha from layer With all shape of the layer (Not alpha calculated by shapes * obj\alpha)
// Changes
- selection border is now black For all shapes (Not only shapeID)
// Fixes
- With shift down, we can't select a shape if a big shape is under it
- when lockselection, we can't move the selected shape
- when clic without shift, all shapes are deselected
20/07/2021 0.28
// New
- shift+P : deparanting selected shapes (WIP : some bug To fixe With it)
- point : add a kind of smooth move mode (curve only)
- point : when move a point, update the gadget point X/Y
- add tab "tool" (panel left), For tool options, we can keep the bank tab.
// Changes
- insert a point in the curve at the mouse cursor
- some changes in the UI when Select points (curve, complexes shapes)
// Fixes
- when move point With mirored mode, we should use x1-\X And Y1-\y
- bug avec le dernier point d'une courbe et le mode usemirored mode.
- usemirored mode should work only If shift =0.
- when shift+Select a point, should check If it's a center point before to select the other points (tangent points)
19/07/2021 0.27
// New
WIP - add tab "tool" (panel left), For tool options, we can keep the bank tab.
- Edit mode (All, object, shape, point) (need To be improved)
- Tool Edit mode
- new gadget On point GUI : set point mirored, use point mirored
- set point mirored, use point mirored
- point can be moved With mirored mode (tangent like)
- add vdoptions\debugOn To get some extra functions (gadget idunik For example)
// Changes
- add lang() To some texts in gadgets (shape, point)
// Fixes
- fixe 2 bugs in The export in purebasic (line)
- when copy/paste : we should sort the new depth
- when copy/paste : we should have a different id_unik For the new shape
- when ShapePastToshape : we should sort the new depth
- when ShapePastToshape : we should keep the id_unik For the shape selected
18/07/2021 0.26.1
// Fixes
- fixe a bug With bank
- fixe The export in purebasic which doesn't export the line and curve
17/07/2021 0.26
// New
- add vdoptions\panelLayerW For width of panel layer
- add vdoptions\BankCaseW For the width of the Case of bankimage
- sortarray For bankimage And file on shapefolder
- now, it check the folder in Data\shapes\ and create all the image preview, If they don't exists !
- Tab "create" (bank of shapes) : add images of the elements of the current folder on the canvas
- Doc_save() : add Date() To file, add shape : close, idunik$, parentid, depth, pos.
- now, the fx can be opened too ! (we can have a color And black line For character :))
- when playanimation, it display the scene (was empty before)
// changes
- change in the GUI (size of panel layer)
- add lang() To some texts in some functions And menus
- shape\idUnik$ And shape\parent\idunik$ are now a word$ To get a very different idunik (see Shape_CreateIdUnik())
- some changes in the drawing utilities (dash stroke of selection, centre point...)
- we can now deselected the shapeID
- Select Or move a pt, gui is now updated
// fixes
- fixe bug With dispay scene, when playanimation
16/07/2021 0.25
// New
- add a point in the middle of 2 selected Point (curve, line) (wip)
- menu : deparenting (wip)
- Tab "create" (bank of shapes) : add scrollarea & canvas To show image of the bank (wip)
- With shift+clic, we can now Select Or deselect a shape.
- when calcul center point, set pt()\center =1 (calcul is in the drawutil)
- add close/open To curve
- submenu #menuVD_AddPtAtMiddle
- Add Shape_SetPropertie() To change propertie For selection (color, alpha...)
- menu : parent (Ctrl+P)
- menu : lock selected, unlock all, lock all except selected
- SetOrigin To Mouse
- add Mouse Cible cursor
- add window preference (only autosave For the moment)
- menu file : preference
- add Layer_CheckifOk(ObjId) To verify If we can do anything on a layer
// changes
- DrawCanvas(x=0,y=0,Selected=0) : by Default, now selected =0, To Not be able To Select by Default And keep selection
- SetLineDistance (dash, point) To selection
- SetLineHeight (dash, point) To selection
- SetStrokeWidth To selection
- SetStyle To selection
- SetAlpha To selection
- Setcolor To selection
- setorigin works With selection
- Shape_delete() : works With selection
- some change in doc_new(), shape_load()
- add lang() To some texts in some functions And menus
- ShapeGetProperties(state=1) has now 1 option, To set a simple solution If needed (set state instead of settext)
- ShapeGetProperties() is only updated If we have selected a shape
// Fixes
- autosave didn't work, autosave only if vdoptions\dochaschanged
- lock Layer didn't work
- Shape_delete() only If Layer_CheckifOk(ObjId) = 1
- Shape_delete() only If \hide =0 And \locked =0
- Vd_DeletePoint() only If Layer_CheckifOk(ObjId) = 1
- operation (leftbuton down) on layer only If Layer_CheckIfOk(ObjId) =1
- When movecanvas (space) the shape under mouse is selected
- When movecanvas (space) the multi-selection is lost
- Vd\LockSelection didn't work
- sometimes, the gadgets For shape aren't updated
- If mousemove, it shouldn't select the shape under the mouse
- some bugfixes With scene properties And camera
15/07/2021 0.24
// New
- export image : now, it use the x,y,w,h& % defined in window scene output properties (so by the active camera)
- scene properties : add %, framegadget, output Width/height
- scene properties : When change gadgets, it change the camera properties
- scene properties : when change W,H, X, Y, %, it calcule the finale size of image And open a message If size > 8096x8096
- copy/paste several shapes
- add gadget "#G_shapeIdUnik" To see the idunik of the shape
- add unpremultiply For export image (To fixe the PB bug With vectorlib export) (function by wilbert ! )
- add shape : \finalX,Y To know the finalX,Y (= \x + tranformation + parenting).
(need To be changed in all functions using \x, \Y)
// Changes
- add #PB_String_ReadOnly To AddGadget() For stringgadget
- add lang() To some texts in some functions
- add a Macro ShapeSetParentingPosition(vo,j) To use on every functions which need To know parenting operations
- now, the position of shape is updated in GUI If we move the shape
- it's more easy to select a point from a curve/line
- // fixes
- when we change the shape depth, it change the shapeID (For object Or shape loaded)
- when loadshape\object, add the idunik For all shapes created
- bug With depth when change it With buton (up, down) And List of shape
- tool move And clicdown on a shape : the propertie aren't update (only if clicup)
- If Select a shape which isn't text or image, hide and disable the gadget text & image
- when change the layer order, that change the ObjID
- when open a file, we can't use the layer GUI (to see or select the layer)
- scene properties : we don't see the scene properties
- when create a curve, the "anchor" point aren't correctly placed
14/07/2021 0.23
// New
parent limitation : we can't select the points if the shape is parenting, because it ckeck the position without parenting
- ajouter le système parent enfant avec l'outil move
- add shape\parent : when move only
- LoadScene shape\parent
- add parent\x, y To shape position (If shape has parents)
- add Structure VD_camera Dim VD_camera()
- add window scene propertie + gadget : camera id,x,y,w,h,% (For output), zoom
- add Lang.pbi, For futur localisation/traduction
// Changes
- lots of changes With panel & gadgets (color, size, position, name, tooltips...)
- Set the color To "normal" (gadget, window), darkmode later ^^
- set the tools in the toolbar at top
- now, the tool options are displayed on the tab "tool"
- when load scene, the depth & pos are *10 now (To separate easily the depth between shape)
// fixe
- we shouldn't be able to create a shape if shift=1.
- bug With shortcut (H, back, Shift+H...) And StringGadget (name of shape)
13/07/2021 0.22
// New
- save selected
- hide all except selected
- Unhide all (by layer) ctrl+H
- hideselected (by layer) key H
- Add tool mirorH, mirroV
- Add gadgets mirorH, mirroV
- Add icone mirorH, mirroV
- menu selection With : selectAll, deselectALL, lock selection
// Changes
- FX of shape are clipped now
- change shortcut deleteshape To #PB_Shortcut_Back
- code cleaning And reagencement (add menu.pbi, shape.pbi, paste code of shape in shape.pbi...)
- VD_ExportPbCommand() : add hour of creation
- VD_ExportPbCommand() : now, it export all the objects And shapes in the pb file
- VD_ExportPbCommand() : add a code example in the export (openwindwo, And display canvasgadget And objects)
// Fixes
- fx gadget aren't updated when change of shapeID
- export image didn't use the clip of shape
- the show gadget isn't updated when hide or show the shape
- the shape\depth was a few buggued. Now, when create a shape, it add a depth=(nb_shape+1)*20, To get more difference between all depth shape
- when open colorequester, the color is black
- we don't see the points/dash lline... with shape curve & line.
- when create the first point of line, it create 2 points instead of 1
- when create the first point of curve, it create 4 points instead of 3
- fixe bug With grid, sometime the width is <0
- bug sur certains shapes si on le charge en tant que shape et non en tant qu'objet (file\open) (le dernier point était bugué)
- gadget name : set name of shape only If name <> #Empty$
- With new file, it create a empty shape If we use tool addshape Or shape-bank And If we dont have a shape
12/07/2021 0.21
// New
- we can create curves by clicking+ctrl (Ctrl+clic add point To curve)
- we can create curves by clicking+ctrl lines (polygon)
- add tab "create" (is "tool" now), And add gadget To create a shape (combobox With folders, ccbox With files from folder selected, buton + And -)
WIP - add To tool rotation the parameter : rotation (we can directly set the rotation of object in the option of tool
- Obj\shape : add idunik, To know each shape event If they have the same name
- we can load an image on the background
- we can change the depth (position on the rendering function) of the image on the background
- add X/Y position For BG-image (To move it If needed)
- panel Shape : add parameters show/depth
- panel option : add gagdet To set an image As background reference (img,x,y,alpha,w,h,depth)
- change some colors of GUI (ToolBar top, tool container, container For scene path, window color)
- when zoom/dezoom : the circle point should keep their Default size, To Select it easily
// Changes
- changes in Enumeration
- clean up code (move Global in structures.pbi, move Enumeration in Enumeration.pbi...)
// fixes
- the background isn't zoomed
- some gadget (tab options) didn't show the correct value (alpha, use checker..)
- at start, we have points For an empty shape (because the shape Array start To 0.
11/07/2021 0.20
// New
- we can draw an image on the background (As reference For example Or later, color Select)
// Changes
- change Options\bgimg To bgchecker If you use the checker.
// Fixes
- when create a new shape, it isn't created at mouse position
- when deselect, all shape/point are still selected (in fact, shift was down)
09/07/2021 0.19
// New
- add zoom With wheel mouse
- add menu "edit" (copy, paste, selectAll, deselect ALL)
// Changes
- the code is now separated into several little files (infos, Enumeration, init, procedures, macros, loop...)
- change zoom parameters With keyboard (Ctrl+/-)
// fixes
- when change of a shape, If cancel, the shape color is black
- ctrl+V didn't paste at mouse position.
08/07/2021 (0.18.5)
// New
- menu scene propertie (width/height), à revoir
[11/02/2021] (0.18.13)
// Changes
- "control animation" panel is in "layer" panel now
- panel name "object" -> "layer"
// Fixes
- fixe a crash when Select a tool With two options
- fixe a bug of height of the toolbar
- fixe a bug of height of the panel (right, left) And canvas
[16/05/2016] (0.18.1)
// New
- View : show/hide timeline
[24/04/2016] (0.18)
// New
- Rndbox by Diskay
New (0.15.5, 0.16 & 0.17):
- Timeline : buttons play, stop, start, end, loop
- Timeline : Layer (+name) + button view, hide, selected layer
- Timeline : frame rules/markers, keyframe, startframe, endframe, currentframe
- Timeline : events (move keyframe, ascencor, currentframe, select layer...)
- Version : X86 & X64 (windows)
- Hex option for : export in purebasic code
- Tool preset : add a new system for tool preset (with saving option)
- Option tool : change with tool selected
- Option canvas : now, some options are in the container for main canvas (snap..)
- Canvas Path : to know if we modify the scene, object or shape (& pt)
- Toolbar is now vertical
- View : show anchor of selected shapes
- Submenu (shape) : convertToShape (rectangle to shape complexe)
- Submenu (shape) : convertToShape (ellipse to shape complexe)
- View : Zoom 1000% & 1500%
New (0.13.5, 0.14 & 0.15):
- View : Zoom 500%
- View : view center
- Zoom is no more limited to 250%
- Option : menu Zoom 500%
- Option : Show camera Cache
- Option : camera Cache alpha
- Now, at start, Cartoon Check For update.
- point : multi-select & move (line, curve, complexe shape)
- Point : set soft
- Point : set hard
- Help : wiki
- Help : update
- Now, the software check if an new version is available and ask if you want to download it
- Image : change image
- Shape : set shape to origin
- Shape : set origin to shape
- Shape : set shape to bottom
- Shape : set shape to top
- Object-layer : alpha
- add animation system (not finished) : draw only fps and some informations (debug)
- animation UI (button, spin gadget..) : play, fps, startframe, endframe, currentframe
- Add a StatusBar (for info, zoom...)
- (not finished) Image shape : X,Y,W,H,Repeat
Changes :
- when pt selected: we can see a red circle for this point
- when pt selected: SpinGadget pt X /Y is now updated
Fixes :
- when create a new shape, it was a bug with the view (line, curve, circle, box...)
- when add points, it was a bug with view (line, curve, complexe shape)
- numerous bugs with add pt fixed
- Fixe a bug with delete key : work only if the active gadget = main canvas (to not erase our shape by mystake)
- Fixe a bug with position X & Y object-layer and ShapeFx
- Fixe a bug when create new doc, object-layer alpha, & size was 0
- fixe a bug for Spingadget point X & Y (doesn't work with the last point)
- fixe some bugs in the export for purebasic
- fixe a bug with Add fx : fx isn't added to the shape
- fixe a bug with color if load old file (because object\alpha = 0 with file < 0.14)
- fixe a bug if load old file (object width & height was 0)
- Some minor bugs fixes
>>>>>>> origin/master