Ignore:
Timestamp:
Dec 12, 2014, 7:16:36 AM (10 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/r9/packages/placard/canvPlacard.c

    r4842 r4852  
    413413
    414414
    415 /*
    416  * ------------------------------------------------------------------------
    417  *  RpCanvPlacard_Init --
    418  *
    419  *  Invoked when the Rappture GUI library is being initialized
    420  *  to install the "placard" item on the Tk canvas widget.
    421  *
    422  *  Returns TCL_OK if successful, or TCL_ERROR (along with an error
    423  *  message in the interp) if anything goes wrong.
    424  * ------------------------------------------------------------------------
    425  */
    426 int
    427 RpCanvPlacard_Init(interp)
    428     Tcl_Interp *interp;         /* interpreter being initialized */
    429 {
    430     Tk_CreateItemType(&rpPlacardType);
    431 
    432     Tk_DefineBitmap(interp, Tk_GetUid("rp_ellipsis"),
    433         (char*)ellipsis_bits, ellipsis_width, ellipsis_height);
    434 
    435     return TCL_OK;
    436 }
    437415
    438416/*
     
    14591437    return;
    14601438}
     1439
     1440/*
     1441 * ------------------------------------------------------------------------
     1442 *  RapptureCanvasPlacard_Init --
     1443 *
     1444 *  Invoked when the Rappture GUI library is being initialized
     1445 *  to install the "placard" item on the Tk canvas widget.
     1446 *
     1447 *  Returns TCL_OK if successful, or TCL_ERROR (along with an error
     1448 *  message in the interp) if anything goes wrong.
     1449 * ------------------------------------------------------------------------
     1450 */
     1451int
     1452RapptureCanvasPlacard_Init(interp)
     1453    Tcl_Interp *interp;         /* interpreter being initialized */
     1454{
     1455    Tk_CreateItemType(&rpPlacardType);
     1456
     1457    Tk_DefineBitmap(interp, Tk_GetUid("rp_ellipsis"),
     1458        (char*)ellipsis_bits, ellipsis_width, ellipsis_height);
     1459
     1460    return TCL_OK;
     1461}
Note: See TracChangeset for help on using the changeset viewer.