[Darkworld-users] DrawLine(x, y, x2, y2, color) -- ui/UniverseWidget.cc::eventDraw(surface, rect)
Status: Alpha
Brought to you by:
weef
From: Alfred W. <alf...@go...> - 2007-11-07 13:04:55
|
Links, when in dragmode, go y=3Dy2 when y becomes negative. Then you see a horizontal line. Situation: Klick a planet, then move mouse down until the origin planet leaves the screen at the top border. At this moment the y coordinate of the planet goes negative, and the DrawLine(...) draws y equal to y2 (current mouse coordinate). I checked the y variable and it seems ok, it shows the correct negative value. The x coordinate isn't affected. |