mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove a Lot of Dead Code.
This is just removal of dead code from the old profile, probably there's still a bit more to remove, but this is a very good cleanup already. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8f43ad8100
commit
00c97e710f
7 changed files with 1 additions and 326 deletions
13
display.h
13
display.h
|
@ -27,25 +27,12 @@ struct plot_info {
|
|||
struct plot_data *entry;
|
||||
};
|
||||
|
||||
/*
|
||||
* handy datastructure to keep all of our scaling data in one place
|
||||
*/
|
||||
struct graphics_context {
|
||||
int printer;
|
||||
double maxx, maxy;
|
||||
double leftx, rightx;
|
||||
double topy, bottomy;
|
||||
unsigned int maxtime;
|
||||
struct plot_info pi;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
SC_SCREEN,
|
||||
SC_PRINT
|
||||
} scale_mode_t;
|
||||
|
||||
extern struct divecomputer *select_dc(struct divecomputer *main);
|
||||
extern void get_plot_details(struct graphics_context *gc, int time, struct membuffer *mb);
|
||||
|
||||
struct options {
|
||||
enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue