Autor Beitrag
Dibelius
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Fr 23.03.07 22:32 
Hallo,

ich bin dabei, ein kleines Tool zu basteln, mit dem man u.a. Grafiken aus einem bestimmten Verzeichnis einlesen kann (momentan wird ganz simpel der Pfad über Edit-Feld eingegeben) und die werden dann in einem TImage-Objekt dargestellt - oder sollen es zumindest.
"Problem" bei der Geschichte ist, dass es sich nicht um die Standard-Formate handelt wie BMP, sondern um TGA (richtig: das schönste kommt erst noch... die Opazität). Aber vorerst wäre ich schonmal zufrieden, wenn das Bild überhaupt erstmal ausgegeben wird.

Eine weitere Sache: der Benutzer soll später in der Lage sein, Objekte auf der Arbeitfläche zu platzieren (ähnlich wie bei Delphi eben mit den Komponenten), also u.a. StaticText, Buttons und Images. All diese Elemente müssen frei skalierbar und positionierbar sein auf der Arbeitsfläche. Ich hab atm noch keine Ahnung, wie ich die Sache angehen soll Oo

Meine vorerst letzte Frage: ich handle das atm so, dass ich in Form2 den Pfad zum Bilderverzeichnis eingebe. Später brauch ich diese Variable aber noch in Form1. Wie übergebe ich die Variable von Form2 and Form1?

Ich hoffe, ihr könnt mir helfen
Dibelius Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Sa 24.03.07 12:12 
hat denn niemand eine Idee, wenigstens zu Punkt 1? Ich komm da echt nicht weiter :(
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 24.03.07 13:24 
Zu 1.: www.delphi-gems.com/GraphicEx.php

Alle anderen Fragen in einen eigenen Thread, der Übersichtlichkeit wegen. + Schiebepostings sind erst nach 24 Stunden erlaubt.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 24.03.07 13:25 
Schau mal bei Torry.net vorbei vieleicht gibts da entsprechende Komponenten.

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
Dibelius Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Sa 24.03.07 14:54 
thx. aber wie benutz ich GraphicEx. Ich blick da gerade gar nicht durch Oo
Robinator
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 275

WinXP
BDS 2006
BeitragVerfasst: Sa 24.03.07 15:28 
Evtl solltest du mal die HIlfe lesen und die Demos angucken.

Ich benutzte für derlei treiben meist die VampireImagingLib. Kannst du dir ja auch mal angucken

gruss rob

_________________
erare humanum est