Subversion Repositories Kolibri OS

Rev

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

Rev 8020 Rev 8291
Line 17... Line 17...
17
dword _img::add(dword _path, _x, _y)
17
dword _img::add(dword _path, _x, _y)
18
{
18
{
19
	char full_path[URL_SIZE];
19
	char full_path[URL_SIZE];
20
	strncpy(#full_path, _path, URL_SIZE);
20
	strncpy(#full_path, _path, URL_SIZE);
21
	GetAbsoluteURL(#full_path, history.current());		
21
	get_absolute_url(#full_path, history.current());		
Line 22... Line 22...
22
 
22
 
23
	url.add(#full_path);
23
	url.add(#full_path);
24
	xywh.add(_x);
24
	xywh.add(_x);
25
	xywh.add(_y);
25
	xywh.add(_y);
Line 91... Line 91...
91
{
91
{
92
	dword image;
92
	dword image;
93
    dword imgw=0, imgh=0, img_lines_first=0, cur_pic=0;
93
    dword imgw=0, imgh=0, img_lines_first=0, cur_pic=0;
94
	
94
	
Line 95... Line 95...
95
	//GetAbsoluteURL(#img_path);
95
	//getting abs url from (#img_path);
96
	//cur_pic = GetImage(#img_path);
96
	//cur_pic = GetImage(#img_path);
Line 97... Line 97...
97
 
97
 
98
	if (!pics[cur_pic].image) 
98
	if (!pics[cur_pic].image) 
99
	{
99
	{