Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_clipboard_viewer Class Reference

#include <htclipboard.h>

Inheritance diagram for ht_clipboard_viewer:

ht_uformat_viewer ht_format_viewer ht_viewer ht_view Object List of all members.

Public Member Functions

void init (bounds *b, char *desc, int caps, ht_clipboard *clipboard, ht_format_group *format_group)
virtual void draw ()
virtual void handlemsg (htmsg *msg)
virtual void pselect_add (FILEOFS start, FILEOFS end)
virtual void pselect_set (FILEOFS start, FILEOFS end)
void update_content ()

Protected Member Functions

void get_pindicator_str (char *buf)
void selection_changed ()

Protected Attributes

UINT lastwritecount
UINT lastentrycount

Member Function Documentation

void ht_clipboard_viewer::draw  )  [virtual]
 

Reimplemented from ht_uformat_viewer.

Definition at line 103 of file htclipboard.cc.

References ht_uformat_viewer::draw(), and update_content().

void ht_clipboard_viewer::get_pindicator_str char *  buf  )  [protected, virtual]
 

Reimplemented from ht_format_viewer.

Definition at line 170 of file htclipboard.cc.

References buf, ht_uformat_viewer::edit(), FILEOFS, ht_uformat_viewer::get_current_offset(), ht_snprintf(), and ht_uformat_viewer::pselect_get().

void ht_clipboard_viewer::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented from ht_uformat_viewer.

Definition at line 109 of file htclipboard.cc.

References clearmsg(), clipboard, ht_view::dirtyview(), ht_uformat_viewer::handlemsg(), and msg_file_changed.

void ht_clipboard_viewer::init bounds *  b,
char *  desc,
int  caps,
ht_clipboard clipboard,
ht_format_group format_group
 

Definition at line 93 of file htclipboard.cc.

References clipboard, Object::init(), lastentrycount, SEARCHMODE_BIN, SEARCHMODE_EVALSTR, SEARCHMODE_EXPR, and update_content().

Referenced by ht_app::create_window_clipboard().

void ht_clipboard_viewer::pselect_add FILEOFS  start,
FILEOFS  end
[virtual]
 

Reimplemented from ht_uformat_viewer.

Definition at line 121 of file htclipboard.cc.

References FILEOFS, ht_uformat_viewer::pselect_add(), and selection_changed().

void ht_clipboard_viewer::pselect_set FILEOFS  start,
FILEOFS  end
[virtual]
 

Reimplemented from ht_uformat_viewer.

Definition at line 127 of file htclipboard.cc.

References FILEOFS, ht_uformat_viewer::pselect_set(), and selection_changed().

Referenced by update_content().

void ht_clipboard_viewer::selection_changed  )  [protected]
 

Definition at line 133 of file htclipboard.cc.

References clipboard, FILEOFS, ht_uformat_viewer::pselect_get(), ht_clipboard::select_len, and ht_clipboard::select_start.

Referenced by pselect_add(), and pselect_set().

void ht_clipboard_viewer::update_content  ) 
 

Definition at line 141 of file htclipboard.cc.

References ht_mask_sub::add_mask(), ht_uformat_viewer::clear_subs(), clipboard, ht_clipboard::copy_history, ht_list::count(), ht_list::get(), ht_snprintf(), ht_hex_sub::init(), ht_mask_sub::init(), ht_uformat_viewer::insertsub(), lastentrycount, msg_complete_init, pselect_set(), ht_clipboard::select_len, ht_clipboard::select_start, ht_view::sendmsg(), ht_clipboard_copy_history::size, ht_clipboard_copy_history::source, ht_clipboard_copy_history::start, and ht_clipboard_copy_history::time.

Referenced by draw(), and init().


Member Data Documentation

UINT ht_clipboard_viewer::lastentrycount [protected]
 

Definition at line 52 of file htclipboard.h.

Referenced by init(), and update_content().

UINT ht_clipboard_viewer::lastwritecount [protected]
 

Definition at line 51 of file htclipboard.h.


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:56 2004 by doxygen 1.3.5