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

Functions to display model information in GtkTextBuffer. More...

#include "global.h"
#include "interface.h"
+ Include dependency graph for modelinfo.c:

Go to the source code of this file.

Functions

gchar * substitute_string (gchar *init, gchar *o_motif, gchar *n_motif)
 substitute all patterns in string
 
gchar * get_num_string (gchar *str)
 get description string for entry string
 
void print_spg_name (gchar *str, GtkTextBuffer *buffer)
 print space group name in a GtkTextBuffer
 
void print_spg_setting (gchar *init, GtkTextBuffer *buffer)
 print space group name in a GtkTextBuffer
 
void model_info (project *this_proj, GtkTextBuffer *buffer)
 display model information in GtkTexBuffer
 
void print_this_ogl_stuff (gchar *text, GLenum name, GtkTextBuffer *buf)
 print OpenGL stuff in a GtkTextBuffer
 
void opengl_info (project *this_proj, GtkTextBuffer *buf)
 display OpenGL information in a GtkTextBuffer
 

Variables

gchar * groups [230]
 
char * vect_comp [3]
 

Detailed Description

Functions to display model information in GtkTextBuffer.

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

Function Documentation

◆ get_num_string()

gchar * get_num_string ( gchar * str)
extern

get description string for entry string

Parameters
strthe target string

Definition at line 282 of file cbuild_edit.c.

◆ model_info()

void model_info ( project * this_proj,
GtkTextBuffer * buffer )

display model information in GtkTexBuffer

Parameters
this_projthe target project
bufferthe GtkTextBuffer

Definition at line 113 of file modelinfo.c.

◆ opengl_info()

void opengl_info ( project * this_proj,
GtkTextBuffer * buf )

display OpenGL information in a GtkTextBuffer

Parameters
this_projthe target project
bufthe GtkTextBuffer

Definition at line 355 of file modelinfo.c.

◆ print_spg_name()

void print_spg_name ( gchar * str,
GtkTextBuffer * buffer )

print space group name in a GtkTextBuffer

Parameters
strthe space group string
bufferthe GtkTextBuffer

Definition at line 57 of file modelinfo.c.

◆ print_spg_setting()

void print_spg_setting ( gchar * init,
GtkTextBuffer * buffer )

print space group name in a GtkTextBuffer

Parameters
initthe space group setting
bufferthe GtkTextBuffer

Definition at line 96 of file modelinfo.c.

◆ print_this_ogl_stuff()

void print_this_ogl_stuff ( gchar * text,
GLenum name,
GtkTextBuffer * buf )

print OpenGL stuff in a GtkTextBuffer

Parameters
textMessage
nameOpenGL id to retreive
bufthe GtkTextBuffer

Definition at line 336 of file modelinfo.c.

◆ substitute_string()

gchar * substitute_string ( gchar * init,
gchar * o_motif,
gchar * n_motif )
extern

substitute all patterns in string

Parameters
initthe initial string
o_motifthe pattern to replace
n_motifthe new pattern

Definition at line 372 of file w_library.c.

Variable Documentation

◆ groups

gchar* groups[230]
extern

Definition at line 43 of file cbuild_sg.c.

◆ vect_comp

char* vect_comp[3]
extern

Definition at line 82 of file edit_menu.c.