diff options
Diffstat (limited to 'app/bin/command.h')
| -rw-r--r-- | app/bin/command.h | 38 | 
1 files changed, 2 insertions, 36 deletions
diff --git a/app/bin/command.h b/app/bin/command.h index 073e412..882d94a 100644 --- a/app/bin/command.h +++ b/app/bin/command.h @@ -81,8 +81,7 @@  #define C_CONTINUE		(100)  #define C_TERMINATE		(101) -#define C_INFO			(102) -#define C_ERROR			(103) +#define C_ERROR			(102)  /*   * Command Levels - obsolete @@ -92,58 +91,25 @@  #define LEVEL1			(2)  #define LEVEL2			(3) -/* - * Command groups - */ -#define BG_SELECT		(0) -#define BG_ZOOM			(1) -#define BG_UNDO			(2) -#define BG_EASE			(3) -#define BG_TRKCRT		(4) -#define BG_TRKMOD		(5) -#define BG_TRKGRP		(6) -#define BG_MISCCRT		(7) -#define BG_RULER		(8) -#define BG_LAYER		(9) -#define BG_HOTBAR		(10) -#define BG_SNAP			(11) -#define BG_TRAIN		(12) -#define BG_COUNT		(13) -#define BG_FILE			(14) -#define BG_CONTROL		(15) -#define BG_EXPORTIMPORT (16) -#define BG_PRINT		(17) -#define BG_BIGGAP		(1<<8) -extern int cmdGroup;  extern int buttonCnt;  extern int commandCnt; -extern int cmdGroup; -extern long toolbarSet; -extern wWinPix_t toolbarHeight;  extern long preSelect;  extern long rightClickMode;  extern void * commandContext;  extern coOrd cmdMenuPos;  const char * GetCurCommandName( void ); +EXPORT bool IsCommandEnabled(long mode, long options);  void EnableCommands( void );  wIndex_t GetCurrentCommand(void);  void Reset( void );  wBool_t DoCurCommand( wAction_t, coOrd );  int ConfirmReset( BOOL_T );  void DoCommandB( void * ); -void LayoutToolBar( void * );  BOOL_T CommandEnabled( wIndex_t );  #define NUM_CMDMENUS (4) -wIndex_t AddCommand(procCommand_t cmdProc, const char * helpKey, -                    const char * nameStr, wIcon_p icon, int reqLevel, long options, long acclKey, -                    wIndex_t buttInx, long stickyMask, wMenuPush_p cmdMenus[NUM_CMDMENUS], -                    void * context); -void AddToolbarControl( wControl_p, long ); -void PlaybackButtonMouse( wIndex_t ); -void PlaybackCommand( const char *, wIndex_t );  BOOL_T IsCurCommandSticky(void);  void ResetIfNotSticky( void );  void CommandInit( void );  | 
