Here is how I managed to change font and it's size:
static void set_textsize_styletable(EditorWindow *w, int fsize){
w->editor->textsize(fsize);
int nStyles = sizeof(styletable) / sizeof(styletable[0]);
for(int i=0; i< nStyles; i++) styletable[i].size = fsize;
w->editor->redraw();
}
v
On 08.07.2010, at 23:59, Alexander Walz wrote:
> I am currently combining the editor and fonts test files (test/editor.cxx &
> test/fonts.cxx) shipped with FLTK 1.1.10 to allow the user to define a
> different font and font size in realtime for the text she/he entered into the
> editor. I use
> I am currently combining the editor and fonts test files
> (test/editor.cxx& test/fonts.cxx) shipped with FLTK 1.1.10 to allow
> the user to define a different font and font size in realtime for the
> text she/he entered into the editor. I use Windows XP.
Please look for thread "Layout Manager"
Maybe you already know but there is an old project called fldev
http://www.hardl.de/fldev/about.php I have it compiling with fltk 1.3 but
the editor only shows rubish, but the project has very nice features that
after revision can return to be a nice ide.
_
Dear community,
I am currently combining the editor and fonts test files (test/editor.cxx &
test/fonts.cxx) shipped with FLTK 1.1.10 to allow the user to define a
different font and font size in realtime for the text she/he entered into the
editor. I use Windows XP.
I managed to assign the new
5 matches
Mail list logo