Recent

Author Topic: Lazarus & AeroGlass  (Read 15400 times)

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Lazarus & AeroGlass
« on: August 17, 2010, 06:55:21 pm »
Screenshot http://wxsoft.net.ru/images/screen.png
In Russian:
Собственно Аэроглассу уже много лет. Ни у кого не возникало желание принарядить приложения лазарус под Vista&W7 интрефейс.
Выкладываю вам порт компонента AeroGlass, который позволяет  легко реализовать базовые возможности застеклянения окон.
Собственно для полноценной интеграции стекла и сопутствующих технологий в приложения нужно ещё многое сделать, как например вывод текста на стекло с glow  эффектом, вывод изображений с корректной прорисовкой альфа канала. Не считая остальных прибамбасов навроде jumplist и им подобных.
Никто этой темой не увлекался может есть какие наработки?

In English:

Many time has passed since the aero inteface released. What about adding the associated features in lazarus applications?
So let me introdure the port of AeroGlass component that adds to windows a glass look under Vista and W7

Download Source with Example

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Lazarus & AeroGlass
« Reply #1 on: August 18, 2010, 10:08:58 am »
Hello wOvAN.

I don't understand i just compiled my project on windows XP,
tested it on Seven and i have the aero style without your library.

Why did you need to code it?
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: Lazarus & AeroGlass
« Reply #2 on: August 18, 2010, 11:55:10 am »
Can you extend glass area or make the whole form glassy?

see screenshot http://wxsoft.net.ru/images/screen.png 

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Re: Lazarus & AeroGlass
« Reply #3 on: August 18, 2010, 12:56:03 pm »
alpha forms are on the roadmap and might already work on windows
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: Lazarus & AeroGlass
« Reply #4 on: August 18, 2010, 01:35:58 pm »
Alpha Forms it is a different thing, alpha is a feature of Win2k. And it is already works in 0.9.29'x I'm talkin bout Aero Glass features  introduced in Vista. 

It'a a very different thing.

It's about a new windows manager of vista called DWM.  :D

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Lazarus & AeroGlass
« Reply #5 on: August 18, 2010, 01:51:11 pm »
Alpha Forms it is a different thing, alpha is a feature of Win2k. And it is already works in 0.9.29'x  

Which property do you use to make alpha forms in Lazarus 0.9.29:

Quote
I'm talkin bout Aero Glass features  introduced in Vista.

Maybe a full desktop screenshot would be more clear, I can't really tell that there is any special effect from your screenshot.

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: Lazarus & AeroGlass
« Reply #6 on: August 18, 2010, 02:12:59 pm »
Same as Delphi's "Alpha Blend",  ok I'll add some more later  ;)

alejol0

  • Jr. Member
  • **
  • Posts: 60
  • Electronic technician
    • My Facebook page
Re: Lazarus & AeroGlass
« Reply #7 on: August 18, 2010, 02:46:26 pm »
wOvan, great!!

I was looking for some component to make certain region of the form
semitransdparent.

AlpahBlend is useless for me because AlphaBlend makes ALL components transparent,
and I want that some components will be opaque, like TImage or TPanel , and others
semitransparent.

Can you upload a copy of your code to other file share server?
I was unable to download from turbobit.net .I wait 60 secons and then turbotit
freezes showing "Wait more - 41" and time never updates.

Maybe you can use freakshare or megaupload.

Thanks!
Contact me: lavarello1966 (at) gmail . com
or
alejandro.lavarello (at) gmail (dot) com

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Lazarus & AeroGlass
« Reply #8 on: August 18, 2010, 02:50:25 pm »
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

alejol0

  • Jr. Member
  • **
  • Posts: 60
  • Electronic technician
    • My Facebook page
Re: Lazarus & AeroGlass
« Reply #9 on: August 18, 2010, 03:01:01 pm »
Thanks! This server dr4x works very fast!
I will try your code.

-- alejandro.lavarello (at) gmail (dot) com
Contact me: lavarello1966 (at) gmail . com
or
alejandro.lavarello (at) gmail (dot) com

alejol0

  • Jr. Member
  • **
  • Posts: 60
  • Electronic technician
    • My Facebook page
Re: Lazarus & AeroGlass
« Reply #10 on: August 18, 2010, 06:49:15 pm »
wOvan, I have tried your code.

The project1.exe do not work. This shows a normal form, no
transparencies at all.
I have tried in a XP SP2 without Aero installed.

Lazarus IDE do not opens your project1.lpi because complaint about
missing wlibrary packet.

I use Lazarus 0.9.29 SVN 26494 FPC 2.4.3 in Windows XP SP2 32 bits Spanish.

Can make your project do not depend on other libraries and
work if Windows do not have Aero installed?

-- alejandro.lavarello (at) gmail (dot) com
Contact me: lavarello1966 (at) gmail . com
or
alejandro.lavarello (at) gmail (dot) com

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: Lazarus & AeroGlass
« Reply #11 on: August 18, 2010, 08:51:06 pm »
wOvan, I have tried your code.

The project1.exe do not work. This shows a normal form, no
transparencies at all.
I have tried in a XP SP2 without Aero installed.

Lazarus IDE do not opens your project1.lpi because complaint about
missing wlibrary packet.

I use Lazarus 0.9.29 SVN 26494 FPC 2.4.3 in Windows XP SP2 32 bits Spanish.

Can make your project do not depend on other libraries and
work if Windows do not have Aero installed?

-- alejandro.lavarello (at) gmail (dot) com

The component implements the DWM feature which is only available in Vista and above.
Sorry for dependency (wlibrary) the component is a part of it but it's in a beta stage too yearly to be realesed

I wonder people did you use any windows OSes  after XP. Or may be saw it in pictures  :-[ haven't you read some thing about it's new features.  %)

alejol0

  • Jr. Member
  • **
  • Posts: 60
  • Electronic technician
    • My Facebook page
Re: Lazarus & AeroGlass
« Reply #12 on: August 18, 2010, 09:41:13 pm »
Hi,wOvAn!
Well, here in the Third World, we have low cost PCs and we use cheap
OS and software. And I think: Why to pay for features that I do not need? ;)
If the feature is free of charge, okay.  But Vista and Windows 7
costs more and needs a more expensives PC. For doing the same as WindowsXP!! :D (And Vista is a bunch of problems)

Maybe in your country (Russia, I think because your post ends in .ru) the majority of people can
buy the ultimate PC. Here, we need to use and re-use old PCs. In my job, a municipal government,  Windows 98
is used in 50% of machines. The plan is to replace these old PCs with new, but with Ubuntu installed.

Of course, here people buy powerful PCs too, but is a minority.

I was believed that your code could add some eye-candy's features to olds OS, sorry for
my mistake.

-- alejandro.lavarello (at) gmail (dot) com
Contact me: lavarello1966 (at) gmail . com
or
alejandro.lavarello (at) gmail (dot) com

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: Lazarus & AeroGlass
« Reply #13 on: August 18, 2010, 10:10:14 pm »
Heh... Russia isn't a very rich country nowadays, it now faces the capitalism in all its "beauty".

XP is also mostly used os for job.
But our laws still very soft about using pirat software in personal purposes  :-[ so many people using the newest versions of Windows OS.

Otherwise if they had to pay for it maybe "the progress" would stuck a little  :D .
But windows isn't a very expensive soft anyway. comparing to photoshop for example.   

I doubt that linux can really save your money. as total it costs a lot more for its inconvinience and a lot of troubles and ..... so on.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Lazarus & AeroGlass
« Reply #14 on: August 18, 2010, 10:55:49 pm »
as total it costs a lot more for its inconvinience and a lot of troubles and ..... so on.

Are you talking about Linux???

 

TinyPortal © 2005-2018