Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024

File: [Platon] / tucniak / cuchar / cc_mouse.h (download)

Revision 1.5, Thu Dec 8 21:13:04 2005 UTC (18 years, 4 months ago) by misosud


Changes since 1.4: +26 -24 lines

Updated names. Changed event system to more idle. Corrected many errors.

/*
  Name: cc_mouse.h
  Author: Michal Sudolsky <michals@sulysoft.com>
  Date: 22.09.2005 16:15
*/
// modified by Juraj Kolesar <koli@koli.sk>

extern long _cc_mousex;
extern long _cc_mousey;
extern bool _cc_aftermouseval;
extern char _cc_mouseactive;
extern char _cc_redrawmouse;
extern Cc_Timer *_cc_mouserepeattimer,*_cc_doubletimer1,*_cc_doubletimer2;
extern bool _cc_doubleclickstate1,_cc_doubleclickstate2;
extern Gpm_Event _cc_gpmev;
extern bool _cc_eventq;
extern bool _cc_waitevent;
extern bool _cc_waitkeyevent;
extern pthread_t _cc_gpmthreadp;
extern Cc_Win *_cc_lastfocused;

void _cc_setcomboactiveitem(COMBO *combo,long old,long new);
void _cc_setlistactiveitem(LIST *list,long old,long new);
void _cc_setlistscrollupitem(LIST *list,long old,long new);
void _cc_buttondoubletimer(Cc_Timer *sender);
bool _cc_inrect(long x1,long y1,long x2,long y2,long x,long y);
bool _cc_sendmousemessage(long vx,long vy,unsigned short state);
void _cc_doubleclickproc(Cc_Timer *sender);
void _cc_mouserepeatproc(Cc_Timer *sender);
void _cc_mousewaitproc(Cc_Timer *sender);
void *_cc_gpmthread(void *par);
bool _cc_gpmgetevent(Gpm_Event *event);
void _cc_domouseevent(MEVENT *event);
bool _cc_dosendmousemessage(Cc_Win *p,long vx,long vy,unsigned short state);

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top