Rev 2870 | Rev 6761 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2870 | Rev 2871 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | double x1,y1,x2,y2; |
44 | double x1,y1,x2,y2; |
45 | char *funct = NULL; |
45 | char *funct = NULL; |
Line 46... | Line 46... | ||
46 | 46 | ||
47 | char edit_path[1024]; |
47 | char edit_path[1024]; |
48 | //Dword editbox_y = WND_H - 16, editbox_w = WND_W - 70; |
48 | //Dword editbox_y = WND_H - 16, editbox_w = WND_W - 70; |
- | 49 | edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0,512,(dword)&edit_path, 64}; |
|
Line 49... | Line 50... | ||
49 | edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0,99,(dword)&edit_path,0}; |
50 | |
Line 50... | Line 51... | ||
50 | 51 | ||
Line 608... | Line 609... | ||
608 | if (params[0]) // fuck[0] for debug |
609 | if (params[0]) // fuck[0] for debug |
609 | { |
610 | { |
610 | rtlDebugOutString("launched with params"); |
611 | rtlDebugOutString("launched with params"); |
611 | rtlDebugOutString((char*)params); |
612 | rtlDebugOutString((char*)params); |
612 | strcpy(edit_path, params); |
613 | strcpy(edit_path, params); |
- | 614 | mybox.size=mybox.pos=strlen(edit_path); |
|
613 | //rtlDebugOutString((char*)edit_path); |
615 | //rtlDebugOutString((char*)edit_path); |
614 | load_points3(); |
616 | load_points3(); |
615 | } |
617 | } |
616 | rtlDebugOutString("data loaded.\n"); |
618 | rtlDebugOutString("data loaded.\n"); |
617 | draw_window(); |
619 | draw_window(); |