font-variants.h revision dae16a4e05b2365df7cd9826fecae49560d92113
/*
* Author:
* Tavmjong Bah <tavmjong@free.fr>
*
* Copyright (C) 2015 Tavmong Bah
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#include <gtkmm/expander.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/radiobutton.h>
/**
* A container for selecting font variants (OpenType Features).
*/
{
/**
* Constructor
*/
FontVariants();
// To start, use four check buttons.
// Exclusive options
// Exclusive options (maybe a dropdown menu to save space?)
// Complicated!
void ligatures_init();
void ligatures_callback();
void position_init();
void position_callback();
void caps_init();
void caps_callback();
void numeric_init();
void numeric_callback();
void feature_init();
void feature_callback();
// To determine if we need to write out property (may not be necessary)
unsigned _ligatures_all;
unsigned _position_all;
unsigned _caps_all;
unsigned _numeric_all;
unsigned _ligatures_mix;
unsigned _position_mix;
unsigned _caps_mix;
unsigned _numeric_mix;
bool _ligatures_changed;
bool _position_changed;
bool _caps_changed;
bool _numeric_changed;
bool _feature_changed;
/**
* Update GUI based on query results.
*/
/**
* Fill SPCSSAttr based on settings of buttons.
*/
/**
* Let others know that user has changed GUI settings.
* (Used to enable 'Apply' and 'Default' buttons.)
*/
}
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_FONT_VARIANT_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :