diff options
-rw-r--r-- | src/bltConfig.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/bltConfig.h b/src/bltConfig.h index a1bba8a..b42bdf4 100644 --- a/src/bltConfig.h +++ b/src/bltConfig.h @@ -134,7 +134,6 @@ typedef enum { BLT_CONFIG_FILL, BLT_CONFIG_LIST, BLT_CONFIG_OBJ, - BLT_CONFIG_PAD, BLT_CONFIG_STATE, BLT_CONFIG_BACKGROUND } Blt_ConfigTypes; @@ -173,34 +172,6 @@ typedef enum { /* *--------------------------------------------------------------------------- * - * Blt_Pad -- - * - * Specifies vertical and horizontal padding. - * - * Padding can be specified on a per side basis. The fields - * side1 and side2 refer to the opposite sides, either - * horizontally or vertically. - * - * side1 side2 - * ----- ----- - * x | left right - * y | top bottom - * - *--------------------------------------------------------------------------- - */ -typedef struct { - unsigned short int side1, side2; -} Blt_Pad; - -#define padLeft xPad.side1 -#define padRight xPad.side2 -#define padTop yPad.side1 -#define padBottom yPad.side2 -#define PADDING(x) ((x).side1 + (x).side2) - -/* - *--------------------------------------------------------------------------- - * * The following enumerated values are used as bit flags. * FILL_NONE Neither coordinate plane is specified * FILL_X Horizontal plane. @@ -268,9 +239,6 @@ extern const char *Blt_NameOfState(int state); extern void Blt_FreeOptions(Blt_ConfigSpec *specs, char *widgRec, Display *display, int needFlags); -extern int Blt_GetPadFromObj(Tcl_Interp *interp, Tk_Window tkwin, - Tcl_Obj *objPtr, Blt_Pad *padPtr); - extern int Blt_GetStateFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int *statePtr); |