1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
2 |
* Copyright (C) 2006-2014 Andreas Persson |
* Copyright (C) 2006-2017 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
27 |
|
|
28 |
#include "compat.h" |
#include "compat.h" |
29 |
|
|
30 |
#include <gig.h> |
#ifdef LIBGIG_HEADER_FILE |
31 |
|
# include LIBGIG_HEADER_FILE(gig.h) |
32 |
|
#else |
33 |
|
# include <gig.h> |
34 |
|
#endif |
35 |
|
|
36 |
#include <set> |
#include <set> |
37 |
#include <map> |
#include <map> |
50 |
gig::DimensionRegion* get_main_dimregion() const; |
gig::DimensionRegion* get_main_dimregion() const; |
51 |
void get_dimregions(const gig::Region* region, bool stereo, |
void get_dimregions(const gig::Region* region, bool stereo, |
52 |
std::set<gig::DimensionRegion*>& dimregs) const; |
std::set<gig::DimensionRegion*>& dimregs) const; |
53 |
|
bool select_dimregion(gig::DimensionRegion* dimrgn); |
54 |
|
|
55 |
protected: |
protected: |
56 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
67 |
void refresh_all(); |
void refresh_all(); |
68 |
void split_dimension_zone(); |
void split_dimension_zone(); |
69 |
void delete_dimension_zone(); |
void delete_dimension_zone(); |
70 |
|
void resetSelectedZones(); |
71 |
|
|
72 |
Gdk::RGBA red, black, white; |
Gdk::RGBA red, black, white; |
73 |
|
|