We are trying to enable word wrapping in AG_Textbox but, haven't been 
successful.

Summary:
There is a method listed in the below link to enable/disable word wrap but, it
doesn't work:
http://libagar.org/mdoc.cgi?man=AG_Textbox.3

Details of the error:
void AG_TextboxSetWordWrap (AG_Textbox *textbox, int enable)
....
AG_TextboxSetWordWrap() enables/disable word wrapping. 

However, in the include file:
#include <agar/gui/textbox.h>
textbox.h, it does not have this declaration but it does have:

#define AG_TEXTBOX_NO_HFILL      0x02000

but this does nothing.

And any call to AG_TextboxSetWordWrap(textbox, 1);

produces this error:
....
1>d:\cpp_apps\agar2008inc\agar2008inc\main.c(78) : warning C4013:
'AG_TextboxSetWordWrap' undefined; assuming extern returning int
....
1>main.obj : error LNK2019: unresolved external symbol _AG_TextboxSetWordWrap
referenced in function _SDL_main
1>D:\cpp_apps\Agar2008inC\Debug\Agar2008inC.exe : fatal error LNK1120: 1
unresolved externals
....


Any help or direction on how to enable word wrapping in a Textbox/Editbox would
be greatly appreciated.

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to