convenience commit; things seem to be working with MEZ1000
This commit is contained in:
parent
e8693a5012
commit
c512466fc0
5 changed files with 975 additions and 620 deletions
1478
src/AppMain.c
1478
src/AppMain.c
File diff suppressed because it is too large
Load diff
|
@ -1,10 +1,10 @@
|
|||
|
||||
|
||||
typedef struct {
|
||||
Char barcode[15];
|
||||
Char cases[4];
|
||||
Char units[4];
|
||||
} RatScanDbRecord;
|
||||
/* typedef struct { */
|
||||
/* Char barcode[15]; */
|
||||
/* Char cases[4]; */
|
||||
/* Char units[4]; */
|
||||
/* } RatScanDbRecord; */
|
||||
|
||||
|
||||
#ifdef SCANLIB_BCS2
|
||||
|
@ -14,25 +14,28 @@ static void CloseBCS2Scanner();
|
|||
|
||||
#ifdef SCANLIB_JANAM
|
||||
//static Boolean OpenBabboScanner();
|
||||
//static void CloseBabboScanner();
|
||||
#endif
|
||||
|
||||
static DmOpenRef CreateScanDatabase();
|
||||
static void DrawCustomTableItem(void* table, Int16 row, Int16 col, RectangleType* bounds);
|
||||
/* static DmOpenRef CreateScanDatabase(); */
|
||||
/* static void DrawCustomTableItem(void* table, Int16 row, Int16 col, RectangleType* bounds); */
|
||||
/* static Int16 GetCheckedValue(UInt16 objId); */
|
||||
static Boolean IsChecked(FormPtr form, UInt16 controlID);
|
||||
static void *GetObjectPtr(UInt16 objId);
|
||||
static Boolean MainFormHandleEvent(EventPtr event);
|
||||
static void MainFormInit(FormPtr form);
|
||||
static void MainFormLoadTable(TablePtr table, Boolean updateScroll);
|
||||
static DmOpenRef OpenScanDatabase();
|
||||
static void SetFieldFocus(UInt16 objId);
|
||||
static void ShowQuantityForm(UInt16 triggerID, Boolean manual);
|
||||
static Boolean StoreScanData();
|
||||
/* static Boolean IsChecked(FormPtr form, UInt16 controlID); */
|
||||
/* static void *GetObjectPtr(UInt16 objId); */
|
||||
/* static Boolean MainFormHandleEvent(EventPtr event); */
|
||||
/* static void MainFormInit(FormPtr form); */
|
||||
/* static void MainFormLoadTable(TablePtr table, Boolean updateScroll); */
|
||||
/* static DmOpenRef OpenScanDatabase(); */
|
||||
/* static void ShowQuantityForm(UInt16 triggerID, Boolean manual); */
|
||||
/* static Boolean StoreScanData(); */
|
||||
|
||||
/* static void EnableScanner(Boolean enable); */
|
||||
/* static void FocusBarcode(); */
|
||||
//static void FetchScanData();
|
||||
/* static void ProcessScan(); */
|
||||
|
||||
// Quantity Form
|
||||
static Boolean QuantityFormHandleEvent(EventPtr event);
|
||||
static void QuantityFormInit(FormPtr form);
|
||||
static void AppendQuantityDigit(UInt16 digit);
|
||||
static void UpdateQuantityDisplay();
|
||||
static void QuantityFormAccept();
|
||||
/* static Boolean QuantityFormHandleEvent(EventPtr event); */
|
||||
/* static void QuantityFormInit(FormPtr form); */
|
||||
/* static void AppendQuantityDigit(UInt16 digit); */
|
||||
/* static void UpdateQuantityDisplay(); */
|
||||
/* static void QuantityFormAccept(); */
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
#define MainFormUnits 1001
|
||||
|
||||
#define AlertTest 1000
|
||||
#define AlertScannerOpenError 1300
|
||||
#define AlertScannerEnableError 1200
|
||||
#define AlertScannerCloseError 1100
|
||||
|
||||
// Resource: tFRM 1100
|
||||
#define AboutForm 1100 //(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue