1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

WMSetTextSeelctionFont/Color

This commit is contained in:
nwanua
2000-07-17 00:12:29 +00:00
parent 6ec980095a
commit ec6dce9c42
2 changed files with 412 additions and 319 deletions

View File

@@ -384,6 +384,8 @@ main(int argc, char **argv)
WMRulerMargins margins; WMRulerMargins margins;
void *tb = NULL; void *tb = NULL;
printf("copy and paste this string: \n
here is some <b> bold <i>italic <u>underlined</u> </i> </b> text :-) \n");
WMInitializeApplication("WMText", &argc, argv); WMInitializeApplication("WMText", &argc, argv);
dpy = XOpenDisplay(NULL); dpy = XOpenDisplay(NULL);
@@ -420,6 +422,7 @@ main(int argc, char **argv)
//margins = WMGetTextRulerMargins(text); //margins = WMGetTextRulerMargins(text);
#if 1
WMAppendTextStream(text, WMAppendTextStream(text,
@@ -545,6 +548,7 @@ write something like a trivial tic-tac-toe game ");
WMAppendTextStream(text, " without knowing much Xlib. " WMAppendTextStream(text, " without knowing much Xlib. "
"<p><p>(BTW, don't <i>press</i> that button that is <u>screeming</u>" "<p><p>(BTW, don't <i>press</i> that button that is <u>screeming</u>"
" to be pressed!"); " to be pressed!");
#endif

File diff suppressed because it is too large Load Diff