summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLayout.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2006-12-10 19:19:43 (GMT)
committerjenglish <jenglish@flightlab.com>2006-12-10 19:19:43 (GMT)
commitfee58f470580278055dd6c6c47f52c4df200144e (patch)
tree45dcd6ea7d09ab2dbd2fc12afa9f424c42c783e0 /generic/ttk/ttkLayout.c
parentb346fcd62a3fedd582eaa70e156d7d16c66b0748 (diff)
downloadtk-fee58f470580278055dd6c6c47f52c4df200144e.zip
tk-fee58f470580278055dd6c6c47f52c4df200144e.tar.gz
tk-fee58f470580278055dd6c6c47f52c4df200144e.tar.bz2
Rename typedef Ttk_Element => Ttk_ElementImpl.
Diffstat (limited to 'generic/ttk/ttkLayout.c')
-rw-r--r--generic/ttk/ttkLayout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/ttk/ttkLayout.c b/generic/ttk/ttkLayout.c
index 12f372a..ef4f7b1 100644
--- a/generic/ttk/ttkLayout.c
+++ b/generic/ttk/ttkLayout.c
@@ -5,7 +5,7 @@
*
* Copyright (c) 2003 Joe English. Freely redistributable.
*
- * $Id: ttkLayout.c,v 1.4 2006/12/01 15:05:28 jenglish Exp $
+ * $Id: ttkLayout.c,v 1.5 2006/12/10 19:19:44 jenglish Exp $
*/
#include <string.h>
@@ -516,13 +516,13 @@ Tcl_Obj *Ttk_NewStickyObj(Ttk_Sticky sticky)
struct Ttk_LayoutNode_
{
unsigned flags; /* Packing and sticky flags */
- Ttk_Element element; /* Element implementation */
+ Ttk_ElementImpl element; /* Element implementation */
Ttk_State state; /* Current state */
Ttk_Box parcel; /* allocated parcel */
Ttk_LayoutNode *next, *child;
};
-static Ttk_LayoutNode *Ttk_NewLayoutNode(unsigned flags, Ttk_Element element)
+static Ttk_LayoutNode *Ttk_NewLayoutNode(unsigned flags, Ttk_ElementImpl element)
{
Ttk_LayoutNode *node = (Ttk_LayoutNode*)ckalloc(sizeof(Ttk_LayoutNode));
@@ -581,7 +581,7 @@ void Ttk_FreeLayoutTemplate(Ttk_LayoutTemplate op)
static Ttk_LayoutNode *
Ttk_InstantiateLayout(Ttk_Theme theme, Ttk_TemplateNode *op)
{
- Ttk_Element elementImpl = Ttk_GetElement(theme, op->name);
+ Ttk_ElementImpl elementImpl = Ttk_GetElement(theme, op->name);
Ttk_LayoutNode *node = Ttk_NewLayoutNode(op->flags, elementImpl);
if (op->next) {
@@ -849,7 +849,7 @@ Ttk_Layout Ttk_CreateLayout(
Ttk_Style style = Ttk_GetStyle(themePtr, styleName);
Ttk_LayoutTemplate layoutTemplate =
Ttk_FindLayoutTemplate(themePtr,styleName);
- Ttk_Element bgelement = Ttk_GetElement(themePtr, "background");
+ Ttk_ElementImpl bgelement = Ttk_GetElement(themePtr, "background");
Ttk_LayoutNode *bgnode;
if (!layoutTemplate) {