Re: [lazarus] Open URL in a browser

2008-02-07 Thread wile64
See also environnement variable $BROWSER under linux

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Open URL in a browser

2008-02-07 Thread wile64
2008/2/7, Graeme Geldenhuys [EMAIL PROTECTED]:

 On 07/02/2008, wile64 [EMAIL PROTECTED] wrote:
  See also environnement variable $BROWSER under linux
 

 Wow, I never knew about that.  It's available in Ubuntu 7.10 as well.
 Is that a LSB standard?


This is Debian, I have on my Ubuntu 7.10 and others are also


I see the /etc/alternatives directory is full of such files... :-)
 Nice one, it's about time Linux helped developers detect favoured
 applications.


I Found it but I do not know where :)

Regards,
   - Graeme -


 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] How to create a resource with a gif

2008-01-31 Thread wile64
Hi,

I would like to create a resource (lrs) with an inside gif, it is posible ?

Thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: How to create a resource with a gif

2008-01-31 Thread wile64
2008/1/31, wile64 [EMAIL PROTECTED]:

 Hi,

 I would like to create a resource (lrs) with an inside gif, it is posible
 ?

 Thanks


I found :)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Incompatibility file created by fpc / lazarus

2008-01-29 Thread wile64
Thanks to Felipe and Guiliano

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] Incompatibility file created by fpc / lazarus

2008-01-28 Thread wile64
Hi,

We have a problem on the forum french and I ask the question here by the
lack of response ;)

With this file structure, create with lazarus 0.9.22/fpc 2.0.4:
*
*

const
  MaxVoies = 4;
type

*TLigneMesureBin  = record
   T: extended;
   Ic: Integer;
   Valeur: array[1..MaxVoies] of extended;
   end;

FichBVB: file of TligneMesureBin;*

It is impossible to read this file with Lazarus 0.9.24/fpc 2.2.0.

And create a file with Lazarus 0.9.24/fpc 2.2.0 on linux Is not read by
Windows version (It is not the same) ???
And depending on the machine the file is not the same size (56 bit, 64 bit)
???

Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


project1.lpr
Description: Binary data


Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread wile64
Your image is in 24 bits, test load and then changing it to 32 bits

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: unable to rebuild IDE with 0.9.24-1

2008-01-17 Thread wile64
I download version 16/01/2008 et il ya

2008/1/11, wile64 [EMAIL PROTECTED]:

 I test version 0.9.24-1 download 08/01/2008 and unable to rebuild IDE
 (install package)!

 error :
 D:\lazarus\ide\EnvironmentOpts.pp(1,1) Fatal: Can't find unit
 ComponentTreeView used by ObjectInspector

 Thanks,
 --
 Laurent.

 My Components: http://wiki.lazarus.freepascal.org/Wile64
 French Forum : http://lazforum-fr.tuxfamily.org/index.php




-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: unable to rebuild IDE with 0.9.24-1

2008-01-17 Thread wile64



 2008/1/11, wile64 [EMAIL PROTECTED]:
 
  I test version 0.9.24-1 download 08/01/2008 and unable to rebuild IDE
  (install package)!
 
  error :
  D:\lazarus\ide\EnvironmentOpts.pp(1,1) Fatal: Can't find unit
  ComponentTreeView used by ObjectInspector
 
  Thanks,
  --
 

I download version 16/01/2008 for test

There are 2 units todolist (delete todolist.pp and rename todolist.pas -
todolist.pp) to correct the error.
And the previous error is always there when I want to install a package!
I managed to compile pass through build Lazarus

Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: unable to rebuild IDE with 0.9.24-1

2008-01-17 Thread wile64
2008/1/17, Vincent Snijders [EMAIL PROTECTED]:

 wile64 schreef:
  I download version 16/01/2008 et il ya
 
  2008/1/11, wile64 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
  I test version 0.9.24-1 download 08/01/2008 and unable to rebuild
  IDE (install package)!
 
  error :
  D:\lazarus\ide\EnvironmentOpts.pp(1,1) Fatal: Can't find unit
  ComponentTreeView used by ObjectInspector
 

 See bug 10433.

 Vincent

 Thanks Vincent,

For my problem with the file todolist, I think it is because I have updated
the 0.9.24

Regards

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] French translation (suite)

2008-01-16 Thread wile64
2008/1/16, Gerard N/A [EMAIL PROTECTED]:

 For the word Identifier, it seems Identifiant would be more
  appropriated, rather than Identificateur. Other colleagues of mine
  conform it. In fact Identificateur is not the good word, like
  Programmateur instead of Programmeur for a programer.


 I think identificateur is right. Both the french wikipedia (
 http://fr.wikipedia.org/wiki/Identificateur) and the french dictionary I
 have at hand (Petit Robert) agree on it.

 Regards,

 Gerard.


Great, I feel so lonely since the time that I asked for help and advice
differs ;)
identificateur is right.

Thanks

--
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New Docked IDE

2008-01-14 Thread wile64
Very good!

Can this be optional?

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] unable to rebuild IDE with 0.9.24-1

2008-01-11 Thread wile64
I test version 0.9.24-1 download 08/01/2008 and unable to rebuild IDE
(install package)!

error :
D:\lazarus\ide\EnvironmentOpts.pp(1,1) Fatal: Can't find unit
ComponentTreeView used by ObjectInspector

Thanks,
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] French translation / WIndows Manifest

2008-01-08 Thread wile64
Apply r13664


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] French translation / WIndows Manifest

2008-01-07 Thread wile64
2008/1/7, Damien Gerard [EMAIL PROTECTED]:


 Hi !
 There is just a tiny mistake for the french translation about the use
 of the manifest.

 It is
 Utiliser le fichier manifeste pour activer les thèmes (Windows
 seulement)
   ^ ^
 And not
 Etiliser le fichier manifeste pouractiver les thèmes (Windows
 seulement)

 Would it be possible to write `Darwin` with a big 'D' ?


I do a lot of translation for Lazarus and can be that the error comes from
me, in any case I will make changes.
If you see other inconsistencies do not hesitate to tell me.

Thank you,

Anyway, I don't know if it is really a bug (and it does not seem easy
 to manage) but if the manifest.res is deleted it is not recreated. If
 I remember well this file was self-generated. After reading the FAQ,
 it is written to create a text file myprogram.exe.manifest (and it
 works fine).
 Which the official way (the faq one I suppose but just to be sure) ?


 --
 Damien Gerard
 [EMAIL PROTECTED]



-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: New icon for lazarus

2007-12-24 Thread wile64
Hi,

I found a new cheetah with good looks and even more in 16x16 are recognized


Merry Christmas to all


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: LazarusProject.ico

Re: [lazarus] New icon for lazarus

2007-12-21 Thread wile64
2007/12/21, Roberto Padovani [EMAIL PROTECTED]:

 Hi,

 this morning I felt like graphing...
 the print on the ground is a nice idea, so I tried to solve the
 problem of contrast and resolution in windows detail view, i.e.
 16x16 icons.
 Contrast is solved by using the color of a cheetah instead of grey as
 a basic color + high-lining (English??) the prints with black. To make
 it more modern I added a point of light effect on the main finger
 print.
 From 48x48 to 32x32 everything scales well; in the 16x16 there is a
 resolution problem: scaling is too confusing, so I basically re-drew
 the same icon but changing the smaller prints.

 So, here's my result, anyone likes it ?

 cheers,

   Roberto


I can redo any color :)

If the idea does not enjoy, there is the so-called trash on the desktop :D

Regards
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: icon-yellow.ico

Re: [lazarus] New icon for lazarus

2007-12-21 Thread wile64
For the moment I am on the basic idea (color, shape ...), if it is used, I
can do it more attractive.
I do not like wasting time :)

Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] New icon for lazarus

2007-12-21 Thread wile64
2007/12/21, John [EMAIL PROTECTED]:

 wile64 wrote:
  I propose a new icon for lazarus, It can be used for whatever you want
 :)
 
  (I have svg source)
 In principle it is fine, but it just looks like a grey blob on my
 screen.  What colour background are you designing your icons against ?
 I have just a traditional mid grey, default on win32. While most of
 your icons look very good, quite a few lack contrast.  Example - the
 toggle form/unit button isn't very clear, yet in its depressed state, it
 is fine.


I will change a few who I do not like:)

Also, using a paw print as an icon is fine (the current cheetah on the
 column is also completely unintelligible unless you know what it is),
 but if you replace ALL the cheetahs with paw prints every one will
 forget what it means.  The new splash screen is fine as a watermark, and
 could be used as such in many places, but at least on the splash screen
 I think you should keep the cheetah on the column (on top of  your
 background).  It is nice and cheeky, and really is a good graphical
 statement of purpose.


The cheetah and column very difficult in 16x16, I seek another idea for icon
(not splash)


cheers,




-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] New docs image

2007-12-21 Thread wile64
Please update docs with thats.

Thanks,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
Title: Lazarus


   
 
  Welcome
to Lazarus 
Lazarus is a Rapid Application Development tool for Free Pascal
and currently runs on Linux, Mac OS X, BSD and of course Windows.
It is freely available, open source and completely written in Free
Pascal.
The official Lazarus site is http://www.lazarus.freepascal.org/.
There is a wiki with a lot of information around Lazarus at http://wiki.lazarus.freepascal.org/.
Free Pascal can be found at http://www.freepascal.org/.

The Lazarus Component Library is licensed under a modified GNU Lesser
General Public
License.
The Lazarus IDE is licensed under the GNU General Public License. 
  

attachment: laztitle.png

Re: [lazarus] New bitmap :-)

2007-12-20 Thread wile64
2007/12/20, Bee [EMAIL PROTECTED]:

  Why a question mark ?

 I turn out to be agree with you. Here's the fix. :-D

 -Bee-

 has Bee.ography at:
 http://beeography.wordpress.com


I will redesigned with new dialogue

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-20 Thread wile64
2007/12/20, Paul Ishenin [EMAIL PROTECTED]:

 Bee пишет:
  No, syn is not lazarus project !
 
  For 'official' icons, SynEdit project could use your icons. But special
  for Lazarus, as Graeme suggested before, I suggest to use my fixes for
  the matter of consistency with other icons.
 
  What do you think, Paul?

 No boys, I dont want to be arbiter between you :)

 Best regards,
 Paul Ishenin.


:)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-20 Thread wile64
Update with new dialogs.


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tcalcedit.pngattachment: tdateedit.pngattachment: tdirectoryedit.pngattachment: tfilenameedit.png

Re: [lazarus] splash image: share your ideas

2007-12-20 Thread wile64
2007/12/18, wile64 [EMAIL PROTECTED]:



 2007/12/18, Marc Weustink [EMAIL PROTECTED]:
 
  wile64 wrote:
  
  
   2007/12/16, wile64 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
  
   Hi Marc,
  
   Here splash in the vector (just copiede the original) :-(
  
   *splash_svg.tar.gz*
  
  
   I think the message is not received? (348 Ko)
 
  No, mailinglist limit is 50k. Please send to me in private (patch@ or
  marc@ dommelstein)
 
  Thanks Marc
 

 ok send to marc


You have received it?

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] New icon for lazarus

2007-12-20 Thread wile64
I propose a new icon for lazarus, It can be used for whatever you want :)

(I have svg source)

regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: iconproject.ico

Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
 And here are for RTTI tab and some little fix for TFilenameEdit.



TFilenameEdit. is not good, old dialog and Why a question mark ?

the tmultipropertylink. your link is black :(

thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] splash image: share your ideas

2007-12-19 Thread wile64
Hi all,

For the fun ;-D

http://wile64.neuf.fr/images/splash2.png


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64

 Btw, are you sure that rtti part (3 balls at left top) are really good?
 As I can see it looks the same as previous rtti part, only position is
 changed. That rtti part is very dark and eats most attention. Maybe you
 can try with attached icon or rethink idea or rtti part at all (maybe
 ball and box or something else).

 Best regards,
 Paul Ishenin.


look this ?


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: samplertti.png

Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
2007/12/19, wile64 [EMAIL PROTECTED]:

 Btw, are you sure that rtti part (3 balls at left top) are really good?
  As I can see it looks the same as previous rtti part, only position is
  changed. That rtti part is very dark and eats most attention. Maybe you
  can try with attached icon or rethink idea or rtti part at all (maybe
  ball and box or something else).
 
  Best regards,
  Paul Ishenin.
 
 
 look this ?


or this ?

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: rtti.png

Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
Paul,

please, update 2 sql

thanks,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tsqlscript.pngattachment: tsqlconnector.png

Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
2007/12/19, wile64 [EMAIL PROTECTED]:

 Paul,

 please, update 2 sql

 thanks,


I rework everything.


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tibconnection.pngattachment: tmysql40connection.pngattachment: tmysql41connection.pngattachment: tmysql50connection.pngattachment: tmysqlconnection.pngattachment: todbcconnection.pngattachment: toracleconnection.pngattachment: tpqconnection.pngattachment: tsqlite3connection.png

Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
2007/12/20, Bee [EMAIL PROTECTED]:

  Hi Paul,

 A little fix.

 -Bee-

 has Bee.ography at:
 http://beeography.wordpress.com


No, syn is not lazarus project !

thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
2007/12/20, Bee [EMAIL PROTECTED]:

 Hi Paul,

 These are some little fixes.

 -Bee-

 has Bee.ography at:
 http://beeography.wordpress.com


You back in arrears for the tarrow.png, mine is more beautiful !

thanks


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-19 Thread wile64
2007/12/5, A.J. Venter [EMAIL PROTECTED]:

 Well,
 Here is mine for TPopupNotifier - if somebody can make one that is
 actually pretty, I won't mind :p

 A.J.


For A.J ;)


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tpopupnotifier.png

[lazarus] SVG graphic format

2007-12-18 Thread wile64
Hi all,

Someone he started reading the SVG for lazarus ?

regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] test mailing list

2007-12-18 Thread wile64
I have no mail since this morning?

Can someone please answer me

Thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] test mailing list

2007-12-18 Thread wile64
Thanks all,

Well, nobody did writing since this morning  ;)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] SVG graphic format

2007-12-18 Thread wile64
Thanks Tom,

You work on it? How to develop it?

Regards


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Lazarus Tour: An Idea

2007-12-17 Thread wile64
Hi all,

There may be some tips on start Lazarus (like many others) and a video tour
outside.

regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-17 Thread wile64
2007/12/16, Bee [EMAIL PROTECTED]:

  last.

 I think we still have TMRUManager and TStrHolder on Misc tab. Also
 SynEdit, RTTI, and LazReport tabs. ;)

 I'll do the RTTI tab since its the easiest job. I just need to recompose
 your images with a bit modification. I left the others to you, since
 you're the real graphic designer. :-D

 -Bee-


I look at when I can (my son to a circuit for his birthday, I am very busy
:-) ).

TMRUManager and TStrHolder not in Misc tab !?

For LazReport I do not know if it has to be done.



-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] splash image: share your ideas

2007-12-17 Thread wile64
2007/12/16, wile64 [EMAIL PROTECTED]:

 Hi Marc,

 Here splash in the vector (just copiede the original) :-(
 *splash_svg.tar.gz*


I think the message is not received? (348 Ko)

Regards



-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-17 Thread wile64
2007/12/16, Bee [EMAIL PROTECTED]:

  last.

 I think we still have TMRUManager and TStrHolder on Misc tab. Also
 SynEdit, RTTI, and LazReport tabs. ;)

 I'll do the RTTI tab since its the easiest job. I just need to recompose
 your images with a bit modification. I left the others to you, since
 you're the real graphic designer. :-D


I propose to keep the balls (they are pretty)



-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: baseicon.pngattachment: tticheckbox.pngattachment: tticheckgroup.png

Re: [lazarus] New bitmap :-)

2007-12-15 Thread wile64
2007/12/15, Bee [EMAIL PROTECTED]:

 How about these fixes? ;)

 I propose new icon for TEventLog. I'm not quite agree with the 'LOG'
 text. We'll end up with putting text on every icons. Something that
 contradicts with the purpose of usage of icons/images. ;)


The idea is good.

To Laurents:
 What do you think about my TSQLQuery and TSQLTransaction? Should them
 committed or you have a better icons for them?


I think that if we change we must redo the other to stay in the same style.


And what about the
 TButtonPanel, I gave up. :-D


This is my answer ;-)


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tbuttonpanel.png

Re: [lazarus] New bitmap :-)

2007-12-14 Thread wile64
2007/12/14, Bee [EMAIL PROTECTED]:

 Laurent,

 If you don't mind, please make the skeleton images for TSynxxx and
 TRTTIxxx icons. Then let me do the rest. It's gonna be weekend, I'll
 have plenty of time to play with these icons. :-D


for RTTI, I propose default.png (cube) for base !

regards

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-14 Thread wile64
last.

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tlazcomponentqueue.png

[lazarus] Sample for new syn icons

2007-12-14 Thread wile64
Here is an example for new icons components Tsyn

regards

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tsynautocomplete.pngattachment: tsyncppsyn.png

Re: [lazarus] vote for bdd related component icon

2007-12-13 Thread wile64
2007/12/13, Bee [EMAIL PROTECTED]:

  Btw, if we are about tsql... then maybe better to use something common
  (for connection word) in all T...Connection images?

 I disagree. IMO... first, because 'connection' is too long word. It's
 hard to draw such a long word on a very limited number of pixels.
 Second, because the each db's logo should be enough to represent the
 functionality of the components (connect to a specified database).

 -Bee-


Yes, the 'connection' is too big...

Please for todbc more anti-aliasing, the edge still looks rough.


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] vote for bdd related component icon

2007-12-13 Thread wile64
2007/12/13, Paul Ishenin [EMAIL PROTECTED]:

 Bee пишет:
  Btw, if we are about tsql... then maybe better to use something common
  (for connection word) in all T...Connection images?
 
  I disagree. IMO... first, because 'connection' is too long word. It's
  hard to draw such a long word on a very limited number of pixels.

 No, I did not suggest to draw connection word. I mean image that will
 represent common sqldb connection. Since there are other components
 which can have odbc, oracle, firebird and ... connections. Or maybe not
 image for connection but for sqldb itself.

  Second, because the each db's logo should be enough to represent the
  functionality of the components (connect to a specified database).

 Best regards,
 Paul Ishenin.


I started to represent the connections with a flash! ;)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64


 it's good for me, the tdatabase and tdbcontrol is not used.


and tquery.png, tdialogtemplate.png.


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64
2007/12/13, wile64 [EMAIL PROTECTED]:


  it's good for me, the tdatabase and tdbcontrol is not used.
 

 and tquery.png, tdialogtemplate.png.

 and tselectdirdialog.png

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64
Early finish ;-)


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: todbcconnection.png

Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64
more
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: teventlog.pngattachment: tmaskedit.png

Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64
more

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: unregisteredcomponent.pngattachment: default.png

Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64
2007/12/13, Bee [EMAIL PROTECTED]:

  A little fix for TODBCConnection, TPairSplitter, and TProcess. Plus, new
  icons for TMemDataset, TSDFDataset, TFixedFormatDataset, and TDBF.

 I propose a color convention for icon with text. For any standard,
 commonly used or known abbreviation, such as HTML, XML, INI, IPC, etc,
 we use Laurent's color like being used on TXMLConfig. But for any other
 abbreviation that are not standard and commonly used, it should use its
 own color that is different from Laurent's color. Like what I'd done
 with the above xxxDataset icons.

 What do you think?

 -Bee-


You are going too fast ;-)

The printer is too light (tprintxxx.png) more contrast please

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tmemdataset.pngattachment: tfixedformatdataset.pngattachment: tsdfdataset.pngattachment: tdbf.png

Re: [lazarus] New bitmap :-)

2007-12-13 Thread wile64
Sample printer dialog icon ;-)


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tprintdialog.png

Re: [lazarus] New bitmap components dialogs

2007-12-12 Thread wile64
Le 12/12/07, Dominique Louis [EMAIL PROTECTED] a écrit :

 Tres jolie.


 Dominique.


In french great Thanks,

End std palette...

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tfinddialog.pngattachment: tfontdialog.pngattachment: treplacedialog.pngattachment: tselectdirectorydialog.png

Re: [lazarus] vote for bdd related component icon

2007-12-12 Thread wile64
If I count

*3 votes for tdatasource.png
**4 votes for tdatasource1.png
**6 votes for tdatasource2.png*

I propose a test with discs

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] vote for bdd related component icon

2007-12-12 Thread wile64
No comment ;-)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tdatasource.pngattachment: tdbcalendar.pngattachment: tdbcheckbox.pngattachment: tdbcombobox.pngattachment: tdbedit.pngattachment: tdbgroupbox.pngattachment: tdblistbox.pngattachment: tdbmemo.png

Re: [lazarus] vote for bdd related component icon

2007-12-12 Thread wile64
2007/12/13, Bee [EMAIL PROTECTED]:

 I propose these icons. Just trying to help, again. :-D

 -Bee-

 has Bee.ography at:
 http://beeography.wordpress.com


tsql... Are not in the standard palette, it must have the same style ?

Thanks
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] vote for bdd related component icon

2007-12-11 Thread wile64
Hi all,

Please vote for the image of your choice

Thanks,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tdatasource1.pngattachment: tdatasource2.pngattachment: tdatasource.png

Re: [lazarus] Component palette - default icon suggestion

2007-12-11 Thread wile64
See unregisteredcomponent.png, (I do not done yet) :-(
default.png (see Paul) ;-)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New splash screen issues

2007-12-11 Thread wile64
A idea for docs !

http://wile64.neuf.fr/images/header2.jpg


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-11 Thread wile64
more


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tidletimer.pngattachment: ttimer.png

[lazarus] New bitmap components dialogs

2007-12-11 Thread wile64
I start new bitmap for dialogs components


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tcalculatordialog.pngattachment: tcalendardialog.pngattachment: tcolordialog.pngattachment: topendialog.pngattachment: topenpicturedialog.pngattachment: tsavedialog.pngattachment: tsavepicturedialog.png

Re: [lazarus] New bitmap :-)

2007-12-10 Thread wile64


 Yes, I just want to make sure my idea to Laurent. Not to directly
 replace current TShape icon. It looks no good as Laurent's. :)

 -Bee-


It's good for me, small modif color and border ;-)

Thanks


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tshape.png

Re: [lazarus] New bitmap :-)

2007-12-10 Thread wile64

 Thanks both to bee and wile64. TShape image has been commited in r13255.

 Dont stop - we have at least Data controls and System tabs :)

 Best regards,
 Paul Ishenin.


No have time today, tomorow ...



-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-07 Thread wile64
Paul,

See not used icon

tcomboedit.png
tpopup.png
tmouse.png
tmenu.png

Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-07 Thread wile64
more...
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tidedialoglayoutstorage.pngattachment: tinipropstorage.pngattachment: txmlconfig.pngattachment: txmlpropstorage.png

Re: [lazarus] New splash screen issues

2007-12-06 Thread wile64
It has something to be done to this  /docs/index.html
not see good pretty. :-)
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-06 Thread wile64
Paul,

see ttoolbutton.png.
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tstatusbar.pngattachment: ttoolbar.png

Re: [lazarus] New bitmap :-)

2007-12-06 Thread wile64
I may be stupid but what is the difference between TPageControl and
TNoteBook exactly ?

Thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-06 Thread wile64
Paul,

!! ATTENTION !!
 - tfilenamedit.png is not used
 - tfilenameedit.png is used

I do not know how to differentiate between tpagecontrol.png and
tnotebook.png the same visually!

regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tarrow.pngattachment: tcalcedit.pngattachment: tcalendar.pngattachment: tdateedit.pngattachment: tdirectoryedit.pngattachment: teditbutton.pngattachment: tfilenameedit.pngattachment: tfloatspinedit.pngattachment: tspinedit.pngattachment: ttabcontrol.png

Re: [lazarus] New bitmap :-)

2007-12-05 Thread wile64
More

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tcheckgroup.pngattachment: tedit.pngattachment: tgroupbox.pngattachment: tpanel.pngattachment: tradiogroup.pngattachment: tscrollbar.png

Re: [lazarus] New bitmap :-)

2007-12-05 Thread wile64
tchu tchu more. :-)


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tapplicationproperties.pngattachment: tlistview.pngattachment: tprogressbar.pngattachment: tstatictext.pngattachment: ttrackbar.pngattachment: ttreeview.pngattachment: tupdown.png

Re: [lazarus] New bitmap :-)

2007-12-05 Thread wile64
Paul,

see tcolorcombobox.png is not used.



2007/12/5, Paul Ishenin [EMAIL PROTECTED]:

 wile64 пишет:
  More
 
 Thanks, commited in r13160.

 Best regards,
 Paul Ishenin.

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tbevel.pngattachment: tchecklistbox.pngattachment: tcolorbox.pngattachment: tcolorlistbox.pngattachment: tdrawgrid.pngattachment: tlabelededit.pngattachment: tnotebook.pngattachment: tpaintbox.pngattachment: tpairsplitter.pngattachment: tscrollbox.pngattachment: tsplitter.pngattachment: tstringgrid.pngattachment: ttrayicon.png

Re: [lazarus] New bitmap :-)

2007-12-05 Thread wile64
Thanks for all compliment !

And me I say thanks to the whole team Lazarus and Free Pascal for their
program !

It is better to a program that work good than pretty icons.

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-05 Thread wile64
2007/12/5, Graeme Geldenhuys [EMAIL PROTECTED]:

 Wow Laurent, you are like a machine! :-) The icons look awesome by the
 way. Mind if I use them for the fpGUI Forms Designer as well?


Yes, a diesel ;-)

Why not ! A small wink of an eye would make me happy :-)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] New bitmap :-)

2007-12-04 Thread wile64
Hi paul,

I made when I time ;-)


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tactionlist.pngattachment: tbitbtn.pngattachment: tbutton.png

Re: [lazarus] New bitmap :-)

2007-12-04 Thread wile64
More...

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tmainmenu.pngattachment: tmemo.pngattachment: tpopupmenu.pngattachment: tspeedbutton.pngattachment: ttogglebox.png

Re: [lazarus] New bitmap :-)

2007-12-04 Thread wile64
2007/12/4, Paul Ishenin [EMAIL PROTECTED]:

 wile64 wrote:
  More...
 TToggleBox is not distinct enough from TButton. But if you draw the same
 box but in pressed state then it will be ok.

 All other are commited in r13145. Thanks.

 Best regards,
 Paul Ishenin


he is in pressed state, compare with TButton !


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-04 Thread wile64
more...

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tcheckbox.pngattachment: tcombobox.pngattachment: tlistbox.pngattachment: tradiobutton.png

Re: [lazarus] App Localization

2007-12-01 Thread wile64
 I'm not sure what I should do with this unit.
 How is this related to the TTranslateString support in the IDE?


As a first step to determine whether all TTranslateString a Form can be read
as
I also did a test with TWriter.OnWriteStringProperty.

Or find the active form in the IDE?

Thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] App Localization

2007-12-01 Thread wile64


 Can you elaborate why you need resourcestrings for the properties?


 Mattias


To use it with TranslateUnitResourceStrings and translate my application.

Thanks,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] App Localization

2007-12-01 Thread wile64


 Using resourcestrings would assign every string property twice.

 The LCL form reader has a built in translator. You just need to setup
 LRSTranslator (unit lresources.pp).
 You can find an example in lcl/defaulttranslator.pas, but it only
 reads .mo files.
 We need a translator class using the po files directly. For example by
 using the TPOFile of lcl/translations.pas.
 Can you do that?


 Mattias


Ah this is something that is of interest, I will watch.
Thanks Mattias, You are the best ;-)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] App Localization

2007-12-01 Thread wile64


 The main problem is getting the .po files, especially on inherited
 forms, where the strings come from multiple .po files.
 Somehow the IDE must gather all .po files of all packages used by the
 project and collect them all into the i18n directory of the project.

 Mattias


Yes, I see what you mean,

1. The files collected should be placed in a file :-(
2. The IDE amends unit DefaultTranslator to put the files :-(
3. Create a component DefaultTranslator with StringsList for files :-)
4. hummm...


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] icons sqldb-components

2007-11-30 Thread wile64
That's end...

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tmysqlconnection.pngattachment: tpqconnection.pngattachment: tsqlconnector.pngattachment: tsqlite3connection.pngattachment: tsqlscript.png

Re: [lazarus] icons sqldb-components

2007-11-30 Thread wile64
2007/11/30, Paul Ishenin [EMAIL PROTECTED]:

 wile64 пишет:
  Icons for SQL.
 
 Thanks, commited in r13084.

 Best regards,
 Paul Ishenin.


Good, I would continue later ;)

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] printer4lazarus lazarus rebuild error

2007-11-28 Thread wile64
2007/11/28, Matthew Rollings [EMAIL PROTECTED]:

 Using the latest svn revision (13063) of lazarus and FPC 2.2.0, trying to
 rebuild lazarus to use the gtk2 interface i get the following error:

 /usr/share/lazarus/components/printers/printer4lazarus.pas(1,1) Fatal:
 Can't
 find unit libc used by uDlgSelectPrinter

 and the corresponding error in the console window of:

 Compiling printer4lazarus.pas
 Fatal: Can't find unit libc used by uDlgSelectPrinter
 GetMsgLineFilename Filename printer4lazarus.pas not found.
 TExternalToolList.Run
 Exception: /usr/share/lazarus/components/printers/printer4lazarus.pas(1,1)
 Fatal: Can't find unit libc used by uDlgSelectPrinter
 TMainIDE.DoLoadLFM there is no LFM file
 for /usr/share/lazarus/components/printers/printer4lazarus.pas
 TMainIDE.DoBuildLazarus: Compile AutoInstall Packages failed.

 Any ideas how to overcome this problem? much appreciated.

 Matthew


I just installed on Debian stable and have the same problem

See also bugtracker ID : 0010241


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
Hi,


I am not sure but this test.

var
  BmpResult: TBitmap;
begin
  ...
  ...

BmpResult:=TBitmap.Create;
BmpResult.LoadFromIntfImage( ScanLineImage );



-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
Sorry, He's not finish


I am not sure but this test.

var
  BmpResult: TBitmap;
begin
  ...
  ...

BmpResult:=TBitmap.Create;
BmpResult.LoadFromIntfImage( ScanLineImage );

Result:=BmpResult;
ScanLineImage.Free;

Not BmpResult.Free in function

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Support for load and save PCX format (FPC team)

2007-11-25 Thread wile64
Small change for the loading of PCX

Thanks,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
{ Copyright (C) 2007 Laurent Jacques

  This library is free software; you can redistribute it and/or modify it
  under the terms of the GNU Library General Public License as published by
  the Free Software Foundation; either version 2 of the License, or (at your
  option) any later version.

  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
  for more details.

  You should have received a copy of the GNU Library General Public License
  along with this library; if not, write to the Free Software Foundation,
  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

  Load all format compressed or not
}

unit FPReadPCX;

{$mode objfpc}{$H+}

interface

uses FPImage, Classes, SysUtils, pcxcomn;

type

  { TFPReaderPCX }

  TFPReaderPCX = class(TFPCustomImageReader)
  private
FCompressed: boolean;
FPalette: TFPPalette;
  protected
Header: TPCXHeader;
BytesPerPixel: byte;
FScanLine:  PByte;
FLineSize:  integer;
TotalWrite: longint;
procedure CreateGrayPalette(Img: TFPCustomImage);
procedure CreateBWPalette(Img: TFPCustomImage);
procedure CreatePalette16(Img: TFPCustomImage);
procedure ReadPalette(Stream: TStream; Img: TFPCustomImage);
procedure AnalyzeHeader(Img: TFPCustomImage);
function InternalCheck(Stream: TStream): boolean; override;
procedure InternalRead(Stream: TStream; Img: TFPCustomImage); override;
procedure ReadScanLine(Row: integer; Stream: TStream); virtual;
procedure UpdateProgress(percent: longint);
procedure WriteScanLine(Row: integer; Img: TFPCustomImage); virtual;
property Palette : TFPPalette read FPalette;
  public
property Compressed: boolean Read FCompressed;
  end;

implementation


procedure TFPReaderPCX.CreatePalette16(Img: TFPCustomImage);
var
  I: integer;
  c: TFPColor;
begin
  if Img.UsePalette then
FPalette := Img.Palette
  else
FPalette := TFPPalette.Create(0);
  Palette.Clear;
  for I := 0 to 15 do
  begin
with c, header do
begin
  Red   := ColorMap[I].red shl 8;
  Green := ColorMap[I].Green shl 8;
  Blue  := ColorMap[I].Blue shl 8;
  Alpha := alphaOpaque;
end;
Palette.Add(c);
  end;
end;

procedure TFPReaderPCX.CreateGrayPalette(Img: TFPCustomImage);
var
  I: integer;
  c: TFPColor;
begin
  if Img.UsePalette then
FPalette := Img.Palette
  else
FPalette := TFPPalette.Create(0);
  Palette.Clear;
  for I := 0 to 255 do
  begin
with c do
begin
  Red   := I * 255;
  Green := I * 255;
  Blue  := I * 255;
  Alpha := alphaOpaque;
end;
Palette.Add(c);
  end;
end;

procedure TFPReaderPCX.CreateBWPalette(Img: TFPCustomImage);
begin
  if Img.UsePalette then
FPalette := Img.Palette
  else
FPalette := TFPPalette.Create(0);
  Palette.Clear;
  Palette.Add(colBlack);
  Palette.Add(colWhite);
end;

procedure TFPReaderPCX.ReadPalette(Stream: TStream; Img: TFPCustomImage);
var
  RGBEntry: TRGB;
  I:  integer;
  c:  TFPColor;
  OldPos: integer;
begin
  if Img.UsePalette then
FPalette := Img.Palette
  else
FPalette := TFPPalette.Create(0);
  Palette.Clear;
  OldPos := Stream.Position;
  Stream.Position := Stream.Size - 768;
  for I := 0 to 255 do
  begin
Stream.Read(RGBEntry, SizeOf(RGBEntry));
with c do
begin
  Red   := RGBEntry.Red shl 8;
  Green := RGBEntry.Green shl 8;
  Blue  := RGBEntry.Blue shl 8;
  Alpha := alphaOpaque;
end;
Palette.Add(C);
  end;
  Stream.Position := OldPos;
end;

procedure TFPReaderPCX.AnalyzeHeader(Img: TFPCustomImage);
begin
  with Header do
  begin
if not ((FileID in [$0A, $0C]) and (ColorPlanes in [1, 3, 4]) and
  (Version in [0, 2, 3, 5]) and (PaletteType in [1, 2])) then
  raise Exception.Create('Unknown/Unsupported PCX image type');
BytesPerPixel := BitsPerPixel * ColorPlanes;
FCompressed   := Encoding = 1;
Img.Width := XMax - XMin + 1;
Img.Height:= YMax - YMin + 1;
FLineSize := (BytesPerLine * ColorPlanes);
GetMem(FScanLine, FLineSize);
  end;
end;

procedure TFPReaderPCX.ReadScanLine(Row: integer; Stream: TStream);
var
  P: PByte;
  B: byte;
  bytes, Count: integer;
begin
  P := FScanLine;
  bytes := FLineSize;
  Count := 0;
  if Compressed then
  begin
while bytes  0 do
begin
  if (Count = 0) then
  begin
Stream.ReadBuffer(B, 1);
if (B  $c0) then
  Count := 1
else
begin
  Count := B - $c0;
  Stream.ReadBuffer(B, 1);
end;
  end;
  Dec(Count);
  P[0] := B;
  Inc(P);
  Dec(bytes);
end;
  end
  else
Stream.ReadBuffer(FScanLine

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
2007/11/25, Dominique Louis [EMAIL PROTECTED]:

 Sorry I don't quite understand what you mean.

 Result is not freed in the function so the Bitmap should be fine.

 Please explain further.



We need to create a function that returns a bitmap created by this or that
it is necessary to create a procedure with a bitmap variable his modified by
procedure

Because I have a bad English I give an example ;)

example With function TInternalBitmap.CreateBitmap24 : TBitmap;

var MyBitmap: TBitmap;
begin
  MyBitmap:=CreateBitmap24;
  ...
  ...
  MyBitmap.Free;
end;
or
example with procedure TInternalBitmap.CreateBitmap24(ABitmap: TBitmap);

var MyBitmap: TBitmap;
begin
  MyBitmap:= TBitmap.Create;
  CreateBitmap24(MyBitmap);
  ...
  ...
  MyBitmap.Free;
end;

Bitmap is always free by calling...

Regards,

Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
2007/11/25, Dominique Louis [EMAIL PROTECTED]:

 Yes in this case the function that calls CreateBitmap24 will take care
 of freeing the Bitmap. But this does not fix my original problem to do
 with the AV on line Result.LoadFromIntfImage( ScanLineImage );

 Dominique.


Result does not exist, it must be created that is why there was an error.


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
I say a mistake, sorry :)

2007/11/25, wile64 [EMAIL PROTECTED]:

 2007/11/25, Dominique Louis [EMAIL PROTECTED]:
 
  Yes in this case the function that calls CreateBitmap24 will take care
  of freeing the Bitmap. But this does not fix my original problem to do
  with the AV on line Result.LoadFromIntfImage( ScanLineImage );
 
  Dominique.
 

 Result does not exist, it must be created that is why there was an error.


 --
 Laurent.

 My Components: http://wiki.lazarus.freepascal.org/Wile64
 French Forum : http://lazforum-fr.tuxfamily.org/index.php




-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
Did you test the example of lazarus in
lazarus\example\scanline\bitmapscanline1.lpi see if it works ?

Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] Bugs in pnm, pbm and ppm loader

2007-11-24 Thread wile64
Hi,

I saw that there were some bugs to load images ;)


There are images to test in the directory
GIMP-2.0\share\gimp\2.0\gimpressionist\Brushes


Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


fpreadpnm.pp
Description: Binary data


[lazarus] Changes for targa read (FPC team)

2007-11-22 Thread wile64
Hi,

This change allows you to read any file formats TARGA.

I send the complete file, I am not a developer FPC ;)

Regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


fpreadtga.pp
Description: Binary data


Re: [lazarus] Changes for targa read (FPC team)

2007-11-22 Thread wile64
2007/11/22, Vincent Snijders [EMAIL PROTECTED]:

 Michael Van Canneyt schreef:
 
  On Thu, 22 Nov 2007, wile64 wrote:
 
  Hi,
 
  This change allows you to read any file formats TARGA.
 
  I send the complete file, I am not a developer FPC ;)
 
  Thank you very much. I committed the file to SVN.
 

 Something went wrong:
 http://www.freepascal.org/mantis/view.php?id=10245

 Vincent


Thanks to Marco for his speed.


-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] 0.9.24 released

2007-11-21 Thread wile64
All French are happy ;)

Thanks to all involved in the development of Lazarus... and more !

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] i18n usage

2007-11-20 Thread wile64
2007/11/20, 13stica [EMAIL PROTECTED]:

 Hello!

 How to properly use i18n in projects? Is there any documentation of this
 new feature? (project options - i18n - output directory) this is all
 understandable, but what to do with po files? do I need it to be
 converted in .mo file? any information is appreciated...

 Thanks in advance. :)

 bye,
 barko


See here
http://wiki.lazarus.freepascal.org/Translations_/_i18n_/_localizations_for_programs


-- 
Laurent.

Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


  1   2   3   >