Browse Subversion Repository
Contents of /filemv/mousegesture.h
Parent Directory
| Revision Log
Revision 7 -
( show annotations)
( download)
Wed Jan 2 22:06:47 2008 UTC
(16 years, 3 months ago)
by tabasa
File MIME type: text/plain
File size: 773 byte(s)
| 1 |
LRESULT CALLBACK ListProc( dirw &dir, WNDPROC oldproc, HWND hWnd, UINT msg, WPARAM wp, LPARAM lp); |
| 2 |
void selectSet( dirw &dir, HWND tab ); |
| 3 |
|
| 4 |
#define LogPosMax 10000 |
| 5 |
#define mousecommax 1000 |
| 6 |
#define showlen 38 |
| 7 |
|
| 8 |
class mousecommand |
| 9 |
{ |
| 10 |
char mousecom[mousecommax]; |
| 11 |
char last[4]; |
| 12 |
int clossnum; |
| 13 |
int len; |
| 14 |
BOOL same; //üŤŞ¨Čś |
| 15 |
public: |
| 16 |
mousecommand(){reset();mousecom[0]=0;}; |
| 17 |
void reset(){last[0]=0;len=0;clossnum=0;};//mousecom[0]=0; |
| 18 |
char * getLastStr(){ return mousecom;}; |
| 19 |
char * getStr(){ if(len>0) return mousecom; else return "";}; |
| 20 |
char * getStatusStr(){ char *p=mousecom;if(strlen(p)>showlen) p+=strlen(p)-showlen;return p;}; |
| 21 |
int getStrlen(){ return strlen(mousecom);}; |
| 22 |
BOOL add(char *str); |
| 23 |
BOOL addforce(char *str); |
| 24 |
int calccloss(); |
| 25 |
void changeVector(); |
| 26 |
}; |
| 27 |
|
Properties
| svn:eol-style |
native
|
| svn:keywords |
Id Revision
|
| svn:mime-type |
text/plain
|
|