Combine images and text in an editor.

BlitzMax Forums/MaxGUI Module/Combine images and text in an editor.

Abomination(Posted 2012) [#1]
Hi!
I'd like to create an editor, that can handle images as well as text.(a bit like microsoft Word)
How would I go about to tackle this?
I've tried to use a scrollpanel, holding panels for pictures, and lines of textarea for text.
But that became very soon: very complicated, very slow and very ugly.
Perhaps there is a (2d)gui that works in a canvas?
I'm quite out of ideas, so if someone can give me a suggestion or a direction?
Thanks in advance...


ziggy(Posted 2012) [#2]
RichText components can handle colored text, different fonts, inclusion on images, tables, etc. It's not complicated, but youˇll have to code the whole intermediate layer dealing with the different OS implementations for them (I'm not sure the whole richtext specification is available on MaxGui). http://en.wikipedia.org/wiki/Rich_Text_Format

Last edited 2012


Abomination(Posted 2012) [#3]
Thanks Zigy.
I could use the "rules" of RichText as a "format", but I'd still have to print the letters and draw the images on to something.
So that can in practice only be a panel or a canvas?