diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-01-10 22:15:08 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-01-10 22:15:08 (GMT) |
commit | fe0bd0662757656c456d65a46d1e1b2fb3dc09dc (patch) | |
tree | 7b651f2d892dcc55259c7df8fa9a4e02c8478f44 /tksao | |
parent | 579ddd50f08a4bd185d03d6433cf3816657f4ba9 (diff) | |
download | blt-fe0bd0662757656c456d65a46d1e1b2fb3dc09dc.zip blt-fe0bd0662757656c456d65a46d1e1b2fb3dc09dc.tar.gz blt-fe0bd0662757656c456d65a46d1e1b2fb3dc09dc.tar.bz2 |
fixed USE_TK_STUBS problem with tk widget inilalization
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/frame/frame3dtruecolor16.C | 5 | ||||
-rw-r--r-- | tksao/frame/frame3dtruecolor24.C | 5 | ||||
-rw-r--r-- | tksao/frame/frame3dtruecolor8.C | 5 | ||||
-rw-r--r-- | tksao/frame/framergbtruecolor16.C | 5 | ||||
-rw-r--r-- | tksao/frame/framergbtruecolor24.C | 5 | ||||
-rw-r--r-- | tksao/frame/framergbtruecolor8.C | 5 | ||||
-rw-r--r-- | tksao/frame/frametruecolor16.C | 5 | ||||
-rw-r--r-- | tksao/frame/frametruecolor24.C | 5 | ||||
-rw-r--r-- | tksao/frame/frametruecolor8.C | 5 |
9 files changed, 36 insertions, 9 deletions
diff --git a/tksao/frame/frame3dtruecolor16.C b/tksao/frame/frame3dtruecolor16.C index 3fd3d03..74e5da0 100644 --- a/tksao/frame/frame3dtruecolor16.C +++ b/tksao/frame/frame3dtruecolor16.C @@ -13,7 +13,7 @@ int Frame3dTrueColor16CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj // Frame3dTrueColor16 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frame3dTrueColor16Specs[] = { @@ -72,6 +72,9 @@ static Tk_ItemType frame3dTrueColor16Type = { int Frame3dTrueColor16_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frame3dTrueColor16Type); return TCL_OK; } diff --git a/tksao/frame/frame3dtruecolor24.C b/tksao/frame/frame3dtruecolor24.C index cc0ae5e..9d696ab 100644 --- a/tksao/frame/frame3dtruecolor24.C +++ b/tksao/frame/frame3dtruecolor24.C @@ -13,7 +13,7 @@ int Frame3dTrueColor24CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj // Frame3dTrueColor24 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frame3dTrueColor24Specs[] = { @@ -72,6 +72,9 @@ static Tk_ItemType frame3dTrueColor24Type = { int Frame3dTrueColor24_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frame3dTrueColor24Type); return TCL_OK; } diff --git a/tksao/frame/frame3dtruecolor8.C b/tksao/frame/frame3dtruecolor8.C index 9997549..bc76ceb 100644 --- a/tksao/frame/frame3dtruecolor8.C +++ b/tksao/frame/frame3dtruecolor8.C @@ -12,7 +12,7 @@ int Frame3dTrueColor8CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj * // Frame3dTrueColor8 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frame3dTrueColor8Specs[] = { @@ -71,6 +71,9 @@ static Tk_ItemType frame3dTrueColor8Type = { int Frame3dTrueColor8_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frame3dTrueColor8Type); return TCL_OK; } diff --git a/tksao/frame/framergbtruecolor16.C b/tksao/frame/framergbtruecolor16.C index 8aac133..a02fc65 100644 --- a/tksao/frame/framergbtruecolor16.C +++ b/tksao/frame/framergbtruecolor16.C @@ -13,7 +13,7 @@ int FrameRGBTrueColor16CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, // FrameRGBTrueColor16 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frameRGBTrueColor16Specs[] = { @@ -72,6 +72,9 @@ static Tk_ItemType frameRGBTrueColor16Type = { int FrameRGBTrueColor16_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frameRGBTrueColor16Type); return TCL_OK; } diff --git a/tksao/frame/framergbtruecolor24.C b/tksao/frame/framergbtruecolor24.C index 929d3a5..c0f30e3 100644 --- a/tksao/frame/framergbtruecolor24.C +++ b/tksao/frame/framergbtruecolor24.C @@ -13,7 +13,7 @@ int FrameRGBTrueColor24CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, // FrameRGBTrueColor24 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frameRGBTrueColor24Specs[] = { @@ -72,6 +72,9 @@ static Tk_ItemType frameRGBTrueColor24Type = { int FrameRGBTrueColor24_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frameRGBTrueColor24Type); return TCL_OK; } diff --git a/tksao/frame/framergbtruecolor8.C b/tksao/frame/framergbtruecolor8.C index a8653b8..fef7b28 100644 --- a/tksao/frame/framergbtruecolor8.C +++ b/tksao/frame/framergbtruecolor8.C @@ -13,7 +13,7 @@ int FrameRGBTrueColor8CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, // FrameRGBTrueColor8 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frameRGBTrueColor8Specs[] = { @@ -72,6 +72,9 @@ static Tk_ItemType frameRGBTrueColor8Type = { int FrameRGBTrueColor8_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frameRGBTrueColor8Type); return TCL_OK; } diff --git a/tksao/frame/frametruecolor16.C b/tksao/frame/frametruecolor16.C index 8285e16..53a2de3 100644 --- a/tksao/frame/frametruecolor16.C +++ b/tksao/frame/frametruecolor16.C @@ -12,7 +12,7 @@ int FrameTrueColor16CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj *c // FrameTrueColor16 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frameTrueColor16Specs[] = { @@ -71,6 +71,9 @@ static Tk_ItemType frameTrueColor16Type = { int FrameTrueColor16_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frameTrueColor16Type); return TCL_OK; } diff --git a/tksao/frame/frametruecolor24.C b/tksao/frame/frametruecolor24.C index 87c0d68..8610e2e 100644 --- a/tksao/frame/frametruecolor24.C +++ b/tksao/frame/frametruecolor24.C @@ -13,7 +13,7 @@ int FrameTrueColor24CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj *c // FrameTrueColor24 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frameTrueColor24Specs[] = { @@ -72,6 +72,9 @@ static Tk_ItemType frameTrueColor24Type = { int FrameTrueColor24_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frameTrueColor24Type); return TCL_OK; } diff --git a/tksao/frame/frametruecolor8.C b/tksao/frame/frametruecolor8.C index a2e3d96..7291e22 100644 --- a/tksao/frame/frametruecolor8.C +++ b/tksao/frame/frametruecolor8.C @@ -12,7 +12,7 @@ int FrameTrueColor8CreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int, Tcl_Obj *co // FrameTrueColor8 Specs static Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL + NULL, NULL, NULL }; static Tk_ConfigSpec frameTrueColor8Specs[] = { @@ -71,6 +71,9 @@ static Tk_ItemType frameTrueColor8Type = { int FrameTrueColor8_Init(Tcl_Interp* interp) { + tagsOption.parseProc = Tk_CanvasTagsParseProc; + tagsOption.printProc = Tk_CanvasTagsPrintProc; + Tk_CreateItemType(&frameTrueColor8Type); return TCL_OK; } |