Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-10

Splash window with drop shadow

11 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, I'm wondering if there's a way to create an splash screen (a borderless window) with a drop shadow, I'm thinking of something like showing a PNG with shadow on screen, but without its background window.

Better if it's cross platform.

Regards,

Reply by email

Alberto Narduzzi
to Leonardo M. Ramé
Hi, I'm wondering if there's a way to create an splash screen (a borderless window) with a drop shadow, I'm thinking of something like showing a PNG with shadow on screen, but without its background window.

maybe I miss something, but couldn't you just create a PNG with only the "shadow", alpha-something; make the borderless window slightly bigger and transparent where the shaow is, and just drop the PNG onto it?

Cheers, A.

Reply by email

Paul Ishenin
to Alberto Narduzzi

31.10.12, 4:46, Alberto Narduzzi ?????:

Show quoted text 7 lines
> Hi, I'm wondering if there's a way to create an splash screen (a > borderless window) with a drop shadow, I'm thinking of something like > showing a PNG with shadow on screen, but without its background window. maybe I miss something, but couldn't you just create a PNG with only the "shadow", alpha-something; make the borderless window slightly bigger and transparent where the shaow is, and just drop the PNG onto it?

Some widgetsets (like windows) support windows with shadows and this is even used in LCL for hint window. But there is no option available in LCL for this and there is no cross platform way I believe.

Best regards,
Paul Ishenin

Reply by email

Leonardo M. Ramé
to Alberto Narduzzi: maybe I miss something, but couldn't you just create a PNG with only the "shadow",…
Alberto Narduzzi wrote 11 lines
>Hi, I'm wondering if there's a way to create an splash screen (a >borderless window) with a drop shadow, I'm thinking of something like >showing a PNG with shadow on screen, but without its background window. maybe I miss something, but couldn't you just create a PNG with only the "shadow", alpha-something; make the borderless window slightly bigger and transparent where the shaow is, and just drop the PNG onto it? Cheers, A.

Alberto, how can I make a window transparent?.

Reply by email

Leonardo M. Ramé
to Paul Ishenin: 31.10.12, 4:46, Alberto Narduzzi ?????: Some widgetsets (like windows) support windows…
Paul Ishenin wrote 18 lines
31.10.12, 4:46, Alberto Narduzzi ?????: >>Hi, I'm wondering if there's a way to create an splash screen (a >>borderless window) with a drop shadow, I'm thinking of something like >>showing a PNG with shadow on screen, but without its background window. > >maybe I miss something, but couldn't you just create a PNG with only the >"shadow", alpha-something; make the borderless window slightly bigger >and transparent where the shaow is, and just drop the PNG onto it? Some widgetsets (like windows) support windows with shadows and this is even used in LCL for hint window. But there is no option available in LCL for this and there is no cross platform way I believe. Best regards, Paul Ishenin --

Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it possible to just alphablend part of the form?.

Reply by email

Leonardo M. Ramé
to Paul Ishenin
Paul Ishenin wrote 7 lines
31.10.12, 7:21, Leonardo M. Ram? ?????: >Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it >possible to just alphablend part of the form?. No, this is not supported. You can only mask a part of the form.

You meant, you CAN'T only mask a part of the form, right?.

Reply by email