comparison classes/Bar.lua @ 159:799c6ea9da7b

added vehicle exit floater some fixes for vehicle exit button on main bars still some lingering settexcoords issues on the vehicle exit icon
author Flick <flickerstreak@gmail.com>
date Mon, 29 Jun 2009 17:43:16 +0000
parents e77f716af1b7
children 8cc187143acd
comparison
equal deleted inserted replaced
158:d2f289c3bae6 159:799c6ea9da7b
113 control:CallMethod("UpdateShowGrid") 113 control:CallMethod("UpdateShowGrid")
114 ]] 114 ]]
115 115
116 local _onstate_unitexists = -- function( self, stateid, newstate ) 116 local _onstate_unitexists = -- function( self, stateid, newstate )
117 [[ 117 [[
118 unithide = not newstate 118 unithide = not newstate or newstate == "hide"
119 ]] .. _reaction_refresh 119 ]] .. _reaction_refresh
120 120
121 local _onclick = -- function( self, button, down ) 121 local _onclick = -- function( self, button, down )
122 [[ 122 [[
123 if state_override == button then 123 if state_override == button then