>> And the project file format shall be extended to include the alpha
>> setting.  Maybe that's a patch I could work out.

> Here it is, but not on top of gtk3
>
>   git://git.psjt.org/gerbv
>

> @@ -260,6 +261,7 @@ main_save_project_from_filename(gerbv_project_t 
> *gerbvProject, gchar *filename)
>      project_list->rgb[0] = gerbvProject->background.red;
>      project_list->rgb[1] = gerbvProject->background.green;
>      project_list->rgb[2] = gerbvProject->background.blue;
> +    project_list->rgb[3] = 0;
>      project_list->next = NULL;
>
>      /* loop over all layer files */
> @@ -282,6 +284,7 @@ main_save_project_from_filename(gerbv_project_t 
> *gerbvProject, gchar *filename)
>             tmp->rgb[0] = gerbvProject->file[idx]->color.red;
>             tmp->rgb[1] = gerbvProject->file[idx]->color.green;
>             tmp->rgb[2] = gerbvProject->file[idx]->color.blue;
> +           tmp->rgb[3] = gerbvProject->file[idx]->alpha;
>             tmp->inverted = gerbvProject->file[idx]->transform.inverted;

Good catch!

>             tmp->visible = gerbvProject->file[idx]->isVisible;

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to