Develop and Download Open Source Software

Browse Subversion Repository

Contents of /old/winpaint.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25 - (show annotations) (download)
Wed Jan 2 22:49:32 2008 UTC (16 years, 3 months ago) by tabasa
File MIME type: text/plain
File size: 1492 byte(s)


1
2 void TitleBar(HWND);
3 void WinFlash(HWND hWnd);
4
5
6 _extern LPARAM sizelp;//直前のWM_SIZE時のサイズデータ
7
8 class winp
9 {
10 float prate;
11 float rstep, ratemin, ratemax;
12 BOOL rateflg;
13 int ntab; //now tab
14 int insideX,insideY, status_h;
15 int tab_h, tab_top;
16 int pX,pY,pW,pH,memX,memY;
17 int oX,oY;
18 int listtop,listy,edittop,edity,buttonx,buttony, edit_w, listLy, listRy;
19 int xLpercent,xRpercent,xL,xR,yL,yR,cx,cy;
20
21 int dirL_h, dir_ueh, dir_sitah;
22 int dirR_h, dir_h;
23 int diredit_l, dir_w;
24 HWND hList, hDirEdit, hListL, hDirEditL ;
25 HWND hUp ,hDown , hDir, hDirL, hEdit, hTab;
26 public:
27 winp() {rateflg =FALSE;};
28 int getStatush(){return status_h;};
29 void settab(int t) {ntab =t;};
30 void setSizePara(LPARAM,int,BOOL ,int,int);
31 void mvWins();
32 void resetOrg()
33 {
34 oX =0; oY =0; prate=1; rstep =0.1;
35 if(rateflg){ratemin=1;ratemax =2; };
36 };
37 int OrgX() {return oX;};
38 int OrgY() {return oY;};
39 float rate() {return prate;};
40 void rate(float r) {prate=r;};
41 void rateStop() {ratemax =1; ratemin =1;};
42 void rateUp() {prate = min(ratemax, prate+rstep); update();};
43 void rateDown() {prate = max(ratemin, prate-rstep); update(); };
44 void rateReset() {prate =1; update(); };
45 void mvOrg(int x, int y) {oX +=x; oY +=y; update();};
46 void update() {if(picshowflg) InvalidateRect(hmainwnd,NULL,FALSE);};
47 void set(HWND,HWND,HWND,HWND,HWND,HWND,HWND,HWND);
48 void setlist(HWND lL,HWND lR) {hList =lR; hListL =lL;};
49 void BitBlt(HDC hdc, HDC mem, int wx =0, int wy =0);
50 };
51
52 _extern winp win;

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision
svn:mime-type text/plain

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26