Subversion Repositories Kolibri OS

Rev

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

Rev 7972 Rev 8332
Line 164... Line 164...
164
	if (_id>=tab.count) _id = 0;
164
	if (_id>=tab.count) _id = 0;
165
	if (_id==-1) _id = tab.count-1;
165
	if (_id==-1) _id = tab.count-1;
166
	tab.save_state();
166
	tab.save_state();
167
	tab.restore(_id);
167
	tab.restore(_id);
168
	SetElementSizes();
168
	if (!BrowserWidthChanged()) {
169
	if (!BrowserWidthChanged()) {
-
 
170
		DrawTabsBar();
169
		DrawTabsBar();
171
		WB1.ParseHtml(WB1.bufpointer, WB1.bufsize);
170
		WB1.ParseHtml(WB1.bufpointer, WB1.bufsize);
172
		WB1.DrawPage();		
171
		WB1.DrawPage();		
173
	}
172
	}
174
	SetOmniboxText(history.current());
173
	SetOmniboxText(history.current());
Line 190... Line 189...
190
{
189
{
191
	EventTabClick(tab.active-1);
190
	EventTabClick(tab.active-1);
192
}
191
}
193
 
192
Line 194... Line -...
194
 
-
 
195
:void DebugTabs()
-
 
196
{
-
 
197
	debugln("\n\n\nHISTORY==========================");
-
 
198
	history.add("history");
-
 
199
	history.debug();
-
 
200
 
-
 
201
	debugln("\n\n\nTABSTORY[0]======================");
-
 
202
	tabstory[0].add("tabstory0");
-
 
203
	tabstory[0].debug();
-
 
204
 
-
 
205
	debugln("\n\n\nTABSTORY[1]======================");
-
 
206
	tabstory[1].add("tabstory1");
-
 
207
	tabstory[1].debug();
-
 
208
 
-
 
209
	debugln("\n\n\n\n");
-
 
210
	debugval("history.items.data_start", history.items.data_start);
-
 
211
	debugval("tabstory[0].items.data_start", tabstory[0].items.data_start);
-
 
212
	debugval("tabstory[1].items.data_start", tabstory[1].items.data_start);
-
 
213
	debugln("\n\n\n\n");
-
 
214
}
-