rejetto forum

sources

rejetto · 60 · 64470

0 Members and 2 Guests are viewing this topic.

Offline Xecutor

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Quote from: "rejetto"
yes, now i remember i had to modify the png unit
but i lost changes :(
i kept only the compiled one (DCU)

did you find a way to get the same making changes in &RQ sources without modifying pngunit?
Mmmm... I also modified pngunit, but I think it is possible
to modify loadpic instead.

There is another reason to modify pngunit - there are several nasty warnings about non-returning value from a function (i.e. returning samething nearly random). I prefer to keep sources clean from such warnings :)


p.s. btw what is wrong with www.rejetto.com domain?


Anonymous

  • Guest
rejetto, please make a new build asap with optioned single/double click activation from tray .... i am so tired clicking twice ....
thanks :D


Offline Stamir

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
    • http://www.notes.ws/
Quote from: "Xecutor"
Quote
But everifing is all right, if user with &RQ is invisible to user with ICQ. Strange things.
I'll look, what we can do.
Probably something can be done with the
way icqlite identify destination icq client?
i.e. for icqlite users &RQ must identify itself as ... something else :)

You was right. The trouble is in the protocol.  :(
It is hard to make anything with this... But i'll still trying...


perf

  • Guest
i can't download the source
http://www.uniroma1.com/rejetto/&RQ/&RQ09417b.src.zip
server name not found
all links to &rq binaries on main page are also broken.

want to have the source so much..


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13158
    • View Profile
the previous webspace is gone
this morning i will upload files to another webspace (rejetto.com itself)


Anonymous

  • Guest
rejetto. any news about final 0.9.4.17 ?


watt

  • Guest
Quote from: "rejetto"
until it is found somewhere else, you can download it from my webspace
http://www.uniroma1.com/rejetto/temp/pngunit.zip
bad link:( Help please!



Offline Kirys

  • Occasional poster
  • *
    • Posts: 30
    • View Profile
    • http://www.kt2k.com
Quote from: "Xecutor"
Mmmm... I also modified pngunit, but I think it is possible
to modify loadpic instead.

There is another reason to modify pngunit - there are several nasty warnings about non-returning value from a function (i.e. returning samething nearly random). I prefer to keep sources clean from such warnings :)

Please fell free to fix a cleanup the png unit and then make that available to &RQ :)



Offline alkimiya

  • Moderator
  • Tireless poster
  • *****
    • Posts: 315
    • View Profile
Quote from: "Kirys"
Latest Source :)
Is available here on SourceForge

Great :^:

Anything new since sources got released?
I think I should look for Delphi PE6 now :)


Offline Kirys

  • Occasional poster
  • *
    • Posts: 30
    • View Profile
    • http://www.kt2k.com
just removed all references to rxlib and converted all form to txt format.
I don't know if rejetto made some more modification to cvs.


Offline Vilux

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
I think that I found how to fix pngunit for normal showing icons.

Open  PngUnit.pas and find procedure DrawPng with strings:

if a = 0 then
begin
// alpha is zero so no blending, just image data
sl[ndx] := b;
sl[ndx + 1] := g;
sl[ndx + 2] := r;
end
else if a < 255 then
begin
// blend with data from ACanvas as background
sl[ndx] := ((sl[ndx] * a) + ((255 - a) * b)) div 255;
sl[ndx + 1] := ((sl[ndx + 1] * a) + ((255 - a) * g)) div 255;
sl[ndx + 2] := ((sl[ndx + 2] * a) + ((255 - a) * r)) div 255;
end;

Then replace them with strings:
if (a > 0) then
begin
// alpha is zero so no blending, just image data
sl[ndx] := b;
sl[ndx + 1] := g;
sl[ndx + 2] := r;
end
else
begin
// blend with data from ACanvas as background
sl[ndx] := ((sl[ndx] * a) + ((255 - a) * b)) div 255;
sl[ndx + 1] := ((sl[ndx + 1] * a) + ((255 - a) * g)) div 255;
sl[ndx + 2] := ((sl[ndx + 2] * a) + ((255 - a) * r)) div 255;
end;

Find function loadPic in utilLib.pas and check that bmp.Transparent is true (bmp.Transparent:=true;)
After that all icons shows normally... check,please this method...


Offline vorland

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
good!!very good....
hfs1.6a good!!!!!!!!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13158
    • View Profile
Quote from: "Vilux"
Find function loadPic in utilLib.pas and check that bmp.Transparent is true (bmp.Transparent:=true;)
After that all icons shows normally... check,please this method...
this sounds weird to me
what if the pic is not transparent?