Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

dialog++.c File Reference

#include "c_lux.h"
#include "local.h"

Go to the source code of this file.

Functions

local int mymin (int a, int b)
local int mymax (int a, int b)
local int count_left_digits (double d)
local int format_double_string (double d, int w, char *s)
local int convert_value (dialog_entry *d, char *s)
local void set_dialog_item (Window *dialog_win, int i, dialog_entry *d, int x1, int x2, int y)
void initialize_dialog (Window *dialog_win, int xorigin, int yorigin, char *title, int *xsize, int *ysize, dialog_entry *list, int n, int split)
void update_from_dialog (Window dialog_win, dialog_entry *list, int n)
void reset_dialog_entries (Window dialog_win, dialog_entry *list, int n)
void print_dialog_list (char *s)
local void extend_dialog_list ()
void create_button_dialog_entry (char *name, char *value)
void create_int_dialog_entry (char *name, int *value)
void create_float_dialog_entry (char *name, float *value)
void create_double_dialog_entry (char *name, double *value)
void create_string_dialog_entry (char *name, char *value)
void set_dialog_width (int width)
void initialize_graphics ()
void set_dialog_split (int s)
void set_up_dialog (char *title, int xorigin, int yorigin)
int read_dialog_window ()
void reset_dialog_window ()


Function Documentation

local int convert_value ( dialog_entry * d,
char * s )
 

Definition at line 81 of file dialog++.c.

Referenced by initialize_dialog(), reset_dialog_entries(), and set_dialog_item().

local int count_left_digits ( double d )
 

Definition at line 21 of file dialog++.c.

Referenced by format_double_string().

void create_button_dialog_entry ( char * name,
char * value )
 

Definition at line 350 of file dialog++.c.

Referenced by main().

void create_double_dialog_entry ( char * name,
double * value )
 

Definition at line 392 of file dialog++.c.

Referenced by main().

void create_float_dialog_entry ( char * name,
float * value )
 

Definition at line 382 of file dialog++.c.

void create_int_dialog_entry ( char * name,
int * value )
 

Definition at line 372 of file dialog++.c.

void create_string_dialog_entry ( char * name,
char * value )
 

Definition at line 402 of file dialog++.c.

Referenced by main().

local void extend_dialog_list ( )
 

Definition at line 340 of file dialog++.c.

Referenced by create_button_dialog_entry(), create_double_dialog_entry(), create_float_dialog_entry(), create_int_dialog_entry(), and create_string_dialog_entry().

local int format_double_string ( double d,
int w,
char * s )
 

Definition at line 40 of file dialog++.c.

Referenced by convert_value().

void initialize_dialog ( Window * dialog_win,
int xorigin,
int yorigin,
char * title,
int * xsize,
int * ysize,
dialog_entry * list,
int n,
int split )
 

Definition at line 153 of file dialog++.c.

void initialize_graphics ( )
 

Definition at line 419 of file dialog++.c.

Referenced by Draw_box(), set_color(), set_up_dialog(), xhrdplot(), xstarplot(), xstarplot2(), and xstarplot22().

local int mymax ( int a,
int b )
 

Definition at line 16 of file dialog++.c.

Referenced by format_double_string().

local int mymin ( int a,
int b )
 

Definition at line 11 of file dialog++.c.

void print_dialog_list ( char * s )
 

Definition at line 319 of file dialog++.c.

int read_dialog_window ( )
 

Definition at line 460 of file dialog++.c.

Referenced by main().

void reset_dialog_entries ( Window dialog_win,
dialog_entry * list,
int n )
 

Definition at line 289 of file dialog++.c.

Referenced by reset_dialog_window().

void reset_dialog_window ( )
 

Definition at line 477 of file dialog++.c.

Referenced by main().

local void set_dialog_item ( Window * dialog_win,
int i,
dialog_entry * d,
int x1,
int x2,
int y )
 

Definition at line 123 of file dialog++.c.

Referenced by initialize_dialog().

void set_dialog_split ( int s )
 

Definition at line 427 of file dialog++.c.

void set_dialog_width ( int width )
 

Definition at line 412 of file dialog++.c.

Referenced by main().

void set_up_dialog ( char * title,
int xorigin,
int yorigin )
 

Definition at line 441 of file dialog++.c.

Referenced by main().

void update_from_dialog ( Window dialog_win,
dialog_entry * list,
int n )
 

Definition at line 254 of file dialog++.c.


Generated at Sun Feb 24 09:57:24 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001