Subversion Repositories Kolibri OS

Rev

Rev 3695 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3695 Rev 3883
Line 2... Line 2...
2
 
2
 
3
 
3
 
4
byte copy_from[4096], cut_active=0;
4
byte copy_from[4096], cut_active=0;
5
enum {NOCUT, CUT};
5
enum {NOCUT, CUT};
Line 6... Line 6...
6
#define WIN_W 300
6
#define WIN_W 300
7
#define WIN_H 20
7
#define WIN_H 50
8
 
8
 
9
 
9
 
10
void Copy(dword pcth, char cut)
10
void Copy(dword pcth, char cut)
Line 11... Line 11...
11
{
11
{
12
	strcpy(#copy_from, pcth);
12
	strcpy(#copy_from, pcth);
13
	cut_active = cut;
13
	cut_active = cut;
14
}
14
}
15
 
-
 
16
void copyf_Action(dword filename) {
15
 
17
	DefineAndDrawWindow(5000,0,WIN_W,WIN_H-1,0x01,col_work,0);
16
void copyf_Action(dword filename) {
18
	DrawBar(WIN_W, 0, 1, WIN_H, 0x333333);
17
	DefineAndDrawWindow(Form.left+Form.width-200,Form.top+90,WIN_W,GetSkinHeight()+WIN_H-1,0x34,col_work,T_PASTE_WINDOW);
Line 19... Line 18...
19
	DrawBar(0, 0, WIN_W, WIN_H, 0xDDDddd);
18
	WriteText(5,8, 0x80, 0, T_PASTE_WINDOW_TEXT);