540 gchar *
lpos[3] = {
"x",
"y",
"z"};
551 box =
abox (
vbox,
"Templates: ", 0);
557 gtk_combo_box_set_active (GTK_COMBO_BOX(formats), view -> anim -> last ->
img -> labels_format[lid]);
558 gtk_widget_set_size_request (formats, 220, -1);
567 box =
abox (
vbox,
"Rendering: ", 0);
571 gtk_combo_box_set_active (GTK_COMBO_BOX(config), view -> anim -> last ->
img -> labels_render[lid]);
572 gtk_widget_set_size_request (config, 220, -1);
584 box =
abox (
vbox,
"Font color:", 0);
595 gtk_combo_box_set_active (GTK_COMBO_BOX(
position), view -> anim -> last ->
img -> labels_position[lid]);
596 gtk_widget_set_size_request (
position, 220, -1);
613 gtk_combo_box_set_active (GTK_COMBO_BOX(
tilt), view -> anim -> last ->
img -> mtilt);
614 gtk_widget_set_size_request (
tilt, 220, -1);
622 box =
abox (
vbox,
"Distance to atom [Å]:", 0);
628 create_hscale(-5.0, 5.0, 0.01, view -> anim -> last ->
img -> labels_shift[lid][i], GTK_POS_TOP,
637 if (view -> anim -> last ->
img -> labels_color[lid] == NULL)
657 for (i=0; i< this_proj -> nspec; i++)
661 if (view -> anim -> last ->
img -> labels_color[lid] == NULL)
679 & view ->
colorp[lid][0]), FALSE, FALSE, 0);
683 GtkListStore * store = gtk_list_store_new (1, GDK_TYPE_PIXBUF);
685 for (i=0; i<
NDOTS; i++)
687 gtk_list_store_append (store, & iter);
688 gtk_list_store_set (store, & iter, 0, gdk_pixbuf_new_from_file (
dots[i], NULL), -1);
690 lstyle = gtk_combo_box_new_with_model (GTK_TREE_MODEL(store));
691 g_object_unref (G_OBJECT(store));
692 GtkCellRenderer * renderer;
693 renderer = gtk_cell_renderer_pixbuf_new();
694 gtk_cell_layout_pack_start( GTK_CELL_LAYOUT(
lstyle), renderer, FALSE );
695 gtk_cell_layout_set_attributes( GTK_CELL_LAYOUT(
lstyle), renderer,
"pixbuf", 0, NULL );
696 gtk_combo_box_set_active (GTK_COMBO_BOX(
lstyle), view -> anim -> last ->
img -> mpattern);
698 gtk_widget_set_size_request (
lstyle, 100, 35);
703 create_hscale(1.0, 10.0, 1.0, (
double)view -> anim -> last ->
img -> mfactor, GTK_POS_RIGHT, 0, 100,
709 create_hscale(1.0, 10.0, 1.0, view -> anim -> last ->
img -> mwidth, GTK_POS_RIGHT, 0, 100,