1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-10 03:25:50 +01:00

Guess what? Yep, another wmtext update. Now this was all, please go to

your homes.
This commit is contained in:
dan
2000-06-22 23:01:27 +00:00
parent c87c53fbe5
commit 9d4dae947b

View File

@@ -13,20 +13,16 @@
/* if monoFont, ignore pixmaps, colors, fonts, script, underline */ /* if monoFont, ignore pixmaps, colors, fonts, script, underline */
//#include <WINGs.h>
#include <WMaker.h> #include <WMaker.h>
#include <WINGsP.h> #include <WINGsP.h>
#include <X11/keysym.h> #include <X11/keysym.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include <ctype.h> #include <ctype.h>
#if 0
#include "wruler.h"
#include "wtext.h"
#endif
void wgdbFree(void *ptr) void wgdbFree(void *ptr)
{ if(!ptr) printf("err... cannot "); {
if(!ptr) printf("err... cannot ");
printf("gdbFree [%p]\n", ptr); printf("gdbFree [%p]\n", ptr);
wfree(ptr); wfree(ptr);
} }
@@ -59,7 +55,7 @@ typedef struct _Chunk {
short ul:1; /* underlined or not */ short ul:1; /* underlined or not */
ChunkType type:1; /* a "Text" or "Image" chunk */ ChunkType type:1; /* a "Text" or "Image" chunk */
short script:4; /* script in points: negative for subscript */ short script:4; /* script in points: negative for subscript */
//hrmm selec... /* hrmm selec... */
ushort selected; ushort selected;
ushort sStart; ushort sStart;
ushort sEnd; ushort sEnd;