Re: [MSEide-MSEgui-talk] Using external tools

2012-02-27 Thread Graeme Geldenhuys
On 27 February 2012 09:38, Martin Schreiber  wrote:

 Did you test on your 64bit machine too?


Yes, tested on both a 32-bit Linux and 64-bit Linux PC.

So what was ultimately the cause of the problem?


-- 
Regards,
  - Graeme -


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

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Using external tools

2012-02-27 Thread Julio Jiménez
2012/2/27 Martin Schreiber mse00...@gmail.com

 On Sunday, 26. February 2012 13.07:42 Julio Jiménez wrote:
 
  Probably Martin can add new macros and the possibility of key
 accelerators.
 
 Please use  in order to define hotkeys in 'Project'-'Tools'-'Menu'.


Yes I know, but I meant something more direct like  Ctrl+something,
Ctrl+Shift+something...

-- 
Julio Jiménez Borreguero
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Using external tools

2012-02-27 Thread Martin Schreiber
On Monday 27 February 2012 10:12:00 Graeme Geldenhuys wrote:
 On 27 February 2012 09:38, Martin Schreiber  wrote:
  Did you test on your 64bit machine too?

 Yes, tested on both a 32-bit Linux and 64-bit Linux PC.

 So what was ultimately the cause of the problem?

Probably a race condition with multi-core CPU's.

Martin

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Using external tools

2012-02-27 Thread Graeme Geldenhuys
On 27 February 2012 12:55, Martin Schreiber  wrote:

 Probably a race condition with multi-core CPU's.


My CPU at home is a P4 2.4Ghz (single core). It had the problem too.
Oh well, at least it seems to be fixed. I haven't had a failed
detection today yet. :)


-- 
Regards,
  - Graeme -


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

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] alpha channel in images

2012-02-27 Thread Graeme Geldenhuys
Hi Martin,

This is not directly related to MSEgui, but rather a How did you do
it? question. I've added PNG support in fpGUI. As expected, painting
images with transparency, shows up wrong. How does one handle the
Alpha channel in the RGBA pixel data of images? What do I need to tell
XLib and GDI to use that information?

eg:
What i see at the moment in fpGUI... I have a 10x1 test image. The
outer two pixels are 100% transparent. The center pixel is solid blue
and opaque. The pixels moving from the center of the image to the
outer edge has varying degrees of transparency. When fpGUI renders
that image, I see a solid black pixel, a solid blue line, and then
another solid black pixel.

Any sections of code in MSEgui I can take a look at, or any
information on the Internet you know of that I can read? Any help
would be much appreciated.

-- 
Regards,
  - Graeme -


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

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] alpha channel in images

2012-02-27 Thread Martin Schreiber
Am 27.02.2012 13:20, schrieb Graeme Geldenhuys:
 Hi Martin,

 This is not directly related to MSEgui, but rather a How did you do
 it? question. I've added PNG support in fpGUI. As expected, painting
 images with transparency, shows up wrong. How does one handle the
 Alpha channel in the RGBA pixel data of images? What do I need to tell
 XLib and GDI to use that information?

 eg:
 What i see at the moment in fpGUI... I have a 10x1 test image. The
 outer two pixels are 100% transparent. The center pixel is solid blue
 and opaque. The pixels moving from the center of the image to the
 outer edge has varying degrees of transparency. When fpGUI renders
 that image, I see a solid black pixel, a solid blue line, and then
 another solid black pixel.

 Any sections of code in MSEgui I can take a look at, or any
 information on the Internet you know of that I can read? Any help
 would be much appreciated.

MSEgui uses a separate normally server side mask bitmap or pixmap for 
transparency information. Have a look to tmaskedbitmap in 
lib/common/graphics/msebitmap.pas. The mask can either be 1 bit 
monochrome or 32 bit RGB colored. The RGB values are used as alpha for 
the accordant color channels. XRender supports this formats natively. 
The backend code is in lib/common/graphics/mse*gdi.pas gdi_copyarea(). 
Conversion between monchrome - color source/destination and stretching 
is tricky.

Martin

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Enhancing external tools.

2012-02-27 Thread Julio Jiménez
2012/2/27 Martin Schreiber mse00...@gmail.com

 Am 27.02.2012 17:51, schrieb Julio Jiménez:
  Hi Martin
 
  Running external tools is working great (the nasty effect about non
  detecting changes is gone). Is there a way to show/dump the output of
  the executed program (tool) in the messages window? It could be helpful
  for some tools.
 
 Not yet, added to wish list. Workaround: start MSEide in a terminal, the
 program output should be there.


Yes, it's what I was doing :)

Good to know you added it to wish list.

-- 
Julio Jiménez Borreguero
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Syntax highlighting, numbers

2012-02-27 Thread Julio Jiménez
Is there a way to colorize numbers in the code editor?

Thank you.

-- 
Julio Jiménez Borreguero
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Possible bug in syntax highlighting

2012-02-27 Thread Martin Schreiber
On Monday 27 February 2012 17:57:55 Julio Jiménez wrote:
 Simply look at the attached pic.

Please try again with git master eefd32b1c57c1bae9d985bbf10bc74f3bc653ecb.

Martin

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk