On Sunday 29 May 2016 22:19:10 Krzysztof wrote:
> Hi Martin,
>
> I finally moved my LCL app to MSEgui and now I can focus on style
> because so far it was only quick overview. So I would like to post
> here my upcoming issues.
>
> 1. My first goal is remove all 3d effects (3d frames, leveli levelo)
> from buttons, edits, scrollbars etc and replace it by simple one
> colour frame. I want to get flatten UI similar to Windows Metro or
> Android Material Design. I know technicaly how to do this using skin
> controller and framecomp but have one issue. I set fso_flat,
> fso_nomouseanim and fso_noclickanim so now buttons don't have 3d
> effect and I can design own frame. Problem is with "mouse hover"
> effect. To get this I need to add facelist with frame as timagelist
> bitmaps (like in samples/widgets/buttons/hoverframe). Is it necessary?

It can also be done with TFrame.FrameImage_*.

> Is there shorter way for such simple square one colour frame? I mean,
> what is missing is tframecom.colorframemouse and
> tframecom.colorframeclick next to colorframe and colorframeactive
>
Git master 089cf862c776efe3593f5dd1191cb2b061ddbe1a has TFrame and 
TFramecomp.ColorFrameDisabled, ColorFrameMouse and ColorFrameClicked.

> 2. Second issue. Is there equivalent for LCL TSpeedButton.Flat
> property? So far I thought that it is fso_flat but it only disable 3d
> effect. FrameColor is still present. I have few buttons which need to
> have flat effect -> frame is visible only when mouse is on button or
> click
>
Please set FrameColor to cl_transparent.

> 3. When you implemented fontawesome, did you saw something for font
> frame color? I saw this in TAgg2d in fpGUI. It looks like font awesome
> icons can have small frame with different color which get very nice
> effect
>
It probably renders the glyph outline path. FreeType2 does not support this 
AFAIK.

Martin

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to