|
wex v24.04.0
|
Offers a hex mode view to stc component. More...
#include <wex/factory/hexmode.h>

Public Member Functions | |
| hexmode (factory::stc *stc, size_t bytes_per_line=16) | |
| Constructor. | |
| virtual | ~hexmode ()=default |
| Destructor. | |
| auto | bytes_per_line () const |
| Returns number of bytes per line. | |
| auto | each_hex_field () const |
| Returns each hex field. | |
| auto * | get_stc () |
| Returns stc component. | |
| bool | is_active () const |
| Returns true if hex mode is on. | |
| const std::string | lines (const std::string &text) const |
| Converts text into hex lines. | |
| void | make_active (bool on) |
| Make hex mode active. | |
| char | printable (unsigned int c) const |
| Returns a printable char. | |
Protected Member Functions | |
| virtual void | activate () |
| Actions to be done when activated. | |
| virtual void | deactivate () |
| Actions to be done when deactivated. | |
Offers a hex mode view to stc component.
| wex::factory::hexmode::hexmode | ( | factory::stc * | stc, |
| size_t | bytes_per_line = 16 ) |
Constructor.
| stc | stc to view in hexmode |
| bytes_per_line | hex field ascii field
23 69 6e 63 6c 75 64 65 20 3c 77 78 2f 63 6d 64 #include <wx/cmd
6c 69 6e 65 2e 68 3e 20 2f 2f 20 66 6f 72 20 77 line.h> // for w
78 43 6d 64 4c 69 6e 65 50 61 72 73 65 72 0a 23 xCmdLineParser #
<---------------------------------------------> bytes per line
|