Tesseract  3.02
SVEvent Struct Reference

#include <scrollview.h>

List of all members.

Public Member Functions

 ~SVEvent ()
SVEventcopy ()
 SVEvent ()
 SVEvent (const SVEvent &)
SVEventoperator= (const SVEvent &)

Public Attributes

SVEventType type
ScrollViewwindow
int x
int y
int x_size
int y_size
int command_id
char * parameter
int counter

Detailed Description

Definition at line 66 of file scrollview.h.


Constructor & Destructor Documentation

SVEvent::~SVEvent ( ) [inline]

Definition at line 67 of file scrollview.h.

{ delete [] parameter; }
SVEvent::SVEvent ( ) [inline]

Definition at line 79 of file scrollview.h.

SVEvent::SVEvent ( const SVEvent )

Member Function Documentation

SVEvent * SVEvent::copy ( )

Definition at line 69 of file scrollview.cpp.

                       {
  SVEvent* any = new SVEvent;
  any->command_id = command_id;
  any->counter = counter;
  any->parameter = new char[strlen(parameter) + 1];
  strncpy(any->parameter, parameter, strlen(parameter));
  any->parameter[strlen(parameter)] = '\0';
  any->type = type;
  any->x = x;
  any->y = y;
  any->x_size = x_size;
  any->y_size = y_size;
  any->window = window;
  return any;
}
SVEvent& SVEvent::operator= ( const SVEvent )

Member Data Documentation

Definition at line 75 of file scrollview.h.

Definition at line 77 of file scrollview.h.

Definition at line 76 of file scrollview.h.

Definition at line 69 of file scrollview.h.

Definition at line 70 of file scrollview.h.

Definition at line 71 of file scrollview.h.

Definition at line 73 of file scrollview.h.

Definition at line 72 of file scrollview.h.

Definition at line 74 of file scrollview.h.


The documentation for this struct was generated from the following files: