home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / B-C / CIconButton CDEF 1.0.sit / CIconButton CDEF 1.0 / Sample Code / CIconButton.PLib.Intf.p < prev    next >
Encoding:
Text File  |  1993-10-01  |  1.6 KB  |  48 lines  |  [TEXT/PJMM]

  1. UNIT CIconButtonIntf;
  2. INTERFACE
  3.  
  4. {$IFC CodeResource=TRUE}
  5.     USES
  6.         CIBUtils;
  7. {$ELSEC}
  8. {$IFC UseStubResource=TRUE}
  9.     TYPE
  10.         TextState = PACKED RECORD
  11.                 tsFont: integer;
  12.                 filler: byte;
  13.                 tsFace: Style;
  14.                 tsMode: integer;
  15.                 tsSize: integer;
  16.             END; { TextState = record }
  17.         TextStatePtr = ^TextState;
  18. {$ELSEC}
  19.     USES
  20.         GrafUtils;
  21. {$ENDC}
  22. {$ENDC}
  23.  
  24.  
  25.     FUNCTION CIB_IsCustomControl (c: ControlHandle): boolean;
  26.     PROCEDURE CIB_SetTitleOrientation (c: ControlHandle; orientation: integer);
  27.     PROCEDURE CIB_SetUseWFont (c: ControlHandle; useWFont: boolean);
  28.     PROCEDURE CIB_SetDynamicGeometry (c: ControlHandle; geometryChanges: boolean);
  29.     PROCEDURE CIB_SetTrackRegion (c: ControlHandle; trackRegion: boolean);
  30.     PROCEDURE CIB_SetCallbackProc (c: ControlHandle; theProc: procPtr);
  31.     FUNCTION CIB_GetCopyright (c: ControlHandle): str255;
  32.     FUNCTION CIB_GetVersion (c: ControlHandle): longint;
  33.     PROCEDURE CIB_SetMainIcon (c: ControlHandle; iconID: integer);
  34.     PROCEDURE CIB_SetShellIcon (c: ControlHandle; iconID: integer);
  35.     PROCEDURE CIB_SetAltIcon (c: ControlHandle; iconID: integer);
  36.     PROCEDURE CIB_SetIcons (c: ControlHandle; main, shell, alt: integer);
  37.     PROCEDURE CIB_SetLabelGap (c: ControlHandle; gap: integer);
  38.     PROCEDURE CIB_SetCheckmarkGap (c: ControlHandle; gap: integer);
  39.  
  40.     PROCEDURE CIB_SetTextFont (c: ControlHandle; theFont: integer);
  41.     PROCEDURE CIB_SetTextFace (c: ControlHandle; theFace: Style);
  42.     PROCEDURE CIB_SetTextMode (c: ControlHandle; theMode: integer);
  43.     PROCEDURE CIB_SetTextSize (c: ControlHandle; theSize: integer);
  44.     PROCEDURE CIB_SetTextState (c: ControlHandle; theTextState: textStatePtr);
  45.  
  46. IMPLEMENTATION
  47.  
  48. END.