gioui.org/ui@v0.0.0-20190926171558-ce74bc0cbaea/app/egl_win.go (about)

     1  // SPDX-License-Identifier: Unlicense OR MIT
     2  
     3  // +build android windows
     4  
     5  package app
     6  
     7  type eglWindow struct {
     8  	w _EGLNativeWindowType
     9  }
    10  
    11  func newEGLWindow(w _EGLNativeWindowType, width, height int) (*eglWindow, error) {
    12  	return &eglWindow{w}, nil
    13  }
    14  
    15  func (w *eglWindow) window() _EGLNativeWindowType {
    16  	return w.w
    17  }
    18  
    19  func (w *eglWindow) resize(width, height int) {}
    20  func (w *eglWindow) destroy()                 {}