home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK2.DSK
/
WPLOCFGR.IDL
< prev
next >
Wrap
Text File
|
1994-09-28
|
6KB
|
254 lines
//# This file was generated by the SOM Compiler.
//# FileName: wplocfgr.id2.
//# Generated using:
//# SOM Precompiler somopc: 2.7
//# SOM Emitter emitidl: 2.22
// SCC: @(#) 98 4/16/93 19:53:27 1.7 @(#)
// Module Header
//
// Module Name: WPLOCFGR
//
// OS/2 Presentation Manager Workplace class definitions
//
// Copyright (c) International Business Machines Corporation 1992
//
#ifndef wplocfgr_idl
#define wplocfgr_idl
#include "wplocatr.idl"
#include <somcls.idl>
interface M_PenLocatorFinger;
interface PenLocatorFinger : PenLocator
//# Comment for parent PenLocator:
//---Symbol parentComment is undefined---
//
// CLASS: PenLocatorFinger
//
// CLASS HIERARCHY:
// SOMObject
// └── WPObject
// └── WPAbstract
// └── PenLocator
// └── PenLocatorFinger
//
// DESCRIPTION:
// This is the Locator object class for the Finger.
//
// An instance of this class can be created as a Workplace object.
//
// An instance of this class is created initially by the system.
// It has the title, "Locator" and resides in the "System Setup" folder.
//
{
ULONG penAddFingerOffsetPage(in HWND hwndNotebook);
//
// METHOD: penAddFingerOffsetPage ( ) PRIVATE
// (X) PUBLIC
// PURPOSE:
// Add the finger Offset page to the locator finger settings
// notebook
//
#ifdef __PRIVATE__
ULONG penQueryOffsetPointerX();
//
// METHOD: penQueryOffsetPointerX (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Query the pointer pos
//
ULONG penQueryOffsetPointerY();
//
// METHOD: penQueryOffsetPointerY (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Query the pointer pos
//
VOID penSetOffsetPointerX(in ULONG ulPos);
//
// METHOD: penSetOffsetPointerX (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Set the pointer pos
//
VOID penSetOffsetPointerY(in ULONG ulPos);
//
// METHOD: penSetOffsetPointerY (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Set the pointer pos
//
#endif
#ifdef __SOMIDL__
implementation {
releaseorder: penAddFingerOffsetPage,penQueryOffsetPointerX,penQueryOffsetPointerY,
penSetOffsetPointerX,penSetOffsetPointerY;
//# Class Modifiers
local;
functionprefix = fgr_;
majorversion = 1;
minorversion = 1;
filestem = wplocfgr;
metaclass = M_PenLocatorFinger;
callstyle = oidl;
#ifdef __PRIVATE__
passthru C_ih_before = ""
"#include \"wplocatr.ih\""
""
"#define LOCATOR_FGR_VERSION_MAJOR 1"
"#define LOCATOR_FGR_VERSION_MINOR 1"
""
"#define PENLOCFGR_DEFAULTHELP 40076"
"#define FINGERDLG_HELPRES 40078"
""
"#define IDKEY_OFFSET_X 1"
"#define IDKEY_OFFSET_Y 2"
""
"#define VGA_RES_X 640"
"#define VGA_RES_Y 480"
"#define FIXED_PTR_X 39"
"#define FIXED_PTR_Y 10"
"#define FIXED_PTR_CY 32"
"#define OFFSET_PTR_CENTER 16"
""
"#define PPMSV_MY_DEF_X 0"
"#define PPMSV_MY_DEF_Y 0"
"";
#endif /* __PRIVATE__ */
//
//#include "wplocatr.ph"
//
//#define LOCATOR_FGR_VERSION_MAJOR 1
//#define LOCATOR_FGR_VERSION_MINOR 1
//
//#define PENLOCFGR_DEFAULTHELP 40076
//#define FINGERDLG_HELPRES 40078
//
//#define IDKEY_OFFSET_X 1
//#define IDKEY_OFFSET_Y 2
//
//#define VGA_RES_X 640
//#define VGA_RES_Y 480
//#define FIXED_PTR_X 39
//#define FIXED_PTR_Y 10
//#define FIXED_PTR_CY 32
//#define OFFSET_PTR_CENTER 16
//
//#define PPMSV_MY_DEF_X 0
//#define PPMSV_MY_DEF_Y 0
//
//# Internal Instance Variables
ULONG ulOffsetPointerPosX;
ULONG ulOffsetPointerPosY;
//# Method Modifiers
wpAddSettingsPages: override;
wpSaveState: override;
wpRestoreState: override;
wpInitData: override;
//# Data Modifiers
ulOffsetPointerPosX: internal;
ulOffsetPointerPosY: internal;
#ifdef __PRIVATE__
//# Data Modifiers
#endif
};
#endif /* __SOMIDL__ */
};
interface M_PenLocatorFinger
//# Comment for parent PenLocator:
//---Symbol parentComment is undefined---
{
#ifdef __PRIVATE__
ULONG penclsQueryTouchOffsetIdX();
//
// METHOD: penclsQueryTouchOffsetIdX (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Query the sys value ID
//
ULONG penclsQueryTouchOffsetIdY();
//
// METHOD: penclsQueryTouchOffsetIdY (x) PRIVATE
// ( ) PUBLIC
// PURPOSE:
// Query the sys value ID
//
#endif
#ifdef __SOMIDL__
implementation {
releaseorder: penclsQueryTouchOffsetIdX,penclsQueryTouchOffsetIdY;
//# Class Modifiers
local;
functionprefix = fgrM_;
majorversion = 1;
minorversion = 1;
filestem = wplocfgr;
callstyle = oidl;
//# Method Modifiers
wpclsQueryTitle: override;
wpclsQueryIconData: override;
wpclsQueryDefaultHelp: override;
penclsQueryDefaultPause: override;
penclsQueryPauseEnableDefault: override;
#ifdef __PRIVATE__
//# Data Modifiers
penclsQueryPauseId: override;
penclsQueryPauseEnableId: override;
#endif
};
#endif /* __SOMIDL__ */
};
#endif /* wplocfgr_idl */