<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://graalonline.net/index.php?action=history&amp;feed=atom&amp;title=Worlds%2FEra_iPhone%2FScrolling</id>
	<title>Worlds/Era iPhone/Scrolling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://graalonline.net/index.php?action=history&amp;feed=atom&amp;title=Worlds%2FEra_iPhone%2FScrolling"/>
	<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;action=history"/>
	<updated>2026-04-10T05:26:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13940&amp;oldid=prev</id>
		<title>Cbk1994 at 20:03, 23 December 2009</title>
		<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13940&amp;oldid=prev"/>
		<updated>2009-12-23T20:03:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:03, 23 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  keymod, mx, my, clicks, mouseNumber&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  keymod, mx, my, clicks, mouseNumber&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The event is called &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;creating weapon, or, if &lt;/del&gt;specified&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, the object &lt;/del&gt;in the 'scroll.callObject' variable.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The event is called &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;object &lt;/ins&gt;specified in the 'scroll.callObject' variable.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Optimization for Lists ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Optimization for Lists ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key graalnet_wikidb:diff::1.12:old-13938:rev-13940 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cbk1994</name></author>
	</entry>
	<entry>
		<id>https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13938&amp;oldid=prev</id>
		<title>Cbk1994: moved Worlds/Era iPhone/gui scroll to Worlds/Era iPhone/Scrolling:&amp;#32;looks stupid since the underscore is replaced with a space.</title>
		<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13938&amp;oldid=prev"/>
		<updated>2009-12-23T20:00:10Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Worlds/Era_iPhone/gui_scroll&quot; class=&quot;mw-redirect&quot; title=&quot;Worlds/Era iPhone/gui scroll&quot;&gt;Worlds/Era iPhone/gui scroll&lt;/a&gt; to &lt;a href=&quot;/Worlds/Era_iPhone/Scrolling&quot; title=&quot;Worlds/Era iPhone/Scrolling&quot;&gt;Worlds/Era iPhone/Scrolling&lt;/a&gt;: looks stupid since the underscore is replaced with a space.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:00, 23 December 2009&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key graalnet_wikidb:diff::1.12:old-13937:rev-13938 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cbk1994</name></author>
	</entry>
	<entry>
		<id>https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13937&amp;oldid=prev</id>
		<title>Cbk1994: category</title>
		<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13937&amp;oldid=prev"/>
		<updated>2009-12-23T19:59:24Z</updated>

		<summary type="html">&lt;p&gt;category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:59, 23 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Era iPhone]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key graalnet_wikidb:diff::1.12:old-13936:rev-13937 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cbk1994</name></author>
	</entry>
	<entry>
		<id>https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13936&amp;oldid=prev</id>
		<title>Cbk1994: Created page with 'The class '''gui_scroll''' lets you create a GuiScrollCtrl with iPhone-like scrolling. For PC users, it displays a scroll bar, but fo…'</title>
		<link rel="alternate" type="text/html" href="https://graalonline.net/index.php?title=Worlds/Era_iPhone/Scrolling&amp;diff=13936&amp;oldid=prev"/>
		<updated>2009-12-23T19:59:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;The class &amp;#039;&amp;#039;&amp;#039;gui_scroll&amp;#039;&amp;#039;&amp;#039; lets you create a &lt;a href=&quot;/Creation/Dev/Script/Client/GuiScrollCtrl&quot; title=&quot;Creation/Dev/Script/Client/GuiScrollCtrl&quot;&gt;GuiScrollCtrl&lt;/a&gt; with iPhone-like scrolling. For PC users, it displays a scroll bar, but fo…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The class '''gui_scroll''' lets you create a [[Creation/Dev/Script/Client/GuiScrollCtrl|GuiScrollCtrl]] with iPhone-like scrolling. For PC users, it displays a scroll bar, but for iPhone users, they can manipulate it just like a native control.&lt;br /&gt;
&lt;br /&gt;
== Receiving Mouse Events ==&lt;br /&gt;
Specify a &amp;quot;clickEvent&amp;quot; variable, with a value such as &amp;quot;onMyScrollClicked&amp;quot;, and it will be called when the user clicks, with the parameters:&lt;br /&gt;
 keymod, mx, my, clicks, mouseNumber&lt;br /&gt;
&lt;br /&gt;
The event is called in the creating weapon, or, if specified, the object in the 'scroll.callObject' variable.&lt;br /&gt;
&lt;br /&gt;
== Optimization for Lists ==&lt;br /&gt;
For simplicity, it's easy to create lists without coding your own row detection for clicks. Set 'scroll.list' to the [[Creation/Dev/Script/Client/GuiScrollCtrl|GuiTextListCtrl]] object you create, and it will automagically function. See the example below.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 //#CLIENTSIDE&lt;br /&gt;
 function onCreated() {&lt;br /&gt;
   new GuiWindowCtrl(&amp;quot;iPhoneTest_Window&amp;quot;) {&lt;br /&gt;
     profile = iPhoneWindowProfile;&lt;br /&gt;
     &lt;br /&gt;
     width = 300;&lt;br /&gt;
     height = 300;&lt;br /&gt;
     &lt;br /&gt;
     clientRelative = visible = true;&lt;br /&gt;
     canMinimize = canClose = canMaximize = canResize = false;&lt;br /&gt;
     &lt;br /&gt;
     text = &amp;quot;iPhone Window&amp;quot;;&lt;br /&gt;
     &lt;br /&gt;
     new GuiScrollCtrl(&amp;quot;iPhoneTest_Scroll&amp;quot;) {&lt;br /&gt;
       profile = iPhoneScrollProfile;&lt;br /&gt;
       &lt;br /&gt;
       x = 0;&lt;br /&gt;
       y = 0;&lt;br /&gt;
       &lt;br /&gt;
       width = iPhoneTest_Window.width - 30;&lt;br /&gt;
       height = iPhoneTest_Window.height - 32;&lt;br /&gt;
       &lt;br /&gt;
       this.join(&amp;quot;gui_scroll&amp;quot;);&lt;br /&gt;
       &lt;br /&gt;
       temp.scroll = this;&lt;br /&gt;
       &lt;br /&gt;
       new GuiTextListCtrl(&amp;quot;iPhoneTest_List&amp;quot;) {&lt;br /&gt;
         profile = iPhoneTextListProfile;&lt;br /&gt;
         &lt;br /&gt;
         x = 0;&lt;br /&gt;
         y = 0;&lt;br /&gt;
         &lt;br /&gt;
         this.clearRows();&lt;br /&gt;
         &lt;br /&gt;
         // fill it with crap&lt;br /&gt;
         for (temp.i = 0; i &amp;lt; 100; i ++) {&lt;br /&gt;
           this.addRow(0, &amp;quot;Item &amp;quot; @ (i + 1));&lt;br /&gt;
           &lt;br /&gt;
           c ++;&lt;br /&gt;
         }&lt;br /&gt;
         &lt;br /&gt;
         scroll.list = this;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Cbk1994</name></author>
	</entry>
</feed>