resize_callback

The callback that is invoked when an orientation change occurs that the app must respond to.

Synopsis:

#include <glview/glview.h>
 
typedef void(* resize_callback)(unsigned int width, unsigned int height, void *callback_data);

Library:

libglview

Description:

The application descriptor file (bar-descriptor.xml) specifies the orientation behavior for an app. If the behavior is set to default or auto-orient, then any registered resize_callback will be invoked whenever the device is turned from landscape to portrait or vice-versa. Turning the device 180 degrees does not result in executing the resize_callback.