IDA SDK
|
Maintain information about the current state of the UI.
This allows actions to behave appropriately (see action_handler_t)
Inherited by action_activation_ctx_t, and action_update_ctx_t.
Public Attributes | |
TWidget * | widget |
twidget_type_t | widget_type |
type of current widget | |
qstring | widget_title |
title of current widget | |
sizevec_t | chooser_selection |
current chooser selection (0-based) | |
const char * | action |
action name | |
uint32 | cur_flags |
Current address information. More... | |
ea_t | cur_ea |
the current EA of the position in the view | |
ea_t | cur_extracted_ea |
the possible EA the cursor is positioned on | |
func_t * | cur_func |
the current function | |
func_t * | cur_fchunk |
the current function chunk | |
struc_t * | cur_struc |
the current structure | |
member_t * | cur_strmem |
the current structure member | |
enum_t | cur_enum |
the current enum | |
segment_t * | cur_seg |
the current segment | |
struct { | |
twinpos_t from | |
start of selection | |
twinpos_t to | |
end of selection | |
} | cur_sel |
the currently selected range. also see ACF_HAS_SELECTION | |
union { | |
int reg | |
register number (if widget_type == BWN_CPUREGS and context menu opened on register) | |
}; | |
TWidget * | focus |
The focused widget in case it is not the 'form' itself (e.g., the 'quick filter' input in choosers.) | |
void * | reserved |
For possible future extension. | |
Public Member Functions | |
action_ctx_base_t () | |
Constructor. | |
void | reset () |
Invalidate all context info. | |
bool | has_flag (uint32 flag) const |
Check if the given flag is set. | |
uint32 action_ctx_base_t::cur_flags |
Current address information.