Ignore:
Timestamp:
Jul 31, 2006, 5:21:38 AM (19 years ago)
Author:
bird
Message:

bedtime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/synergy/lib/platform/CPMScreen.h

    r2752 r2755  
    33 * Copyright (C) 2002 Chris Schoeneman
    44 * Copyright (C) 2006 Knut St. Osmundsen
    5  * 
     5 *
    66 * This package is free software; you can redistribute it and/or
    77 * modify it under the terms of the GNU General Public License
    88 * found in the file COPYING that should have accompanied this file.
    9  * 
     9 *
    1010 * This package is distributed in the hope that it will be useful,
    1111 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     
    9898        HMODULE                         openHookLibrary(const char* name);
    9999        void                            closeHookLibrary(HMODULE hookLibrary) const;
    100         ATOM                            createWindowClass() const;
    101         ATOM                            createDeskWindowClass(bool isPrimary) const;
    102         void                            destroyClass(ATOM windowClass) const;
    103         HWND                            createWindow(ATOM windowClass, const char* name) const;
     100        HWND                            createWindow(const char* name);
    104101        void                            destroyWindow(HWND) const;
    105102
     
    122119        // message handlers
    123120        bool                            onMark(UInt32 mark);
    124         bool                            onKey(MPARAM, MPARAM);
     121        bool                            onKey(USHORT fsFlags, UCHAR ucRepeat, UCHAR ucScanCode, USHORT usch, USHORT usvk);
    125122        bool                            onHotKey(MPARAM, MPARAM);
    126         bool                            onMouseButton(MPARAM, MPARAM);
    127         bool                            onMouseMove(SInt32 x, SInt32 y);
    128         bool                            onMouseWheel(SInt32 xDelta, SInt32 yDelta);
    129         bool                            onScreensaver(bool activated);
    130         bool                            onDisplayChange();
     123        bool                            onMouseButton(ULONG msg, SInt32 ax, SInt32 ay);
     124        bool                            onMouseMove(ULONG msg, SInt32 ax, SInt32 ay);
    131125        bool                            onClipboardChange();
    132126
     
    150144
    151145        // map a button event to a button ID
    152         ButtonID                        mapButtonFromEvent(ULONG msg, MPARAM button) const;
     146        ButtonID                        mapButtonFromEvent(ULONG msg) const;
    153147
    154148        // map a button event to a press (true) or release (false)
    155         bool                            mapPressFromEvent(ULONG msg, MPARAM button) const;
     149        bool                            mapPressFromEvent(ULONG msg) const;
    156150
    157151        // job to update the key state
     
    192186        bool                            m_isOnScreen;
    193187
    194         // our resources
    195         ATOM                            m_class;
    196 
    197188        // screen shape stuff
    198189        SInt32                          m_x, m_y;
     
    213204        UInt32                          m_markReceived;
    214205
    215         // the main loop's thread id
     206        // the main loop's thread id, anchor block and message queue.
    216207        int                                     m_threadID;
    217 
    218         // timer for periodically checking stuff that requires polling
    219         CEventQueueTimer*       m_fixTimer;
     208        HAB                                     m_hab;
     209        HMQ                 m_hmq;
    220210
    221211        // screen saver stuff
    222         CPMScreenSaver* m_screensaver;
    223         bool                                    m_screensaverNotify;
    224         bool                                    m_screensaverActive;
     212        CPMScreenSaver*         m_screensaver;
     213        bool                            m_screensaverNotify;
     214        bool                            m_screensaverActive;
    225215
    226216        // clipboard stuff.  our window is used mainly as a clipboard
     
    255245};
    256246
     247/*
     248 * Local Variables:
     249 *  mode: c
     250 *  c-file-style: "k&r"
     251 *  c-basic-offset: 4
     252 *  tab-width: 4
     253 *  indent-tabs-mode: t
     254 * End:
     255 */
     256
    257257#endif
Note: See TracChangeset for help on using the changeset viewer.