/******************************************************************************/
/* */
/* LaunchMenu (C) by Gerhard W. Gruber in Vienna 2003 */
/* All rights reserved */
/* */
/******************************************************************************/
/******************************************************************************
*
* PROJECT: LaunchMenu
* $Source: /cvsroot/launchmenu/LaunchMenu/Linux.h,v $
* $Revision: 1.3 $
* $Date: 2003/11/09 10:48:36 $
* $Author: lightweave $
* $Name: $
*
* $Log: Linux.h,v $
* Revision 1.3 2003/11/09 10:48:36 lightweave
* Fixes to make linux version work. In Detail:
* .) Added a window in linux.cpp which is aligned at the specified border.
*
* .) Added a timer that keeps the winod on top of all others (linux only).
*
* .) Changed ButtonUp to ButtonDown message. This will work nicer on linux and
* doesn't effect the Windows version.
*
* Revision 1.2 2003/10/14 21:10:57 lightweave
* Updates for Windows version which works now properly.
* Hook code has been changed to WH_MOUSE instead of the WH_JOURNALRECORD I
* used previously.
*
* Revision 1.1 2003/10/04 22:03:13 lightweave
* OS dependent part for compiling under Linux.
*
*
*
* DESCRIPTION: This file contains the OS specific part of the Launchmenu.
* This is the mousehook installation deinstallation routine, as well as
* reporting the mouseevent to the main application. This file is analogous
* to the LaunchMenuDLL for Win32.
*
*****************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef LINUX_H
#define LINUX_H
#include <wx/frame.h>
#include <wx/timer.h>
#include "MouseInterface.h"
#define LAUNCHMENU_TIMER wxID_HIGHEST+1
class CLaunchMenuDesktop : public wxFrame
{
public:
CLaunchMenuDesktop(void);
void OnRightButtonDown(wxMouseEvent &Event);
void OnRightButtonUp(wxMouseEvent &Event);
void OnTimer(wxTimerEvent &Event);
private:
DECLARE_EVENT_TABLE()
};
#endif