Searched refs:TkColor (Results 1 - 13 of 13) sorted by relevance

/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkColor.h35 typedef struct TkColor { struct
51 * this count is 0, then this TkColor
63 struct TkColor *nextPtr; /* Points to the next TkColor structure with
70 } TkColor; typedef in typeref:struct:TkColor
77 MODULE_SCOPE void TkpFreeColor(TkColor *tkColPtr);
79 MODULE_SCOPE TkColor * TkpGetColor(Tk_Window tkwin, Tk_Uid name);
80 MODULE_SCOPE TkColor * TkpGetColorByValue(Tk_Window tkwin, XColor *colorPtr);
H A DtkColor.c52 * object, which maps a string color name to a TkColor object. The ptr1 field
53 * of the Tcl_Obj points to a TkColor object.
98 TkColor *tkColPtr;
103 tkColPtr = (TkColor *) objPtr->internalRep.twoPtrValue.ptr1;
106 * If the object currently points to a TkColor, see if it's the one we
113 * This is a stale reference: it refers to a TkColor that's no
127 * The object didn't point to the TkColor that we wanted. Search the list
133 TkColor *firstColorPtr = Tcl_GetHashValue(tkColPtr->hashPtr);
149 * Still no luck. Call Tk_GetColor to allocate a new TkColor object.
152 tkColPtr = (TkColor *) Tk_GetColo
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkColor.h36 typedef struct TkColor { struct
52 * If this count is 0, then this TkColor
64 struct TkColor *nextPtr; /* Points to the next TkColor structure with
72 } TkColor; typedef in typeref:struct:TkColor
79 EXTERN void TkpFreeColor _ANSI_ARGS_((TkColor *tkColPtr));
81 EXTERN TkColor * TkpGetColor _ANSI_ARGS_((Tk_Window tkwin,
83 EXTERN TkColor * TkpGetColorByValue _ANSI_ARGS_((Tk_Window tkwin,
H A DtkColor.c53 * object, which maps a string color name to a TkColor object. The
54 * ptr1 field of the Tcl_Obj points to a TkColor object.
100 TkColor *tkColPtr;
105 tkColPtr = (TkColor *) objPtr->internalRep.twoPtrValue.ptr1;
108 * If the object currently points to a TkColor, see if it's the
115 * This is a stale reference: it refers to a TkColor that's
129 * The object didn't point to the TkColor that we wanted. Search
135 TkColor *firstColorPtr =
136 (TkColor *) Tcl_GetHashValue(tkColPtr->hashPtr);
151 * Still no luck. Call Tk_GetColor to allocate a new TkColor objec
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/unix/
H A DtkUnixColor.c73 TkColor *tkColPtr; /* Color to be released. Must have been
112 * Allocate a new TkColor for the color with the given name.
115 * Returns a newly allocated TkColor, or NULL on failure.
119 * allocating a new colormap entry. Allocates a new TkColor
125 TkColor *
134 TkColor *tkColPtr;
170 return (TkColor *) NULL;
176 return (TkColor *) NULL;
185 tkColPtr = (TkColor *) ckalloc(sizeof(TkColor));
[all...]
/macosx-10.9.5/tcl-102/tk/tk/unix/
H A DtkUnixColor.c73 TkColor *tkColPtr) /* Color to be released. Must have been
111 * Allocate a new TkColor for the color with the given name.
114 * Returns a newly allocated TkColor, or NULL on failure.
118 * allocating a new colormap entry. Allocates a new TkColor structure.
123 TkColor *
132 TkColor *tkColPtr;
183 tkColPtr = (TkColor *) ckalloc(sizeof(TkColor));
199 * The return value is a pointer to an TkColor structure that indicates
206 * a new TkColor structur
[all...]
/macosx-10.9.5/tcl-102/tk/tk/macosx/
H A DtkMacOSXColor.c548 * Allocate a new TkColor for the color with the given name.
551 * Returns a newly allocated TkColor, or NULL on failure.
555 * allocating a new colormap entry. Allocates a new TkColor
561 TkColor *
569 TkColor *tkColPtr;
620 return (TkColor *) NULL;
624 tkColPtr = (TkColor *) ckalloc(sizeof(TkColor));
641 * The return value is a pointer to an TkColor structure that
648 * Allocates a new TkColor structur
[all...]
H A DtkMacOSXMenu.c1328 TkColor *tkColPtr;
/macosx-10.9.5/tcl-102/tk84/tk/macosx/
H A DtkMacOSXColor.c544 * Allocate a new TkColor for the color with the given name.
547 * Returns a newly allocated TkColor, or NULL on failure.
551 * allocating a new colormap entry. Allocates a new TkColor
557 TkColor *
565 TkColor *tkColPtr;
602 return (TkColor *) NULL;
606 tkColPtr = (TkColor *) ckalloc(sizeof(TkColor));
623 * The return value is a pointer to an TkColor structure that
630 * Allocates a new TkColor structur
[all...]
/macosx-10.9.5/tcl-102/tk/tk/win/
H A DtkWinColor.c24 TkColor info; /* Generic color information. */
176 * Allocate a new TkColor for the color with the given name.
179 * Returns a newly allocated TkColor, or NULL on failure.
183 * allocating a new colormap entry. Allocates a new TkColor structure.
188 TkColor *
215 return (TkColor *) winColPtr;
217 return (TkColor *) NULL;
230 * The return value is a pointer to an TkColor structure that indicates
237 * a new TkColor structure.
242 TkColor *
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/win/
H A DtkWinColor.c24 TkColor info; /* Generic color information. */
176 * Allocate a new TkColor for the color with the given name.
179 * Returns a newly allocated TkColor, or NULL on failure.
183 * allocating a new colormap entry. Allocates a new TkColor
189 TkColor *
216 return (TkColor *) winColPtr;
218 return (TkColor *) NULL;
232 * The return value is a pointer to an TkColor structure that
239 * Allocates a new TkColor structure.
244 TkColor *
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/demos-en/
H A Dtcolor503 class TkColor<TkRoot
522 $root = TkColor.new
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/demos-jp/
H A Dtcolor511 class TkColor<TkRoot
530 $root = TkColor.new

Completed in 211 milliseconds