| Summary: | NEWT: Add support for custom Application/Window Icons | ||
|---|---|---|---|
| Product: | [JogAmp] Newt | Reporter: | Sven Gothel <sgothel> |
| Component: | core | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | gouessej |
| Priority: | --- | ||
| Version: | 1 | ||
| Hardware: | All | ||
| OS: | all | ||
| Type: | --- | SCM Refs: |
e7ffa68bce9bb707005be72530b207c732f62c31
661fea5aa92b1e3c0b888035b67612307fa79a35
49e9ce7e641cb6923d9907ad66f667b3d3490e49
|
| Workaround: | --- | ||
|
Description
Sven Gothel
2013-12-31 08:05:03 CET
Issues w/ AWT/Parenting, e.g. NApplet's:
- Win32
- Window Icon not visible if w/ top-level (after reparenting)
commit 661fea5aa92b1e3c0b888035b67612307fa79a35
Bug 935: NEWT Windows Window-Icon: Fix Window-Icon Visibility after Reparenting CHILD -> TOP
Hiding the window via 'ShowWindow(.., SW_HIDE)' before reparenting and subsequent
style change incl. visibility renders the Window-Icon visible.
+++
commit 49e9ce7e641cb6923d9907ad66f667b3d3490e49
Bug 935: NEWT Windows Window-Icon: Use WNDCLASSEX w/ Small/Big Default Icons (NativeWindow GDI / NEWT )
.. this allows using the icon definition of WNDCLASSEX instead of setting them at CreateWindow0(..).
- NativeWindow GDIUtil/RegisteredFactory uses WNDCLASSEX and Small/Big Defailt Icons
Bug 935 Comment 5: "Is there a way of setting a different icon for each GLWindow?" Currently this feature is intended statically, since at least on OSX this seems not to be possible, i.e. the window-icon of the native NSApplication context is set. |