975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz#ifndef SEEN_UI_CONTROL_TYPES_H
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz#define SEEN_UI_CONTROL_TYPES_H
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz/*
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz * Authors:
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz * Jon A. Cruz <jon@joncruz.org>
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz *
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz * Copyright (C) 2012 authors
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz *
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz * Released under GNU GPL, read the file 'COPYING' for more information
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz */
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz#ifdef HAVE_CONFIG_H
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz# include "config.h"
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz#endif
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruznamespace Inkscape
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz{
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz// Rough initial set. Most likely needs refinement.
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruzenum ControlType {
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_UNKNOWN,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_ADJ_HANDLE,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_ANCHOR,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_POINT,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_ROTATE,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_SIZER,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_SHAPER,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_LINE,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_TYPE_NODE_AUTO,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_TYPE_NODE_CUSP,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_TYPE_NODE_SMOOTH,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_TYPE_NODE_SYMETRICAL,
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz CTRL_TYPE_INVISIPOINT
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz};
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz/**
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz * Flags for internal representation/tracking.
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz */
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruzenum ControlFlags {
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_FLAG_NORMAL = 0,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_FLAG_ACTIVE = 1 << 0,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_FLAG_PRELIGHT = 1 << 1,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz CTRL_FLAG_SELECTED = 1 << 2,
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz};
52bbce559a1594256804e3f1ad4703a5ff7db138Jon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz} // namespace Inkscape
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz#endif // SEEN_UI_CONTROL_TYPES_H
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz/*
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz Local Variables:
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz mode:c++
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz c-file-style:"stroustrup"
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz indent-tabs-mode:nil
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz fill-column:99
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz End:
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz*/
975e4fdaf28d0eb425c1b8c1ac6cbbeec8a8086dJon A. Cruz// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :