nana icon indicating copy to clipboard operation
nana copied to clipboard

listview?

Open janwilmans opened this issue 6 years ago • 2 comments

I'm considering building a new portable version of debugview++ https://github.com/CobaltFusion/DebugViewPP image

using nanapro, a couple of questions:

  1. is there a virtual listview widget? (where only the stuff currently on the screen is actually in memory), I deal with 10 million+ of lines of strings, so keeping that in memory will quickly run out of memory.

  2. can I use llvm-clang to compile with nanapro ?

  3. can I statically link everything ? I believe the footprint of the hello world is quite small (1.2mb) but I would like to keep it in one executable.

janwilmans avatar Nov 30 '18 10:11 janwilmans

1, no virtual mode. IMO, it is easy to create your own listview that supports virtual mode. 2, yes 3, yes

cnjinhao avatar Nov 30 '18 16:11 cnjinhao

That sounds good, I dont mind creating my own, do you have an example how to draw a completely custom control using line/curve primitives?

janwilmans avatar Nov 30 '18 17:11 janwilmans