NanoPlott.C File Reference

#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/unit.h"
#include "gxsm/pcs.h"
#include "gxsm/app_remote.h"
#include "gxsm/xsmtypes.h"
#include "gxsm/glbvars.h"
#include "include/dsp-pci32/xsm/xsmcmd.h"

Go to the source code of this file.

Classes

struct  DSP_Remote
class  NanoPlottControl

Defines

#define UTF8_DEGREE   "\302\260"
#define UTF8_MU   "\302\265"
#define UTF8_ANGSTROEM   "\303\205"
#define MYGTK_INPUT(L)   mygtk_create_input(L, vbox_param, hbox_param, 50, 70);
#define MAXPOLYNODES   8

Functions

static void NanoPlott_about (void)
static void NanoPlott_query (void)
static void NanoPlott_cleanup (void)
static void NanoPlott_show_callback (GtkWidget *, void *)
static void NanoPlott_StartScan_callback (gpointer)
GxsmPluginget_gxsm_plugin_info (void)
static void check_remote_ec (Gtk_EntryControl *ec, gpointer arglist)
static void set_via_remote (gchar *arg, double value)

Variables

GxsmPlugin NanoPlott_pi
static const char * about_text
NanoPlottControlNanoPlottClass = NULL


Define Documentation

#define MAXPOLYNODES   8
 

Referenced by NanoPlottControl::RunPlott().

#define MYGTK_INPUT  )     mygtk_create_input(L, vbox_param, hbox_param, 50, 70);
 

#define UTF8_ANGSTROEM   "\303\205"
 

#define UTF8_DEGREE   "\302\260"
 

#define UTF8_MU   "\302\265"
 


Function Documentation

static void check_remote_ec Gtk_EntryControl ec,
gpointer  arglist
[static]
 

Definition at line 664 of file NanoPlott.C.

References Gtk_EntryControl::CheckRemoteCmd().

Referenced by set_via_remote().

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 170 of file NanoPlott.C.

References GxsmPlugin::description, N_, NanoPlott_pi, and VERSION.

static void NanoPlott_about void   )  [static]
 

Definition at line 231 of file NanoPlott.C.

References about_text, N_, GxsmPlugin::name, NanoPlott_pi, and VERSION.

static void NanoPlott_cleanup void   )  [static]
 

Definition at line 243 of file NanoPlott.C.

References GxsmPlugin::app, DBG_L2, GnomeAppService::getApp(), GxsmPlugin::menuentry, GxsmPlugin::menupath, NanoPlott_pi, NanoPlottClass, PI_DEBUG, and GxsmPlugin::status.

static void NanoPlott_query void   )  [static]
 

Definition at line 201 of file NanoPlott.C.

References GxsmPlugin::app, App::ConnectPluginToStartScanEvent(), XSMRESOURCES::geomsave, GnomeAppService::getApp(), GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, NanoPlott_pi, NanoPlott_show_callback(), NanoPlott_StartScan_callback(), NanoPlottClass, AppBase::SetResName(), GxsmPlugin::status, and xsmres.

static void NanoPlott_show_callback GtkWidget *  ,
void * 
[static]
 

Definition at line 256 of file NanoPlott.C.

References NanoPlottClass, and AppBase::show().

Referenced by NanoPlott_query().

static void NanoPlott_StartScan_callback gpointer   )  [static]
 

Definition at line 261 of file NanoPlott.C.

References NanoPlottClass, and NanoPlottControl::update().

Referenced by NanoPlott_query().

static void set_via_remote gchar *  arg,
double  value
[static]
 

Definition at line 668 of file NanoPlott.C.

References check_remote_ec(), gapp, and App::RemoteEntryList.

Referenced by NanoPlottControl::SetNewParam().


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm NanoPlotter Plugin:\n"
                                   "This plugin runs a control window to "
                                   "do simple HPGL 'Nano Plotting'.\n\n"
                                   "Supported Commands are PU (PenUp) and PD (PenDown)\n"
                                   "to given coordinates X,Y.\n"
                                   "Syntax PenUp movement:   'PU X,Z;'\n"
                                   "Syntax PenDown movement: 'PD X,Z;'\n\n"
                                   "Example Plot File of a 'square plott':\n"
                                   "PU 0,0;\n"
                                   "PD 100,0;\n"
                                   "PD 100,100;\n"
                                   "PD 0,100;\n"
                                   "PD 0,0;\n"
        )

Definition at line 144 of file NanoPlott.C.

GxsmPlugin NanoPlott_pi
 

Initial value:

 {
  NULL,
  NULL,
  0,
  NULL,
  "NanoPlott",
  "+ALL +SRanger:SPMHARD +SRangerTest:SPMHARD +Innovative_DSP:SPMHARD +Innovative_DSP:SPAHARD",

  NULL,
  "Percy Zahl",
  N_("_Windows/"),
  N_("Nano Plotter"),
  N_("open the Nano Plotter Control"),
  "Nano Plotter Control",
  NULL,
  NULL,
  NULL,
  NanoPlott_query,
  NanoPlott_about,
  NULL,
  NULL,
  NanoPlott_cleanup
}

Definition at line 120 of file NanoPlott.C.

Referenced by get_gxsm_plugin_info(), NanoPlottControl::GoToPosition(), NanoPlott_about(), NanoPlott_cleanup(), NanoPlott_query(), NanoPlottControl::NanoPlottControl(), and NanoPlottControl::RunPlott().

NanoPlottControl* NanoPlottClass = NULL
 

Definition at line 199 of file NanoPlott.C.

Referenced by NanoPlott_cleanup(), NanoPlott_query(), NanoPlott_show_callback(), and NanoPlott_StartScan_callback().


Generated on Sat Apr 1 09:04:43 2006 for GXSM by  doxygen 1.4.6