home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
os20
/
forceicon-1.2.lha
/
ForceIcon
/
Source
/
ForceIcon.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-31
|
7KB
|
178 lines
/*
Auto: smake ForceIcon
*/
/* $Revision Header built automatically *************** (do not edit) ************
**
** © Copyright by GuntherSoft
**
** File : SnakeSYS:CPrgs/Utils/ForceIcon/ForceIcon.h
** Created on : Wednesday, 20.10.93 17:19:27
** Created by : Kai Iske
** Current revision : V1.2
**
**
** Purpose
** -------
** - ForceIcon Header file
**
** Revision V1.2
** --------------
** created on Tuesday, 07.12.93 18:10:09 by Kai Iske. LogMessage :
** - Entries may be copied now
**
** Revision V1.1
** --------------
** created on Tuesday, 02.11.93 23:11:14 by Kai Iske. LogMessage :
** -*- changed on Saturday, 27.11.93 02:12:59 by Kai Iske. LogMessage :
** - Recompiled using SAS 6.50
** -*- changed on Saturday, 20.11.93 18:14:21 by Kai Iske. LogMessage :
** - ForceIcon will adopt the orig. window position and size now.
** (Suggested by : Michael 'Mick' Hohmann and me)
** -*- changed on Saturday, 20.11.93 18:03:08 by Kai Iske. LogMessage :
** - Icons weren`t positions as set with the Position window.
** (Reported by : Michael 'Mick' Hohmann)
** - Misleading explanation removed from docs
** (Reported by : Michael 'Mick' Hohmann)
** -*- changed on Saturday, 20.11.93 17:33:51 by Kai Iske. LogMessage :
** - The X/Y coordinates may be set manually, now.
** (Requested by : Michael 'Mick' Hohmann)
** -*- changed on Saturday, 20.11.93 17:24:20 by Kai Iske. LogMessage :
** - Edit Entry window`s gadget used 'I' twice
** (Reported by : Michael 'Mick' Hohmann)
** -*- changed on Thursday, 11.11.93 18:43:27 by Kai Iske. LogMessage :
** - You may now tell ForceIcon not to patch the position, but
** rather let WB chose a good place. (Good when importing
** volumes via network)
** -*- changed on Tuesday, 02.11.93 23:23:00 by Kai Iske. LogMessage :
** - ListView gadgets weren`t adjusted for OS 2.x. - Should check
** for OS 2.x sometime ;)
** (Reported by : Bernhard Moellemann)
** - Changed needed Versions of some libraries from 37 to 36
** -*- created on Tuesday, 02.11.93 23:11:14 by Kai Iske. LogMessage :
** - If there wasn`t a filename for the Icon-File the
** FileRequester sometimes showed a weird Drawer-Name
** (Reported by : Dirk Federlein)
**
** Revision V1.0
** --------------
** created on Wednesday, 20.10.93 17:19:27 by Kai Iske. LogMessage :
** -*- changed on Thursday, 28.10.93 17:35:28 by Kai Iske. LogMessage :
** - Suggestions for device dependancy by Ralph Babel
** - Bug "found" by Ralph Babel
** - Pos window used to open on default pubscreen, not on WB.
** (Reported by : Bernhard Moellemann)
** -*- created on Wednesday, 20.10.93 17:19:27 by Kai Iske. LogMessage :
** --- Initial release ---
**
*********************************************************************************/
#define REVISION "1.2"
#define REVDATE "07.12.93"
#define REVTIME "18:10:09"
#define AUTHOR "Kai Iske"
#define VERNUM 1
#define REVNUM 2
/**********************************************************************/
/* Prototype for serial debugging */
/**********************************************************************/
void KPrintF(char *, ...);
/**********************************************************************/
/* Defines */
/**********************************************************************/
#define ERR_OPEN 0
#define ERR_NOMEM 1
#define ERR_NOTALL 2
#define ERR_ABOUT 3
#define ERR_NOFILE 4
#define ERR_EXISTS 5
#define ERR_NONEG 6
#define ESCKEY 0x1B
#define HELPKEY 0x5f
#define GTSL_DummyBuf GT_TagBase+4096
#define IDCMP_ACTSTRGAD 0x12345678
#define POPKEY 1
/**********************************************************************/
/* Defines for main window */
/**********************************************************************/
#define GD_MainVols 0
#define GD_MainUseVols 1
#define GD_MainAdd 2
#define GD_MainEdit 3
#define GD_MainRemove 4
#define GD_MainSave 5
#define GD_MainUse 6
#define GD_MainQuit 7
#define GD_MainHide 8
#define GD_MainManual 9
#define GD_MainRescan 10
#define GD_MainAbout 11
#define GD_MainType 12
#define GD_MainCopy 13
#define MAINWIN_CNT 14
/**********************************************************************/
/* Defines for Edit window */
/**********************************************************************/
#define GD_EditPos 0
#define GD_EditOk 1
#define GD_EditCancel 2
#define GD_EditVol 3
#define GD_EditIcon 4
#define GD_EditGet 5
#define GD_EditUseIcon 6
#define GD_EditType 7
#define GD_EditIconPos 8
#define GD_EditX 9
#define GD_EditY 10
#define EDITWIN_CNT 11
/**********************************************************************/
/* Defines for manual input */
/**********************************************************************/
#define GD_ManVol 0
#define GD_ManOk 1
#define GD_ManCancel 2
#define GD_ManType 3
#define MANWIN_CNT 4
/**********************************************************************/
/* Structure defines */
/**********************************************************************/
struct VolEntry
{
struct Node Link;
char VolName[130];
char IconName[256];
UWORD Left;
UWORD Top;
UWORD UseAlt;
UWORD IconPos;
UWORD Pad[32]; // For future expansions
WORD LeftEdge;
WORD TopEdge;
WORD Width;
WORD Height;
};
#include "Protos.h"