VOUT_WINDOW_SET_FULLSCREEN, /* int b_fullscreen */
};
-typedef struct {
+typedef struct vout_window_cfg_t {
/* If true, a standalone window is requested */
bool is_standalone;
typedef struct vout_window_owner {
void *sys;
void (*resized)(vout_window_t *, unsigned width, unsigned height);
+ void (*closed)(vout_window_t *);
} vout_window_owner_t;
/**
window->owner.resized(window, width, height);
}
+static inline void vout_window_ReportClose(vout_window_t *window)
+{
+ if (window->owner.closed != NULL)
+ window->owner.closed(window);
+}
+
#endif /* VLC_VOUT_WINDOW_H */