[Lazarus] Gtk2 list of pressed keys

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Lazarus] Gtk2 list of pressed keys

Free Pascal - Lazarus mailing list
     FKeyStateList_: TFPList; // Keeps track of which keys are pressed

I suggest to change this to array[0..N] of integer (N can be only 2? 5?
10? 20?). this way we won't do mem allocs on each keypresss/depress.

Alexey Torgashin

lazarus mailing list
[hidden email]