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

Functions to draw the title. More...

#include <gtk/gtk.h>
#include <cairo.h>
#include <pango/pangocairo.h>
#include "global.h"
#include "curve.h"
+ Include dependency graph for title.c:

Go to the source code of this file.

Functions

const gchar * default_title (int ax, int c)
 default title string
 
void show_title (cairo_t *cr, project *this_proj, int rid, int cid)
 draw title
 

Detailed Description

Functions to draw the title.

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 title.c.

Function Documentation

◆ default_title()

const gchar * default_title ( int ax,
int c )

default title string

Parameters
axaxis
ccurve id

Definition at line 54 of file title.c.

◆ show_title()

void show_title ( cairo_t * cr,
project * this_proj,
int rid,
int cid )

draw title

Parameters
crthe cairo drawing context to use for the draw
this_projthe target project
ridthe calculation id
cidthe curve id

Definition at line 107 of file title.c.