mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 10:20:38 +02:00
1fa23c574e
- solidify/solid.h: definition of a solid made from two opposing faces - solidify/overlap.h (overlap), solidify/overlap.c (draw_image, scroll_event, overlap): operate on solid instead of face - solidify/overlap.c (sx, sy, draw_image, overlap): helper functions sx() and sy() to determine canvas size - solidify/overlap.c (BORDER, sx, sy): added a border around the piece, to help with positioning - solidify/solidify.c (clicked, gui_buttons, gui, main): use solid instead of faces
24 lines
545 B
C
24 lines
545 B
C
/*
|
|
* overlap.h - Overlap two parallel faces
|
|
*
|
|
* Written 2010 by Werner Almesberger
|
|
* Copyright 2010 by Werner Almesberger
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef OVERLAP_H
|
|
#define OVERLAP_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include "solid.h"
|
|
|
|
|
|
void overlap(GtkWidget *canvas, struct solid *solid);
|
|
|
|
#endif /* !OVERLAP_H */
|