mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
WMSetTextSeelctionFont/Color
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
719
WINGs/wtext.c
719
WINGs/wtext.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user