summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2013-09-12 20:08:25 (GMT)
committerjoye <joye>2013-09-12 20:08:25 (GMT)
commitee37afda66f7d508f8dffea2f6e2f80ef59a8a60 (patch)
treeb758a1b0cad29bcd9e6fa7a65b373f51f9c6ffd6 /src
parentce34540613c767fed084747613a4c1a1f1845648 (diff)
downloadblt-ee37afda66f7d508f8dffea2f6e2f80ef59a8a60.zip
blt-ee37afda66f7d508f8dffea2f6e2f80ef59a8a60.tar.gz
blt-ee37afda66f7d508f8dffea2f6e2f80ef59a8a60.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltConfig.C52
-rw-r--r--src/bltConfig.h5
2 files changed, 0 insertions, 57 deletions
diff --git a/src/bltConfig.C b/src/bltConfig.C
index f8193b9..287d9f5 100644
--- a/src/bltConfig.C
+++ b/src/bltConfig.C
@@ -444,27 +444,6 @@ Blt_GetSideFromObj(
return TCL_OK;
}
-/*
- *---------------------------------------------------------------------------
- *
- * Blt_ResetLimits --
- *
- * Resets the limits to their default values.
- *
- * Results:
- * None.
- *
- *---------------------------------------------------------------------------
- */
-void
-Blt_ResetLimits(Blt_Limits *limitsPtr) /* Limits to be imposed on the value */
-{
- limitsPtr->flags = 0;
- limitsPtr->min = LIMITS_MIN;
- limitsPtr->max = LIMITS_MAX;
- limitsPtr->nom = LIMITS_NOM;
-}
-
int
Blt_GetLimitsFromObj(Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr,
Blt_Limits *limitsPtr)
@@ -2054,34 +2033,3 @@ Blt_ConfigureComponentFromObj(
}
return result;
}
-
-/*
- *---------------------------------------------------------------------------
- *
- * Blt_ObjIsOption --
- *
- * Indicates whether objPtr is a valid configuration option
- * such as -background.
- *
- * Results:
- * Returns 1 is a matching option is found and 0 otherwise.
- *
- *---------------------------------------------------------------------------
- */
-int
-Blt_ObjIsOption(
- Blt_ConfigSpec *specs, /* Describes legal options. */
- Tcl_Obj *objPtr, /* Command-line option name. */
- int flags) /* Used to specify additional flags
- * that must be present in config specs
- * for them to be considered. Also,
- * may have BLT_CONFIG_OBJV_ONLY set. */
-{
- Blt_ConfigSpec *sp;
- int needFlags; /* Specs must contain this set of flags
- * or else they are not considered. */
-
- needFlags = flags & ~(BLT_CONFIG_USER_BIT - 1);
- sp = FindConfigSpec((Tcl_Interp *)NULL, specs, objPtr, needFlags, 0);
- return (sp != NULL);
-}
diff --git a/src/bltConfig.h b/src/bltConfig.h
index 9b4891e..84ec2bc 100644
--- a/src/bltConfig.h
+++ b/src/bltConfig.h
@@ -1,4 +1,3 @@
-
/*
* bltConfig.h --
*
@@ -281,7 +280,6 @@ typedef struct {
extern void Blt_SetDashes (Display *display, GC gc, Blt_Dashes *dashesPtr);
extern Blt_Dashes *Blt_GetDashes (GC gc);
-extern void Blt_ResetLimits(Blt_Limits *limitsPtr);
extern int Blt_GetLimitsFromObj(Tcl_Interp *interp, Tk_Window tkwin,
Tcl_Obj *objPtr, Blt_Limits *limitsPtr);
@@ -308,9 +306,6 @@ extern const char *Blt_NameOfSide(int side);
extern void Blt_FreeOptions(Blt_ConfigSpec *specs, char *widgRec,
Display *display, int needFlags);
-extern int Blt_ObjIsOption(Blt_ConfigSpec *specs, Tcl_Obj *objPtr,
- int flags);
-
extern int Blt_GetSideFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
int *sidePtr);