2012-02-15 19:34:31 -06:00
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
Char barcode[15];
|
|
|
|
Char cases[4];
|
|
|
|
Char units[4];
|
|
|
|
} RatScanDbRecord;
|
|
|
|
|
|
|
|
|
|
|
|
//static void CloseBabboScanner();
|
|
|
|
static void CloseBCS2Scanner();
|
|
|
|
static DmOpenRef CreateScanDatabase();
|
|
|
|
static void DrawCustomTableItem(void* table, Int16 row, Int16 col, RectangleType* bounds);
|
2012-12-04 13:18:18 -06:00
|
|
|
/* static Int16 GetCheckedValue(UInt16 objId); */
|
|
|
|
static Boolean IsChecked(FormPtr form, UInt16 controlID);
|
|
|
|
static void *GetObjectPtr(UInt16 objId);
|
2012-02-15 19:34:31 -06:00
|
|
|
static Boolean MainFormHandleEvent(EventPtr event);
|
|
|
|
static void MainFormInit(FormPtr form);
|
|
|
|
static void MainFormLoadTable(TablePtr table, Boolean updateScroll);
|
|
|
|
//static Boolean OpenBabboScanner();
|
|
|
|
static Boolean OpenBCS2Scanner();
|
|
|
|
static DmOpenRef OpenScanDatabase();
|
|
|
|
static void SetFieldFocus(UInt16 objId);
|
2012-12-04 13:18:18 -06:00
|
|
|
static void ShowQuantityForm(UInt16 triggerID, Boolean manual);
|
2012-02-15 19:34:31 -06:00
|
|
|
static Boolean StoreScanData();
|
2012-12-04 13:18:18 -06:00
|
|
|
|
|
|
|
// Quantity Form
|
|
|
|
static Boolean QuantityFormHandleEvent(EventPtr event);
|
|
|
|
static void QuantityFormInit(FormPtr form);
|
|
|
|
static void AppendQuantityDigit(UInt16 digit);
|
|
|
|
static void UpdateQuantityDisplay();
|
|
|
|
static void QuantityFormAccept();
|