Hello Jeff,

Ok for Update_Interval.
Concerning access type, Sprite_Type is a limited record because of 
Context_2D_Type and Image_Data_Type are limited.
Thus Sprite_Type can't be part of Vector.
Maybe I could have used an array of Sprite_Type?

Regards, Pascal.
http://blady.pagesperso-orange.fr


> Le 27 nov. 2016 à 20:15, Jeffrey R. Carter <jrcar...@acm.org> a écrit :
> 
> On 11/27/2016 11:48 AM, Pascal wrote:
>> Many thanks Jeff.
>> 
>> Specification has been modified and pushed to SF GIT branch dev_1.3 with a 
>> test case:
>> https://sourceforge.net/p/gnoga/code/ci/dev_1.3/tree/src/gnoga-gui-element-canvas-context_2d-sprite.ads
> 
> This looks good. I'd suggest Update_Interval rather than Trigger, and a 
> comment
> to specify the default value.
> 
> Why not store the sprite data directly in the vector? That would eliminate the
> need for memory management. I don't see why you'd need the access type.
> 
> -- 
> Jeff Carter
> "I'm a lumberjack and I'm OK."
> Monty Python's Flying Circus
> 54
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list


------------------------------------------------------------------------------
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to