Bug 1163

Summary: frame by frame icon
Product: [JogAmp] Newt Reporter: Johann Sorel <sorel.johann>
Component: coreAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: enhancement CC: gouessej
Priority: ---    
Version: 1   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---
Attachments: API changes and attempt to implement the

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.