A function you must write to retrieve the area occupied by the full resource editor window
typedef void ResPluginGetAreaF_t ( ResPluginHandle_t handle, PhArea_t *area )
This function is exported in the ResPluginFullEditor_t structure
This function is called by PhAB to find out the current area of the full resource editor. The plugin should fill in the area pointer with the editor's current area.
This sample ResPluginGetAreaF_t function for a full editor is from the complete plugin example at the end of this chapter.
static void plugin_full_get_area( ResPluginHandle_t handle, PhArea_t *area ) { PluginFullInstance_t *instance = ( PluginFullInstance_t * ) handle; instance->exp->get_area( instance->convenience_handle, area ); }
QNX Neutrino
ResPluginFullCreateF_t, ResPluginFullEditor_t, PhArea_t.