| |
|
|
 Sebastian Sprenger | Hallo zusammen,
mein Testprogramm hier zeigt 6 Icons. Nach jedem Tastendruck wird ein Icon mit CopyBmp und Transparenz auf einen anderen Hintergrund kopiert.
Allerdings verfärbt sich bei allen PROFAN- und Windows-Versionen, die ich habe, das Quell- und/oder Zielbild - abhängig von dem Befehl TextColor ! Könnt ihr das bestätigen?
declare y%,l&,r&
settruecolor 1
l&=rgb(50,100,200)
r&=rgb(250,125,63)
cls l&
usepen 0,1,r&
usebrush 1,r&
rectangle 95,0-width(%hwnd),height(%hwnd)
drawicon "GESICHT",50,50
drawicon "GESICHT",50,100
drawicon "GESICHT",50,150
drawicon "GESICHT",50,200
drawicon "GESICHT",50,250
drawicon "GESICHT",50,300
waitinput
proc CopyWithTextcolor
add y%,50
textcolor &(1),&(2)
copybmp 50,y%-32,32>100,y%;-1
repaint
waitinput
endproc
CopyWithTextcolor l&,$FFFFFF
CopyWithTextcolor r&,$FFFFFF
CopyWithTextcolor 0,$FFFFFF
CopyWithTextcolor l&,l&
CopyWithTextcolor l&,r&
CopyWithTextcolor l&,0
Saluto, Sebastian |
|
|
|  Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32  Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM  Windows Me, 1.8 Ghz, 256 MB RAM | 12.12.2009 ▲ |
|
|
|
|
 | Vista:
 |
|
|
| |
|
|
|
 Christian Schneider | Bei mir das gleiche Bild. Vista64 + Xprofan 11.2 |
|
|
| |
|
|
|
 Das Dutzend | Ebenfalls unter Windows 2000 und Windows Vista und Profan 11 |
|
|
| |
|
|
|
 Manfred Barei | Ciao,
Bei mir das gleiche Bild. WinXP + Xprofan 11.2
Saluto |
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 13.12.2009 ▲ |
|
|
|
|
 Jörg Sellmeyer | Es sieht so aus, als ob das Problem noch nicht behoben ist! |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 04.11.2011 ▲ |
|
|
|
|
 | TextColor verändert auch die Farbe der Zwischenräume bei UsePen:
1 - gestrichelt _ _ _ _ _ _ 2 - gepunktet ............. 3 - Strich-Punkt _._._._._. 4 - Strich-Punkt-Punkt _.._.._.. |
|
|
| |
|
|
|
 Jörg Sellmeyer | Gibt es schon Erkenntnisse dazu, Roland? |
|
|
| |
|
|
|
 RGH | Nein, daas hatte ich ganz aus dem Blick verloren ... zumal man TextColor ja auch extrem selten verwendet. Ich muss mal schauen ...
Saluto Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 18.11.2015 ▲ |
|
|
|