Hi, Friends:
When I was compiling edd/dm with EPICS3.12.2, I got a compiler error related
to X-window's Graphic context structure. Some routines access access
directly "value" field of GC structure. Compiler claims that there is NOT
such field. Sure enough, /usr/include/X11R4/X11/Xlib.h file on
our machine (HP-UX 9.05) defines GC as follows:
typedef struct _XGC
#ifdef XLIB_ILLEGAL_ACCESS
{
XExtData *ext_data; /* hook for extension to hang data */
GContext gid; /* protocol ID for graphics context */
/* there is more to this structure, but it is private to Xlib */
}
#endif
*GC;
Although I could build edd/dm with MIT version of X11R5, I'm wondering
if GC->value field is still in X11R6?
Noboru Yamamoto
KEK
PS: The most(Not ALL) of direct use of value field and its contents can be
replaced by XGetGCValues routine.
- Replies:
- Re: [Q] X-window's Graphics context Thomas Birke
- Navigate by Date:
- Prev:
[no subject] Peregrine McGehee
- Next:
Re: [Q] X-window's Graphics context Thomas Birke
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
[no subject] Peregrine McGehee
- Next:
Re: [Q] X-window's Graphics context Thomas Birke
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|