Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 22.05.05 11:07 
Hallo,
ich habe mal den Mapeditor testen wollen dabei sind mir Positions fehler bei der Maus aufgefallen:
Scrollt mal mit den Scrollbars und dann gehe mal auf das fehlt.
Ich habe die stelle zwar gefunden im qullcode(der ist ja zum glück openSoruce) aber leider verstehe ich diese stelle nicht so ganz:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
   x1 := (MouseX div round(Module1.TileWidth * Module1.Scale)) * round(Module1.TileWidth * Module1.Scale) + ScrollBar1.Position;
        x2 := x1 + round(Module1.TileWidth * Module1.Scale);
        y1 := (MouseY div round(Module1.TileHeight * Module1.Scale)) * round(Module1.TileHeight * Module1.Scale) + ScrollBar2.Position;
        y2 := y1 + round(Module1.TileHeight * Module1.Scale);


und da vermute ich den fehler, kann das sein, oder teusche ich mich da ?
weil der Map Editor ist garnicht mal so schnelcht

_________________
MFG
Michael Springwald, "kann kein englisch...."
DaClown
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: So 22.05.05 13:32 
Was ist denn das Omega Projekt?
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: So 22.05.05 13:48 
user profile iconDaClown hat folgendes geschrieben:
Was ist denn das Omega Projekt?

Gute Frage! :)

mfg matze

_________________
si tacuisses, philosophus mansisses.
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 22.05.05 14:52 
Das Omega Projekt ist eine Komponenten Samlung so wie DelphiX und PowerDraw nur 10000 mal besser.
Es kann viel mehr als die andren Kleinen DX kapszulungen.
zu finden ist das Projekt hier:
www.delphisanctuary.com

da ich kein englisch kann wollte ich hier fragen ob an den gepostetn codes was falsch sein kann oder nicht. Denn diese stellen sind mir aufgefallen. Das ist ganz komisch: es soll ein rechteck gezeichnet werden und ein icon und jetzt sind beide nicht unter dem Mauszeiger aber wenn ich mich mit der Maus den Rand näher komme ist es richtig aber sobalt ich weiter weg bin kommen diese Fehler wieder auf.

evlt. sollte ich wo andres anfangen am Omega projekt denn ich teste es heute zum erstenmal richtig.

_________________
MFG
Michael Springwald, "kann kein englisch...."