<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Deponia_Based_Sliding_Interface_%28CMS%29</id>
	<title>Deponia Based Sliding Interface (CMS) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Deponia_Based_Sliding_Interface_%28CMS%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;action=history"/>
	<updated>2026-10-31T22:01:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2587&amp;oldid=prev</id>
		<title>AFRLme at 18:25, 6 January 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2587&amp;oldid=prev"/>
		<updated>2015-01-06T18:25:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;quot;ts&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | Name !! style=&amp;quot;text-align:left&amp;quot; | Type !! style=&amp;quot;text-align:left&amp;quot; | By {{lee_PP}}&lt;br /&gt;
|-&lt;br /&gt;
| Deponia Based Sliding Interface || Definition || AFRLme&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This script allows you to slide interfaces in - or out - from any direction, on hover or via the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
1. Add the [[#Main_Script|main script]] to the Visionaire Studio Script Editor &amp;amp; set the script as a definition script.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Replace &amp;#039;&amp;#039;inventory&amp;#039;&amp;#039; with whatever name you gave your interface; names are case sensitive.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local getInterface = getObject(&amp;quot;Interfaces[inventory]&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3a. Edit &amp;#039;&amp;#039;minOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect initial starting point of the interface.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local minOffset = {x = 0, y = 0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3b. Edit &amp;#039;&amp;#039;maxOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect the destination position for the interface.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local maxOffset = {x = 0, y = 0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3c. Edit &amp;#039;&amp;#039;mwOffset&amp;#039;&amp;#039; value; this should reflect the overlap amount of the interface from screen edge - to hide interface on mouse wheel mode; set 0 to keep overlap.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local mwOffset = 0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
4a. Edit &amp;#039;&amp;#039;inSpeed&amp;#039;&amp;#039; value; this controls the amount of pixels[squares] the interface should move by on close.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local inSpeed = 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
4b. Edit &amp;#039;&amp;#039;outSpeed&amp;#039;&amp;#039; value; this controls the amount of pixels[squares] the interface should move by on open.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local outSpeed = 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
5. Edit &amp;#039;&amp;#039;slideDirection&amp;#039;&amp;#039; value; this determines which direction the interface should slide from.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local slideDirection = 1 -- from left&lt;br /&gt;
local slideDirection = 2 -- from top&lt;br /&gt;
local slideDirection = 3 -- from right&lt;br /&gt;
local slideDirection = 4 -- from bottom&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
6. Create a new &amp;#039;&amp;#039;definition&amp;#039;&amp;#039; script &amp;amp; add the [[#Event_Script|event script]] to it; see [[RegisterEventHandler_(CMS)|registerEventHandler()]] for more information, in regards to event handlers &amp;amp; listeners.&amp;lt;br/&amp;gt;&lt;br /&gt;
7. Create &amp;#039;&amp;#039;&amp;#039;hover&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;mwheel&amp;#039;&amp;#039;&amp;#039;, &amp;amp; &amp;#039;&amp;#039;&amp;#039;mwtoggle&amp;#039;&amp;#039;&amp;#039; conditions inside of the conditions tab of the interface you intend to slide &amp;amp; set all of them to false.&amp;lt;br/&amp;gt;&lt;br /&gt;
8a. Create a button for your interface, move to bottom of list, set button as &amp;#039;&amp;#039;&amp;#039;action area&amp;#039;&amp;#039;&amp;#039;, set object area around the part that will trigger interface slide out on hover.&amp;lt;br/&amp;gt;&lt;br /&gt;
8b. Add a mouse enter action to the button containing these action parts...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwheel&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;hover&amp;#039; to true&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
9. Inside of the &amp;#039;&amp;#039;properties&amp;#039;&amp;#039; tab for the interface, add this action part to the &amp;#039;&amp;#039;&amp;#039;action on leaving&amp;#039;&amp;#039;&amp;#039; action...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
change condition &amp;#039;hover&amp;#039; to false&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
10. To toggle mouse wheel mode, you need to create an object in your options menu or a key input command containing...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwheel&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;mwheel&amp;#039; to true&lt;br /&gt;
 pause for 10 milliseconds&lt;br /&gt;
 execute a script &amp;#039;mwMode()&amp;#039;&lt;br /&gt;
else&lt;br /&gt;
 change condition &amp;#039;mwheel&amp;#039; to false&lt;br /&gt;
 pause for 10 milliseconds&lt;br /&gt;
 execute a script &amp;#039;mwMode()&amp;#039;&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
11. To toggle between interface open/close on mouse wheel up or down, you need to create an object in your options menu or a key input command containing...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwtoggle&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;mwtoggle&amp;#039; to true&lt;br /&gt;
else&lt;br /&gt;
 change condition &amp;#039;mwtoggle&amp;#039; to false&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Main Script ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--[[&lt;br /&gt;
Deponia Based Sliding Interface [v4] (18/03/2013)&lt;br /&gt;
Written by AFRLme [Lee Clarke]&lt;br /&gt;
-- + --&lt;br /&gt;
alternatingfrequencies@hotmail.com | skype @ AFRLme&lt;br /&gt;
-- + --&lt;br /&gt;
This script is donation optional. In game credit is non-negotiable.&lt;br /&gt;
You are free to: ¹ use it in your game(s). ² modify the script.&lt;br /&gt;
Do not remove - or edit - this comment block.&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
-- * local variables * --&lt;br /&gt;
local getInterface = getObject(&amp;quot;Interfaces[inventory]&amp;quot;) -- stores interface into a variable (replace &amp;quot;inventory&amp;quot; with your interface name)&lt;br /&gt;
&lt;br /&gt;
local minOffset = {x = 0, y = 0} -- replace min offset values with current x,y absolute position of your interface&lt;br /&gt;
local maxOffset = {x = 0, y = 0} -- replace max offset values with the x,y values that you want the interface to slide to&lt;br /&gt;
local mwOffset = 0 -- this should be same value or slightly larger than the overlap amount of minOffset&lt;br /&gt;
local checkOffset = getInterface:getPoint(VInterfaceOffset) -- stores current position of interface on start&lt;br /&gt;
&lt;br /&gt;
local inSpeed = 1 -- replace &amp;quot;1&amp;quot; with x number of squares you want interface to move back to start position on each loop&lt;br /&gt;
local outSpeed = 2 -- replace &amp;quot;2&amp;quot; with x number of squares you want interface to move to max position on each loop&lt;br /&gt;
&lt;br /&gt;
local slideDirection = 1 -- set direction interface should slide from (1 = left, 2 = top, 3 = right, 4 = bottom) &lt;br /&gt;
&lt;br /&gt;
local hover = getObject(&amp;quot;Conditions[hover]&amp;quot;) -- store hover condition&lt;br /&gt;
local mwheel = getObject(&amp;quot;Conditions[mwheel]&amp;quot;) -- store mouse mwheel condition&lt;br /&gt;
&lt;br /&gt;
-- * global variables * --&lt;br /&gt;
mwUp = 0 -- this controls if mouse wheel up or down has been executed; by default &amp;quot;0&amp;quot; = nil (!important: do not edit)&lt;br /&gt;
&lt;br /&gt;
-- * function that moves the linked interface * --&lt;br /&gt;
function intSlide()&lt;br /&gt;
 -- * let&amp;#039;s create the on mouse over code * --&lt;br /&gt;
 if hover:getBool(VConditionValue) and not mwheel:getBool(VConditionValue) then -- check if &amp;quot;hover&amp;quot; = true &amp;amp; &amp;quot;mwheel&amp;quot; = false&lt;br /&gt;
  if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = checkOffset.x - outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = checkOffset.y + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
 elseif not hover:getBool(VConditionValue) and not mwheel:getBool(VConditionValue) then&lt;br /&gt;
  if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (in) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
 -- * let&amp;#039;s create the mouse wheel code * --&lt;br /&gt;
 if not hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) and mwUp == 1 then -- check if mouse wheel up has been rotated&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = checkOffset.x - outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = checkOffset.y + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
 if not hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) and mwUp == 2 then -- check if mouse wheel down has been rotated&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;br /&gt;
  if slideDirection == 1 and checkOffset.x &amp;gt; minOffset.x - mwOffset then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 1 and checkOffset.x &amp;lt; minOffset.x - mwOffset then checkOffset.x = minOffset.x - mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.x &amp;lt; minOffset.x + mwOffset then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.x &amp;gt; minOffset.x + mwOffset then checkOffset.x = minOffset.x + mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (in) * --&lt;br /&gt;
  if slideDirection == 1 and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 1 and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.y &amp;gt; minOffset.y - mwOffset then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.y &amp;lt; minOffset.y - mwOffset then checkOffset.y = minOffset.y - mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.y &amp;lt; minOffset.y + mwOffset then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.y &amp;gt; minOffset.y + mwOffset then checkOffset.y = minOffset.y + mwOffset setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
 -- * updates the current position of the interface * --&lt;br /&gt;
function setIntPos()&lt;br /&gt;
 getInterface:setValue(VInterfaceOffset, checkOffset)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- * let&amp;#039;s check if mouse wheel mode = true; if true then hide the interface else overlap interface slightly * --&lt;br /&gt;
function mwMode()&lt;br /&gt;
 if mwheel:getBool(VConditionValue) then&lt;br /&gt;
  if slideDirection == 1 then checkOffset = {x = minOffset.x - mwOffset, y = minOffset.y} setIntPos() end&lt;br /&gt;
  if slideDirection == 2 then checkOffset = {x = minOffset.x, y = minOffset.y - mwOffset} setIntPos() end&lt;br /&gt;
  if slideDirection == 3 then checkOffset = {x = minOffset.x + mwOffset, y = minOffset.y} setIntPos() end&lt;br /&gt;
  if slideDirection == 4 then checkOffset = {x = minOffset.x, y = minOffset.y + mwOffset} setIntPos() end&lt;br /&gt;
 else&lt;br /&gt;
  checkOffset = {x = minOffset.x, y = minOffset.y}&lt;br /&gt;
  setIntPos()&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Event Script ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
-- * this is the mainLoop event function (all loop events &amp;amp; functions for looping should be added or linked here) * --&lt;br /&gt;
function onMainLoop()&lt;br /&gt;
 intSlide() -- loop the function which checks if interface should be sliding in, out or at default position!&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
-- * this is the mouse event listener! (all mouse events &amp;amp; functions should be added or linked here) * --&lt;br /&gt;
function onMouseEvent(eventType)&lt;br /&gt;
 if not getObject(&amp;quot;Conditions[mwtoggle]&amp;quot;):getBool(VConditionValue) then -- if toggle is false then set default&lt;br /&gt;
  if eventType == eEvtMouseWheelUp then mwUp = 1 end&lt;br /&gt;
  if eventType == eEvtMouseWheelDown then mwUp = 2 end&lt;br /&gt;
 else -- invert mouse wheel&lt;br /&gt;
  if eventType == eEvtMouseWheelUp then mwUp = 2 end&lt;br /&gt;
  if eventType == eEvtMouseWheelDown then mwUp = 1 end&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- * let&amp;#039;s create the mouse event listener! * --&lt;br /&gt;
registerEventHandler(&amp;quot;mouseEvent&amp;quot;, &amp;quot;onMouseEvent&amp;quot;, {eEvtMouseWheelUp, eEvtMouseWheelDown})&lt;br /&gt;
-- * let&amp;#039;s create the loop event handler! * --&lt;br /&gt;
registerEventHandler(&amp;quot;mainLoop&amp;quot;, &amp;quot;onMainLoop&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;{{toc}}&lt;/div&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2585&amp;oldid=prev</id>
		<title>AFRLme at 04:32, 21 August 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2585&amp;oldid=prev"/>
		<updated>2014-08-21T04:32:05Z</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 05:32, 21 August 2014&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-l212&quot;&gt;Line 212:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 212:&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;registerEventHandler(&amp;quot;mainLoop&amp;quot;, &amp;quot;onMainLoop&amp;quot;)&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;registerEventHandler(&amp;quot;mainLoop&amp;quot;, &amp;quot;onMainLoop&amp;quot;)&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;&amp;lt;/syntaxhighlight&amp;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;&amp;lt;/syntaxhighlight&amp;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;{{toc}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2584&amp;oldid=prev</id>
		<title>AFRLme at 04:30, 21 August 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2584&amp;oldid=prev"/>
		<updated>2014-08-21T04:30:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;quot;ts&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | Name !! style=&amp;quot;text-align:left&amp;quot; | Type !! style=&amp;quot;text-align:left&amp;quot; | By&lt;br /&gt;
|-&lt;br /&gt;
| Deponia Based Sliding Interface || Definition || AFRLme&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This script allows you to slide interfaces in - or out - from any direction, on hover or via the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
1. Add the [[#Main_Script|main script]] to the Visionaire Studio Script Editor &amp;amp; set the script as a definition script.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Replace &amp;#039;&amp;#039;inventory&amp;#039;&amp;#039; with whatever name you gave your interface; names are case sensitive.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local getInterface = getObject(&amp;quot;Interfaces[inventory]&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3a. Edit &amp;#039;&amp;#039;minOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect initial starting point of the interface.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local minOffset = {x = 0, y = 0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3b. Edit &amp;#039;&amp;#039;maxOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect the destination position for the interface.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local maxOffset = {x = 0, y = 0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3c. Edit &amp;#039;&amp;#039;mwOffset&amp;#039;&amp;#039; value; this should reflect the overlap amount of the interface from screen edge - to hide interface on mouse wheel mode; set 0 to keep overlap.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local mwOffset = 0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
4a. Edit &amp;#039;&amp;#039;inSpeed&amp;#039;&amp;#039; value; this controls the amount of pixels[squares] the interface should move by on close.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local inSpeed = 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
4b. Edit &amp;#039;&amp;#039;outSpeed&amp;#039;&amp;#039; value; this controls the amount of pixels[squares] the interface should move by on open.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local outSpeed = 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
5. Edit &amp;#039;&amp;#039;slideDirection&amp;#039;&amp;#039; value; this determines which direction the interface should slide from.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local slideDirection = 1 -- from left&lt;br /&gt;
local slideDirection = 2 -- from top&lt;br /&gt;
local slideDirection = 3 -- from right&lt;br /&gt;
local slideDirection = 4 -- from bottom&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
6. Create a new &amp;#039;&amp;#039;definition&amp;#039;&amp;#039; script &amp;amp; add the [[#Event_Script|event script]] to it; see [[RegisterEventHandler_(CMS)|registerEventHandler()]] for more information, in regards to event handlers &amp;amp; listeners.&amp;lt;br/&amp;gt;&lt;br /&gt;
7. Create &amp;#039;&amp;#039;&amp;#039;hover&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;mwheel&amp;#039;&amp;#039;&amp;#039;, &amp;amp; &amp;#039;&amp;#039;&amp;#039;mwtoggle&amp;#039;&amp;#039;&amp;#039; conditions inside of the conditions tab of the interface you intend to slide &amp;amp; set all of them to false.&amp;lt;br/&amp;gt;&lt;br /&gt;
8a. Create a button for your interface, move to bottom of list, set button as &amp;#039;&amp;#039;&amp;#039;action area&amp;#039;&amp;#039;&amp;#039;, set object area around the part that will trigger interface slide out on hover.&amp;lt;br/&amp;gt;&lt;br /&gt;
8b. Add a mouse enter action to the button containing these action parts...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwheel&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;hover&amp;#039; to true&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
9. Inside of the &amp;#039;&amp;#039;properties&amp;#039;&amp;#039; tab for the interface, add this action part to the &amp;#039;&amp;#039;&amp;#039;action on leaving&amp;#039;&amp;#039;&amp;#039; action...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
change condition &amp;#039;hover&amp;#039; to false&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
10. To toggle mouse wheel mode, you need to create an object in your options menu or a key input command containing...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwheel&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;mwheel&amp;#039; to true&lt;br /&gt;
 pause for 10 milliseconds&lt;br /&gt;
 execute a script &amp;#039;mwMode()&amp;#039;&lt;br /&gt;
else&lt;br /&gt;
 change condition &amp;#039;mwheel&amp;#039; to false&lt;br /&gt;
 pause for 10 milliseconds&lt;br /&gt;
 execute a script &amp;#039;mwMode()&amp;#039;&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
11. To toggle between interface open/close on mouse wheel up or down, you need to create an object in your options menu or a key input command containing...&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwtoggle&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;mwtoggle&amp;#039; to true&lt;br /&gt;
else&lt;br /&gt;
 change condition &amp;#039;mwtoggle&amp;#039; to false&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Main Script ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--[[&lt;br /&gt;
Deponia Based Sliding Interface [v4] (18/03/2013)&lt;br /&gt;
Written by AFRLme [Lee Clarke]&lt;br /&gt;
-- + --&lt;br /&gt;
alternatingfrequencies@hotmail.com | skype @ AFRLme&lt;br /&gt;
-- + --&lt;br /&gt;
This script is donation optional. In game credit is non-negotiable.&lt;br /&gt;
You are free to: ¹ use it in your game(s). ² modify the script.&lt;br /&gt;
Do not remove - or edit - this comment block.&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
-- * local variables * --&lt;br /&gt;
local getInterface = getObject(&amp;quot;Interfaces[inventory]&amp;quot;) -- stores interface into a variable (replace &amp;quot;inventory&amp;quot; with your interface name)&lt;br /&gt;
&lt;br /&gt;
local minOffset = {x = 0, y = 0} -- replace min offset values with current x,y absolute position of your interface&lt;br /&gt;
local maxOffset = {x = 0, y = 0} -- replace max offset values with the x,y values that you want the interface to slide to&lt;br /&gt;
local mwOffset = 0 -- this should be same value or slightly larger than the overlap amount of minOffset&lt;br /&gt;
local checkOffset = getInterface:getPoint(VInterfaceOffset) -- stores current position of interface on start&lt;br /&gt;
&lt;br /&gt;
local inSpeed = 1 -- replace &amp;quot;1&amp;quot; with x number of squares you want interface to move back to start position on each loop&lt;br /&gt;
local outSpeed = 2 -- replace &amp;quot;2&amp;quot; with x number of squares you want interface to move to max position on each loop&lt;br /&gt;
&lt;br /&gt;
local slideDirection = 1 -- set direction interface should slide from (1 = left, 2 = top, 3 = right, 4 = bottom) &lt;br /&gt;
&lt;br /&gt;
local hover = getObject(&amp;quot;Conditions[hover]&amp;quot;) -- store hover condition&lt;br /&gt;
local mwheel = getObject(&amp;quot;Conditions[mwheel]&amp;quot;) -- store mouse mwheel condition&lt;br /&gt;
&lt;br /&gt;
-- * global variables * --&lt;br /&gt;
mwUp = 0 -- this controls if mouse wheel up or down has been executed; by default &amp;quot;0&amp;quot; = nil (!important: do not edit)&lt;br /&gt;
&lt;br /&gt;
-- * function that moves the linked interface * --&lt;br /&gt;
function intSlide()&lt;br /&gt;
 -- * let&amp;#039;s create the on mouse over code * --&lt;br /&gt;
 if hover:getBool(VConditionValue) and not mwheel:getBool(VConditionValue) then -- check if &amp;quot;hover&amp;quot; = true &amp;amp; &amp;quot;mwheel&amp;quot; = false&lt;br /&gt;
  if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = checkOffset.x - outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = checkOffset.y + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
 elseif not hover:getBool(VConditionValue) and not mwheel:getBool(VConditionValue) then&lt;br /&gt;
  if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (in) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
 -- * let&amp;#039;s create the mouse wheel code * --&lt;br /&gt;
 if not hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) and mwUp == 1 then -- check if mouse wheel up has been rotated&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = checkOffset.x - outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = checkOffset.y + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
 if not hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) and mwUp == 2 then -- check if mouse wheel down has been rotated&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;br /&gt;
  if slideDirection == 1 and checkOffset.x &amp;gt; minOffset.x - mwOffset then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 1 and checkOffset.x &amp;lt; minOffset.x - mwOffset then checkOffset.x = minOffset.x - mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.x &amp;lt; minOffset.x + mwOffset then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.x &amp;gt; minOffset.x + mwOffset then checkOffset.x = minOffset.x + mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (in) * --&lt;br /&gt;
  if slideDirection == 1 and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 1 and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.y &amp;gt; minOffset.y - mwOffset then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.y &amp;lt; minOffset.y - mwOffset then checkOffset.y = minOffset.y - mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.y &amp;lt; minOffset.y + mwOffset then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.y &amp;gt; minOffset.y + mwOffset then checkOffset.y = minOffset.y + mwOffset setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
 -- * updates the current position of the interface * --&lt;br /&gt;
function setIntPos()&lt;br /&gt;
 getInterface:setValue(VInterfaceOffset, checkOffset)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- * let&amp;#039;s check if mouse wheel mode = true; if true then hide the interface else overlap interface slightly * --&lt;br /&gt;
function mwMode()&lt;br /&gt;
 if mwheel:getBool(VConditionValue) then&lt;br /&gt;
  if slideDirection == 1 then checkOffset = {x = minOffset.x - mwOffset, y = minOffset.y} setIntPos() end&lt;br /&gt;
  if slideDirection == 2 then checkOffset = {x = minOffset.x, y = minOffset.y - mwOffset} setIntPos() end&lt;br /&gt;
  if slideDirection == 3 then checkOffset = {x = minOffset.x + mwOffset, y = minOffset.y} setIntPos() end&lt;br /&gt;
  if slideDirection == 4 then checkOffset = {x = minOffset.x, y = minOffset.y + mwOffset} setIntPos() end&lt;br /&gt;
 else&lt;br /&gt;
  checkOffset = {x = minOffset.x, y = minOffset.y}&lt;br /&gt;
  setIntPos()&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Event Script ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
-- * this is the mainLoop event function (all loop events &amp;amp; functions for looping should be added or linked here) * --&lt;br /&gt;
function onMainLoop()&lt;br /&gt;
 intSlide() -- loop the function which checks if interface should be sliding in, out or at default position!&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
-- * this is the mouse event listener! (all mouse events &amp;amp; functions should be added or linked here) * --&lt;br /&gt;
function onMouseEvent(eventType)&lt;br /&gt;
 if not getObject(&amp;quot;Conditions[mwtoggle]&amp;quot;):getBool(VConditionValue) then -- if toggle is false then set default&lt;br /&gt;
  if eventType == eEvtMouseWheelUp then mwUp = 1 end&lt;br /&gt;
  if eventType == eEvtMouseWheelDown then mwUp = 2 end&lt;br /&gt;
 else -- invert mouse wheel&lt;br /&gt;
  if eventType == eEvtMouseWheelUp then mwUp = 2 end&lt;br /&gt;
  if eventType == eEvtMouseWheelDown then mwUp = 1 end&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- * let&amp;#039;s create the mouse event listener! * --&lt;br /&gt;
registerEventHandler(&amp;quot;mouseEvent&amp;quot;, &amp;quot;onMouseEvent&amp;quot;, {eEvtMouseWheelUp, eEvtMouseWheelDown})&lt;br /&gt;
-- * let&amp;#039;s create the loop event handler! * --&lt;br /&gt;
registerEventHandler(&amp;quot;mainLoop&amp;quot;, &amp;quot;onMainLoop&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2582&amp;oldid=prev</id>
		<title>AFRLme at 15:32, 10 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2582&amp;oldid=prev"/>
		<updated>2014-05-10T15:32:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | Name !! style=&amp;quot;text-align:left&amp;quot; | Type !! style=&amp;quot;text-align:left&amp;quot; | By&lt;br /&gt;
|-&lt;br /&gt;
| Deponia Based Sliding Interface || Definition || AFRLme&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This script allows you to slide interfaces in - or out - from any direction, on hover or via the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
1. Add the [[#Main_Script|main script]] to the Visionaire Studio Script Editor &amp;amp; set the script as a definition script.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Replace &amp;#039;&amp;#039;inventory&amp;#039;&amp;#039; with whatever name you gave your interface; names are case sensitive.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local getInterface = getObject(&amp;quot;Interfaces[inventory]&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3a. Edit &amp;#039;&amp;#039;minOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect initial starting point of the interface.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local minOffset = {x = 0, y = 0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3b. Edit &amp;#039;&amp;#039;maxOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect the destination position for the interface.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local maxOffset = {x = 0, y = 0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3c. Edit &amp;#039;&amp;#039;mwOffset&amp;#039;&amp;#039; value; this should reflect the overlap amount of the interface from screen edge - to hide interface on mouse wheel mode; set 0 to keep overlap.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local mwOffset = 0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
4a. Edit &amp;#039;&amp;#039;inSpeed&amp;#039;&amp;#039; value; this controls the amount of pixels[squares] the interface should move by on close.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local inSpeed = 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
4b. Edit &amp;#039;&amp;#039;outSpeed&amp;#039;&amp;#039; value; this controls the amount of pixels[squares] the interface should move by on open.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local outSpeed = 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
5. Edit &amp;#039;&amp;#039;slideDirection&amp;#039;&amp;#039; value; this determines which direction the interface should slide from.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
local slideDirection = 1 -- from left&lt;br /&gt;
local slideDirection = 2 -- from top&lt;br /&gt;
local slideDirection = 3 -- from right&lt;br /&gt;
local slideDirection = 4 -- from bottom&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
6. Create a new &amp;#039;&amp;#039;definition&amp;#039;&amp;#039; script &amp;amp; add the [[#Event_Script|event script]] to it; see [[RegisterEventHandler_(CMS)|registerEventHandler()]] for more information, in regards to event handlers &amp;amp; listeners.&amp;lt;br/&amp;gt;&lt;br /&gt;
7. Create &amp;#039;&amp;#039;&amp;#039;hover&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;mwheel&amp;#039;&amp;#039;&amp;#039;, &amp;amp; &amp;#039;&amp;#039;&amp;#039;mwtoggle&amp;#039;&amp;#039;&amp;#039; conditions inside of the conditions tab of the interface you intend to slide &amp;amp; set all of them to false.&amp;lt;br/&amp;gt;&lt;br /&gt;
8a. Create a button for your interface, move to bottom of list, set button as &amp;#039;&amp;#039;&amp;#039;action area&amp;#039;&amp;#039;&amp;#039;, set object area around the part that will trigger interface slide out on hover.&amp;lt;br/&amp;gt;&lt;br /&gt;
8b. Add a mouse enter action to the button containing these action parts...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwheel&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;hover&amp;#039; to true&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
9. Inside of the &amp;#039;&amp;#039;properties&amp;#039;&amp;#039; tab for the interface, add this action part to the &amp;#039;&amp;#039;&amp;#039;action on leaving&amp;#039;&amp;#039;&amp;#039; action...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
change condition &amp;#039;hover&amp;#039; to false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
10. To toggle mouse wheel mode, you need to create an object in your options menu or a key input command containing...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwheel&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;mwheel&amp;#039; to true&lt;br /&gt;
 pause for 10 milliseconds&lt;br /&gt;
 execute a script &amp;#039;mwMode()&amp;#039;&lt;br /&gt;
else&lt;br /&gt;
 change condition &amp;#039;mwheel&amp;#039; to false&lt;br /&gt;
 pause for 10 milliseconds&lt;br /&gt;
 execute a script &amp;#039;mwMode()&amp;#039;&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
11. To toggle between interface open/close on mouse wheel up or down, you need to create an object in your options menu or a key input command containing...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if condition &amp;#039;mwtoggle&amp;#039; is false&lt;br /&gt;
 change condition &amp;#039;mwtoggle&amp;#039; to true&lt;br /&gt;
else&lt;br /&gt;
 change condition &amp;#039;mwtoggle&amp;#039; to false&lt;br /&gt;
end if&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Main Script ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--[[&lt;br /&gt;
Deponia Based Sliding Interface [v4] (18/03/2013)&lt;br /&gt;
Written by AFRLme [Lee Clarke]&lt;br /&gt;
-- + --&lt;br /&gt;
alternatingfrequencies@hotmail.com | skype @ AFRLme&lt;br /&gt;
-- + --&lt;br /&gt;
This script is donation optional. In game credit is non-negotiable.&lt;br /&gt;
You are free to: ¹ use it in your game(s). ² modify the script.&lt;br /&gt;
Do not remove - or edit - this comment block.&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
-- * local variables * --&lt;br /&gt;
local getInterface = getObject(&amp;quot;Interfaces[inventory]&amp;quot;) -- stores interface into a variable (replace &amp;quot;inventory&amp;quot; with your interface name)&lt;br /&gt;
&lt;br /&gt;
local minOffset = {x = 0, y = 0} -- replace min offset values with current x,y absolute position of your interface&lt;br /&gt;
local maxOffset = {x = 0, y = 0} -- replace max offset values with the x,y values that you want the interface to slide to&lt;br /&gt;
local mwOffset = 0 -- this should be same value or slightly larger than the overlap amount of minOffset&lt;br /&gt;
local checkOffset = getInterface:getPoint(VInterfaceOffset) -- stores current position of interface on start&lt;br /&gt;
&lt;br /&gt;
local inSpeed = 1 -- replace &amp;quot;1&amp;quot; with x number of squares you want interface to move back to start position on each loop&lt;br /&gt;
local outSpeed = 2 -- replace &amp;quot;2&amp;quot; with x number of squares you want interface to move to max position on each loop&lt;br /&gt;
&lt;br /&gt;
local slideDirection = 1 -- set direction interface should slide from (1 = left, 2 = top, 3 = right, 4 = bottom) &lt;br /&gt;
&lt;br /&gt;
local hover = getObject(&amp;quot;Conditions[hover]&amp;quot;) -- store hover condition&lt;br /&gt;
local mwheel = getObject(&amp;quot;Conditions[mwheel]&amp;quot;) -- store mouse mwheel condition&lt;br /&gt;
&lt;br /&gt;
-- * global variables * --&lt;br /&gt;
mwUp = 0 -- this controls if mouse wheel up or down has been executed; by default &amp;quot;0&amp;quot; = nil (!important: do not edit)&lt;br /&gt;
&lt;br /&gt;
-- * function that moves the linked interface * --&lt;br /&gt;
function intSlide()&lt;br /&gt;
 -- * let&amp;#039;s create the on mouse over code * --&lt;br /&gt;
 if hover:getBool(VConditionValue) and not mwheel:getBool(VConditionValue) then -- check if &amp;quot;hover&amp;quot; = true &amp;amp; &amp;quot;mwheel&amp;quot; = false&lt;br /&gt;
  if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = checkOffset.x - outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = checkOffset.y + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
 elseif not hover:getBool(VConditionValue) and not mwheel:getBool(VConditionValue) then&lt;br /&gt;
  if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (in) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
 -- * let&amp;#039;s create the mouse wheel code * --&lt;br /&gt;
 if not hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) and mwUp == 1 then -- check if mouse wheel up has been rotated&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;gt; maxOffset.x then checkOffset.x = checkOffset.x - outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = maxOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (out) * --&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = checkOffset.y + outSpeed setIntPos() end&lt;br /&gt;
  if (slideDirection == 1 or slideDirection == 2) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&lt;br /&gt;
  if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
 if not hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) and mwUp == 2 then -- check if mouse wheel down has been rotated&lt;br /&gt;
  -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;br /&gt;
  if slideDirection == 1 and checkOffset.x &amp;gt; minOffset.x - mwOffset then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 1 and checkOffset.x &amp;lt; minOffset.x - mwOffset then checkOffset.x = minOffset.x - mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.x &amp;lt; minOffset.x + mwOffset then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.x &amp;gt; minOffset.x + mwOffset then checkOffset.x = minOffset.x + mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.x &amp;lt; minOffset.x then checkOffset.x = checkOffset.x + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.x &amp;gt; minOffset.x then checkOffset.x = minOffset.x setIntPos() end&lt;br /&gt;
  -- * let&amp;#039;s slide the y position of the interface based on SlideDirection (in) * --&lt;br /&gt;
  if slideDirection == 1 and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 1 and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.y &amp;gt; minOffset.y - mwOffset then checkOffset.y = checkOffset.y - inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 2 and checkOffset.y &amp;lt; minOffset.y - mwOffset then checkOffset.y = minOffset.y - mwOffset setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.y &amp;lt; minOffset.y then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 3 and checkOffset.y &amp;gt; minOffset.y then checkOffset.y = minOffset.y setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.y &amp;lt; minOffset.y + mwOffset then checkOffset.y = checkOffset.y + inSpeed setIntPos() end&lt;br /&gt;
  if slideDirection == 4 and checkOffset.y &amp;gt; minOffset.y + mwOffset then checkOffset.y = minOffset.y + mwOffset setIntPos() end&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
 -- * updates the current position of the interface * --&lt;br /&gt;
function setIntPos()&lt;br /&gt;
 getInterface:setValue(VInterfaceOffset, checkOffset)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- * let&amp;#039;s check if mouse wheel mode = true; if true then hide the interface else overlap interface slightly * --&lt;br /&gt;
function mwMode()&lt;br /&gt;
 if mwheel:getBool(VConditionValue) then&lt;br /&gt;
  if slideDirection == 1 then checkOffset = {x = minOffset.x - mwOffset, y = minOffset.y} setIntPos() end&lt;br /&gt;
  if slideDirection == 2 then checkOffset = {x = minOffset.x, y = minOffset.y - mwOffset} setIntPos() end&lt;br /&gt;
  if slideDirection == 3 then checkOffset = {x = minOffset.x + mwOffset, y = minOffset.y} setIntPos() end&lt;br /&gt;
  if slideDirection == 4 then checkOffset = {x = minOffset.x, y = minOffset.y + mwOffset} setIntPos() end&lt;br /&gt;
 else&lt;br /&gt;
  checkOffset = {x = minOffset.x, y = minOffset.y}&lt;br /&gt;
  setIntPos()&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Event Script ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
-- * this is the mainLoop event function (all loop events &amp;amp; functions for looping should be added or linked here) * --&lt;br /&gt;
function onMainLoop()&lt;br /&gt;
 intSlide() -- loop the function which checks if interface should be sliding in, out or at default position!&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
-- * this is the mouse event listener! (all mouse events &amp;amp; functions should be added or linked here) * --&lt;br /&gt;
function onMouseEvent(eventType)&lt;br /&gt;
 if not getObject(&amp;quot;Conditions[mwtoggle]&amp;quot;):getBool(VConditionValue) then -- if toggle is false then set default&lt;br /&gt;
  if eventType == eEvtMouseWheelUp then mwUp = 1 end&lt;br /&gt;
  if eventType == eEvtMouseWheelDown then mwUp = 2 end&lt;br /&gt;
 else -- invert mouse wheel&lt;br /&gt;
  if eventType == eEvtMouseWheelUp then mwUp = 2 end&lt;br /&gt;
  if eventType == eEvtMouseWheelDown then mwUp = 1 end&lt;br /&gt;
 end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- * let&amp;#039;s create the mouse event listener! * --&lt;br /&gt;
registerEventHandler(&amp;quot;mouseEvent&amp;quot;, &amp;quot;onMouseEvent&amp;quot;, {eEvtMouseWheelUp, eEvtMouseWheelDown})&lt;br /&gt;
-- * let&amp;#039;s create the loop event handler! * --&lt;br /&gt;
registerEventHandler(&amp;quot;mainLoop&amp;quot;, &amp;quot;onMainLoop&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2580&amp;oldid=prev</id>
		<title>AFRLme: /* Event Script */</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2580&amp;oldid=prev"/>
		<updated>2014-03-18T19:57:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Event Script&lt;/span&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 20:57, 18 March 2014&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-l201&quot;&gt;Line 201:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 201:&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;   if eventType == eEvtMouseWheelUp then mwUp = 1 end&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;   if eventType == eEvtMouseWheelUp then mwUp = 1 end&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;   if eventType == eEvtMouseWheelDown then mwUp = 2 end&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;   if eventType == eEvtMouseWheelDown then mwUp = 2 end&lt;/div&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;  else -- &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inverse &lt;/del&gt;mouse wheel&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;  else -- &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;invert &lt;/ins&gt;mouse wheel&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;   if eventType == eEvtMouseWheelUp then mwUp = 2 end&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;   if eventType == eEvtMouseWheelUp then mwUp = 2 end&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;   if eventType == eEvtMouseWheelDown then mwUp = 1 end&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;   if eventType == eEvtMouseWheelDown then mwUp = 1 end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2579&amp;oldid=prev</id>
		<title>AFRLme at 19:54, 18 March 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2579&amp;oldid=prev"/>
		<updated>2014-03-18T19:54:03Z</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 20:54, 18 March 2014&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-l66&quot;&gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 66:&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;end if&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;end if&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;&amp;lt;/pre&amp;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;&amp;lt;/pre&amp;gt;&lt;/div&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;11. To toggle &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;default&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inverse &lt;/del&gt;mouse wheel &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mode&lt;/del&gt;, you need to create an object in your options menu or a key input command containing...&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;11. To toggle &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;between interface open&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;close on &lt;/ins&gt;mouse wheel &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;up or down&lt;/ins&gt;, you need to create an object in your options menu or a key input command containing...&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;&amp;lt;pre&amp;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;&amp;lt;pre&amp;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;if condition &amp;#039;mwtoggle&amp;#039; is false&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;if condition &amp;#039;mwtoggle&amp;#039; is false&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2578&amp;oldid=prev</id>
		<title>AFRLme at 19:42, 18 March 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2578&amp;oldid=prev"/>
		<updated>2014-03-18T19:42:54Z</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 20:42, 18 March 2014&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;This script allows you to slide interfaces in - or out - from any direction, on hover or via the mouse wheel.&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;This script allows you to slide interfaces in - or out - from any direction, on hover or via the mouse wheel.&lt;/div&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;* this page is a work in progress *&#039;&#039;&#039;&#039;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;== Instructions ==&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;== Instructions ==&lt;/div&gt;&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-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&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;end if&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;end if&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;&amp;lt;/pre&amp;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;&amp;lt;/pre&amp;gt;&lt;/div&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;9. Inside of the &#039;&#039;properties&#039;&#039; tab for the interface, add this action to the &#039;&#039;&#039;action on leaving&#039;&#039;&#039; action...&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;9. Inside of the &#039;&#039;properties&#039;&#039; tab for the interface, add this action &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;part &lt;/ins&gt;to the &#039;&#039;&#039;action on leaving&#039;&#039;&#039; action...&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;&amp;lt;pre&amp;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;&amp;lt;pre&amp;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;change condition &amp;#039;hover&amp;#039; to false&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;change condition &amp;#039;hover&amp;#039; to false&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;&amp;lt;/pre&amp;gt;&lt;/ins&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;10. To toggle mouse wheel mode, you need to create an object in your options menu or a key input command containing...&lt;/ins&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;&amp;lt;pre&amp;gt;&lt;/ins&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;if condition &#039;mwheel&#039; is false&lt;/ins&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; change condition &#039;mwheel&#039; to true&lt;/ins&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; pause for 10 milliseconds&lt;/ins&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; execute a script &#039;mwMode()&#039;&lt;/ins&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;else&lt;/ins&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; change condition &#039;mwheel&#039; to false&lt;/ins&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; pause for 10 milliseconds&lt;/ins&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; execute a script &#039;mwMode()&#039;&lt;/ins&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;end if&lt;/ins&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;&amp;lt;/pre&amp;gt;&lt;/ins&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;11. To toggle default/inverse mouse wheel mode, you need to create an object in your options menu or a key input command containing...&lt;/ins&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;&amp;lt;pre&amp;gt;&lt;/ins&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;if condition &#039;mwtoggle&#039; is false&lt;/ins&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; change condition &#039;mwtoggle&#039; to true&lt;/ins&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;else&lt;/ins&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; change condition &#039;mwtoggle&#039; to false&lt;/ins&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;end if&lt;/ins&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;&amp;lt;/pre&amp;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;&amp;lt;/pre&amp;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;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;!-- diff cache key wikiVisionaire_new:diff:1.41:old-2577:rev-2578:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2577&amp;oldid=prev</id>
		<title>AFRLme at 19:31, 18 March 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2577&amp;oldid=prev"/>
		<updated>2014-03-18T19:31:47Z</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 20:31, 18 March 2014&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-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;local slideDirection = 4 -- from bottom&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;local slideDirection = 4 -- from bottom&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;&amp;lt;/syntaxhighlight&amp;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;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&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;6. Create a new &#039;&#039;definition&#039;&#039; script &amp;amp; add the [[#Event_Script|event script]] to it; see [[RegisterEventHandler_(CMS)|registerEventHandler()]] for more information, in regards to event handlers &amp;amp; listeners.&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;6. Create a new &#039;&#039;definition&#039;&#039; script &amp;amp; add the [[#Event_Script|event script]] to it; see [[RegisterEventHandler_(CMS)|registerEventHandler()]] for more information, in regards to event handlers &amp;amp; listeners.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&amp;gt;&lt;/ins&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;7. Create &#039;&#039;&#039;hover&#039;&#039;&#039;, &#039;&#039;&#039;mwheel&#039;&#039;&#039;, &amp;amp; &#039;&#039;&#039;mwtoggle&#039;&#039;&#039; conditions inside of the conditions tab of the interface you intend to slide &amp;amp; set all of them to false.&amp;lt;br/&amp;gt;&lt;/ins&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;8a. Create an button for your interface, move to bottom of list, set button as &#039;&#039;&#039;action area&#039;&#039;&#039;, set object area around the part that will trigger interface slide out on hover.&amp;lt;br/&amp;gt;&lt;/ins&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;8b. Add a mouse enter action to the button containing these action parts...&lt;/ins&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;&amp;lt;pre&amp;gt;&lt;/ins&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;if condition &#039;mwheel&#039; is false&lt;/ins&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; change condition &#039;hover&#039; to true&lt;/ins&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;end if&lt;/ins&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;&amp;lt;/pre&amp;gt;&lt;/ins&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;9. Inside of the &#039;&#039;properties&#039;&#039; tab for the interface, add this action to the &#039;&#039;&#039;action on leaving&#039;&#039;&#039; action...&lt;/ins&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;&amp;lt;pre&amp;gt;&lt;/ins&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;change condition &#039;hover&#039; to false&lt;/ins&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;&amp;lt;/pre&amp;gt;&lt;/ins&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;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;== Main Script ==&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;== Main Script ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2576&amp;oldid=prev</id>
		<title>AFRLme at 18:22, 18 March 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2576&amp;oldid=prev"/>
		<updated>2014-03-18T18:22:25Z</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 19:22, 18 March 2014&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-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&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;&amp;lt;syntaxhighlight&amp;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;&amp;lt;syntaxhighlight&amp;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 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;Deponia Based Sliding Interface [&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;v3&lt;/del&gt;] (18/03/2013)&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;Deponia Based Sliding Interface [&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;v4&lt;/ins&gt;] (18/03/2013)&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;Written by AFRLme [Lee Clarke]&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;Written by AFRLme [Lee Clarke]&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-lineno&quot; id=&quot;mw-diff-left-l71&quot;&gt;Line 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&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;local slideDirection = 1 -- set direction interface should slide from (1 = left, 2 = top, 3 = right, 4 = bottom)  &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;local slideDirection = 1 -- set direction interface should slide from (1 = left, 2 = top, 3 = right, 4 = bottom)  &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;local mwUp = 0 -- this controls if mouse wheel up or down has been executed; by default &quot;0&quot; = nil (!important: do not edit)&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;local &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hover = getObject(&quot;Conditions[hover]&quot;) -- store hover condition&lt;/ins&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;local mwheel = getObject(&quot;Conditions[mwheel]&quot;) -- store mouse mwheel condition&lt;/ins&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;/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;-- * global variables * --&lt;/ins&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;mwUp = 0 -- this controls if mouse wheel up or down has been executed; by default &quot;0&quot; = nil (!important: do not edit)&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;-- * function that moves the linked interface * --&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;-- * function that moves the linked interface * --&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;function intSlide()&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;function intSlide()&lt;/div&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; conds = {} -- create a blank table called &quot;conds&quot; ...&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; conds[&quot;_temporary_&quot;] = &quot;&quot; -- sets table to temporary; in other words: no data is stored in VS save games!&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; conds[1] = getObject(&quot;Conditions[slide?]&quot;):getBool(VConditionValue) -- check condition of &quot;slide?&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; conds[2] = getObject(&quot;Conditions[mwheel?]&quot;):getBool(VConditionValue) -- check condition of &quot;mwheel?&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;  -- * let&amp;#039;s create the on mouse over code * --&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;  -- * let&amp;#039;s create the on mouse over code * --&lt;/div&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;  if &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[1] &lt;/del&gt;and not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[2] &lt;/del&gt;then -- check if &quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;slide?&lt;/del&gt;&quot; = true &amp;amp; &quot;mwheel&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?&lt;/del&gt;&quot; = false&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;  if &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hover:getBool(VConditionValue) &lt;/ins&gt;and not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mwheel:getBool(VConditionValue) &lt;/ins&gt;then -- check if &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hover&lt;/ins&gt;&quot; = true &amp;amp; &quot;mwheel&quot; = false&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;   if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&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;   if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&lt;/div&gt;&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-l92&quot;&gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&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;   if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&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;   if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;gt; maxOffset.y then checkOffset.y = checkOffset.y - outSpeed setIntPos()  end&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;   if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&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;   if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&lt;/div&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;  elseif not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[1] &lt;/del&gt;and not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[2] &lt;/del&gt;then&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;  elseif not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hover:getBool(VConditionValue) &lt;/ins&gt;and not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mwheel:getBool(VConditionValue) &lt;/ins&gt;then&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;   if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&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;   if mwUp ~= 0 then mwUp = 0 end -- check if mouse wheel is active; if it is, then set inactive&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&lt;/div&gt;&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-l106&quot;&gt;Line 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 106:&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;  end&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;  end&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;  -- * let&amp;#039;s create the mouse wheel code * --&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;  -- * let&amp;#039;s create the mouse wheel code * --&lt;/div&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;  if not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[1] &lt;/del&gt;and mwUp == 1 then -- check if mouse wheel up has been rotated&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;  if not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) &lt;/ins&gt;and mwUp == 1 then -- check if mouse wheel up has been rotated&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (out) * --&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;   if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&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;   if (slideDirection == 1 or slideDirection == 2) and checkOffset.x &amp;lt; maxOffset.x then checkOffset.x = checkOffset.x + outSpeed setIntPos() end&lt;/div&gt;&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-l118&quot;&gt;Line 118:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 118:&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;   if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&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;   if (slideDirection == 3 or slideDirection == 4) and checkOffset.y &amp;lt; maxOffset.y then checkOffset.y = maxOffset.y setIntPos() end&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;  end&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;  end&lt;/div&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;  if not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[1] &lt;/del&gt;and mwUp == 2 then -- check if mouse wheel down has been rotated&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;  if not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hover:getBool(VConditionValue) and mwheel:getBool(VConditionValue) &lt;/ins&gt;and mwUp == 2 then -- check if mouse wheel down has been rotated&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&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;   -- * let&amp;#039;s slide the x position of the interface based on slideDirection (in) * --&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;   if slideDirection == 1 and checkOffset.x &amp;gt; minOffset.x - mwOffset then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&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;   if slideDirection == 1 and checkOffset.x &amp;gt; minOffset.x - mwOffset then checkOffset.x = checkOffset.x - inSpeed setIntPos() end&lt;/div&gt;&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-l138&quot;&gt;Line 138:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 138:&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;   if slideDirection == 4 and checkOffset.y &amp;gt; minOffset.y + mwOffset then checkOffset.y = minOffset.y + mwOffset setIntPos() end&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;   if slideDirection == 4 and checkOffset.y &amp;gt; minOffset.y + mwOffset then checkOffset.y = minOffset.y + mwOffset setIntPos() end&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;  end&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;  end&lt;/div&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;end &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- end intSlide()&lt;/del&gt;&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;end&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;  -- * updates the current position of the interface * --&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;  -- * updates the current position of the interface * --&lt;/div&gt;&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-l147&quot;&gt;Line 147:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 147:&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;-- * let&amp;#039;s check if mouse wheel mode = true; if true then hide the interface else overlap interface slightly * --&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;-- * let&amp;#039;s check if mouse wheel mode = true; if true then hide the interface else overlap interface slightly * --&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;function mwMode()&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;function mwMode()&lt;/div&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;  if &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;conds[2] &lt;/del&gt;then&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;  if &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mwheel:getBool(VConditionValue) &lt;/ins&gt;then&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;   if slideDirection == 1 then checkOffset = {x = minOffset.x - mwOffset, y = minOffset.y} setIntPos() end&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;   if slideDirection == 1 then checkOffset = {x = minOffset.x - mwOffset, y = minOffset.y} setIntPos() end&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;   if slideDirection == 2 then checkOffset = {x = minOffset.x, y = minOffset.y - mwOffset} setIntPos() end&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;   if slideDirection == 2 then checkOffset = {x = minOffset.x, y = minOffset.y - mwOffset} setIntPos() end&lt;/div&gt;&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-l168&quot;&gt;Line 168:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 168:&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;-- * this is the mouse event listener! (all mouse events &amp;amp; functions should be added or linked here) * --&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;-- * this is the mouse event listener! (all mouse events &amp;amp; functions should be added or linked here) * --&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;function onMouseEvent(eventType)&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;function onMouseEvent(eventType)&lt;/div&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;  if not getObject(&quot;Conditions[mwtoggle&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?&lt;/del&gt;]&quot;):getBool(VConditionValue) then -- if toggle is false then set default&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;  if not getObject(&quot;Conditions[mwtoggle]&quot;):getBool(VConditionValue) then -- if toggle is false then set default&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;   if eventType == eEvtMouseWheelUp then mwUp = 1 end&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;   if eventType == eEvtMouseWheelUp then mwUp = 1 end&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;   if eventType == eEvtMouseWheelDown then mwUp = 2 end&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;   if eventType == eEvtMouseWheelDown then mwUp = 2 end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2575&amp;oldid=prev</id>
		<title>AFRLme: /* Instructions */</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Deponia_Based_Sliding_Interface_(CMS)&amp;diff=2575&amp;oldid=prev"/>
		<updated>2014-03-18T17:20:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Instructions&lt;/span&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 18:20, 18 March 2014&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-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&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;2. Replace &amp;#039;&amp;#039;inventory&amp;#039;&amp;#039; with whatever name you gave your interface; names are case sensitive.&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;2. Replace &amp;#039;&amp;#039;inventory&amp;#039;&amp;#039; with whatever name you gave your interface; names are case sensitive.&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;&amp;lt;syntaxhighlight&amp;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;&amp;lt;syntaxhighlight&amp;gt;&lt;/div&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;local getInterface = getObject(&quot;Interfaces[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;add interface name here&lt;/del&gt;]&quot;)&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;local getInterface = getObject(&quot;Interfaces[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inventory&lt;/ins&gt;]&quot;)&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;&amp;lt;/syntaxhighlight&amp;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;&amp;lt;/syntaxhighlight&amp;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;3a. Edit &amp;#039;&amp;#039;minOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect initial starting point of the interface.&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;3a. Edit &amp;#039;&amp;#039;minOffset&amp;#039;&amp;#039; x &amp;amp; y values; these should reflect initial starting point of the interface.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikiVisionaire_new:diff:1.41:old-2574:rev-2575:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AFRLme</name></author>
	</entry>
</feed>