For show the text in the screen

Feel free to ask any question here
Post Reply
snfge
Posts: 72
Joined: Thu Nov 20, 2014 4:12 am

For show the text in the screen

Post by snfge »

Hi
I want show some text in the screen, and I can use the displaymessage, but it can't change it size, and when I use displaytext, it can change it size,but it will show in the screen short time, I want it can show in the screen for long time? please give me some idea, thank you.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: For show the text in the screen

Post by daniel »

Yep, the text you can display with 'displaymessage' is very standardized (you can only select a few places where the text appear and you can't change the size). Otherwise the displayText method is used to display text for a single frame (so you would have to call it at every frame).

Two options:
- we can modify the code of ''displaymessage'' slightly so that you can change the size
- you can create your own datatype that would only render a text in 2D (it's fairly easy) and add such an entity to the window 'own' DB

It all depends on your workflow and your exact needs.
Daniel, CloudCompare admin
Post Reply