Bug 1163 - frame by frame icon
Summary: frame by frame icon
Status: UNCONFIRMED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-06-13 13:47 CEST by Johann Sorel
Modified: 2015-08-26 10:23 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
API changes and attempt to implement the (9.29 KB, patch)
2015-06-25 21:08 CEST, Johann Sorel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Sorel 2015-06-13 13:47:25 CEST
Currently, setting a frame icon is made using a global system property :
System.setProperty("newt.window.icons", imagePath);

It would be nice to have both a global icon but also a frame by frame icon.

New methods on GLWindow like :
- void setIcon(PixelRectangle icon)
- PixelRectangle getIcon()
Comment 1 Johann Sorel 2015-06-25 21:08:44 CEST
Created attachment 698 [details]
API changes and attempt to implement the

Path for the java api and javadoc and base code to set icons in X11, still something is wrong, icon is not replaced.