atomes 1.3.1
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
cwidget.c File Reference

Initialization of the curve widget. More...

#include <gtk/gtk.h>
#include <stdlib.h>
#include "global.h"
#include "interface.h"
#include "curve.h"
Include dependency graph for cwidget.c:

Go to the source code of this file.

Functions

DataLayoutcurve_default_layout (project *pid, int rid, int cid)
 prepare the default layout for a curve
void curve_default_scale (project *this_proj, int rid, int cid, Curve *this_curve)
 pick appropriate scale based on the type of analysis
void initcurve (project *pid, int rid, int cid)
 initialize curve widget
void init_curve_title (project *this_proj, int rid, int cid)
 init curve title and axis titles
void add_curve_widgets (project *this_proj, int rid)
 add curve widgets to the project

Detailed Description

Initialization of the curve widget.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file cwidget.c.

Function Documentation

◆ add_curve_widgets()

void add_curve_widgets ( project * this_proj,
int rid )

add curve widgets to the project

Parameters
this_projthe target project
ridthe analysis id

Definition at line 283 of file cwidget.c.

◆ curve_default_layout()

DataLayout * curve_default_layout ( project * pid,
int rid,
int cid )

prepare the default layout for a curve

Parameters
pidthe project id
ridthe analysis id
cidthe curve id

Definition at line 58 of file cwidget.c.

◆ curve_default_scale()

void curve_default_scale ( project * this_proj,
int rid,
int cid,
Curve * this_curve )

pick appropriate scale based on the type of analysis

Parameters
this_projthe target project
ridanalysis id
cidcurve id
this_curvethe target curve

Definition at line 117 of file cwidget.c.

◆ init_curve_title()

void init_curve_title ( project * this_proj,
int rid,
int cid )

init curve title and axis titles

Parameters
this_projthe target project
ridthe analysis id
cidthe curve id

Definition at line 260 of file cwidget.c.

◆ initcurve()

void initcurve ( project * pid,
int rid,
int cid )

initialize curve widget

Parameters
pidthe target project
ridthe analysis id
cidthe curve id

Definition at line 159 of file cwidget.c.