IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Classes | Typedefs
Simpleline interface

## Detailed Description

IDA custom viewer sample.

It is enough to create an object of strvec_t class, put all lines into it and create a custom ida viewer (ui_new_custom_viewer).

strvec_t sv;
// fill it with lines...
simpleline_place_t s1;
simpleline_place_t s2(sv.size()-1);
cv = (TCustomControl *)callui(ui_new_custom_viewer,
"My title",
parent_form,
&s1,
&s2,
&s1,
0,
&sv).vptr;

This will produce a nice colored text view. Also see the SDK's 'custview' and 'hexview' plugins for more complete examples.

## Classes
struct | simpleline_t
| Maintain basic information for a line in a custom view. More...
class | simpleline_place_t
| A location in a view populated by a strvec_t. More...

## Typedefs
typedef qvector< simpleline_t > | strvec_t
| A collection of simple lines to populate a custom view. More...

## Typedef Documentation

typedef qvector<simpleline_t> strvec_t

A collection of simple lines to populate a custom view.

This is an example of what you would pass as the 'ud' argument to create_custom_viewer()