atomes 1.1.16
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 (int rid, int cid)
 pick appropriate scale based on the type of analysis
 
void initcurve (project *pid, int rid, int cid)
 initialize curve widget
 
void addcurwidgets (int pid, int rid, int str)
 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

◆ addcurwidgets()

void addcurwidgets ( int pid,
int rid,
int str )

add curve widgets to the project

Parameters
pidthe project id
ridthe analysis id
strat the project creation stage (1) or latter on (0)

Definition at line 259 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 57 of file cwidget.c.

◆ curve_default_scale()

void curve_default_scale ( int rid,
int cid )

pick appropriate scale based on the type of analysis

Parameters
ridanalysis id
cidcurve id

Definition at line 114 of file cwidget.c.

◆ initcurve()

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

initialize curve widget

Parameters
pidthe project id
ridthe analysis id
cidthe curve id

Definition at line 156 of file cwidget.c.