Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Usage of SWT.HOT

Thanks Leo and Markus for the help.

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=502546 to
discuss the removal of the unsupported code paths in
CTabFolderRenderer.

On Wed, Sep 14, 2016 at 1:11 PM, Markus Keller <markus_keller@xxxxxxxxxx> wrote:
> Test org.eclipse.swt.custom.CTabFolderRenderer#drawClose(GC, Rectangle, int)
> again, where the "X" gets filled in pink when you move the mouse over the
> close box in a CTabItem.
>
> The implementation in org.eclipse.swt.custom.CTabFolder#onMouse(Event) tells
> when the close box is hot.
>
> Looks like the other parts that used to get HOT were lost when CTabFolder
> was replaced by the hacked E4 version.
>
> Markus
>
>
>
> From:        Lars Vogel <lars.vogel@xxxxxxxxxxx>
> To:        "Eclipse Platform SWT component developers list."
> <platform-swt-dev@xxxxxxxxxxx>
> Date:        2016-09-13 17:57
> Subject:        [platform-swt-dev] Usage of SWT.HOT
> Sent by:        platform-swt-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
>
> Friends of SWT,
>
> I'm looking at the code of CTabFolderRenderer which has special code
> for the SWT.HOT case. The Javadoc is very brief about it.
>
> Event detail field that indicates a user-interface component
> * state is hot (value is 1&lt;&lt;5).
>
> Can you explain when this is set? In my testing this code block is not
> executed during my usage of the Eclipse IDE.
>
> Best regards, Lars
>
> --
> Eclipse Platform UI and e4 project co-lead
> CEO vogella GmbH
>
> Haindaalwisch 17a, 22395 Hamburg
> Amtsgericht Hamburg: HRB 127058
> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
> USt-IdNr.: DE284122352
> Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web:
> http://www.vogella.com
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top