Drago Bratko Active Member Licensed User Longtime User Dec 20, 2019 #1 I'm thinking what would be best way to do interface like on picture. This one is from VB6 and elements are buttons. Works fine, but if there are lot of elements, drawing is slow. What I was looking at is BitmapCreator and/or XUI2D. Maybe something else ? What is needed is : - draw different elements (right now they are squares, but if possible seats or chairs would be better) with different colors - mouse over should be possible to get (on element or get coordinate and I can calculate element over which is) - mouse click should also be possible to get (on element or get coordinate and I can calculate element over which is) Thanks for the ideas ...
I'm thinking what would be best way to do interface like on picture. This one is from VB6 and elements are buttons. Works fine, but if there are lot of elements, drawing is slow. What I was looking at is BitmapCreator and/or XUI2D. Maybe something else ? What is needed is : - draw different elements (right now they are squares, but if possible seats or chairs would be better) with different colors - mouse over should be possible to get (on element or get coordinate and I can calculate element over which is) - mouse click should also be possible to get (on element or get coordinate and I can calculate element over which is) Thanks for the ideas ...
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2019 #2 Reminds me of this example: https://www.b4x.com/android/forum/threads/example-building-a-coalition.109692/#content There is no reason to have performance issues with such layout. I would have probably used ImageViews to create it. Upvote 0
Reminds me of this example: https://www.b4x.com/android/forum/threads/example-building-a-coalition.109692/#content There is no reason to have performance issues with such layout. I would have probably used ImageViews to create it.