~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/editors/include/ED_numinput.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * $Id: ED_numinput.h 27655 2010-03-22 09:30:00Z campbellbarton $
3
 
 *
 
1
/*
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
22
20
 * ***** END GPL LICENSE BLOCK *****
23
21
 */
24
22
 
25
 
#ifndef ED_NUMINPUT_H
26
 
#define ED_NUMINPUT_H
27
 
 
 
23
/** \file ED_numinput.h
 
24
 *  \ingroup editors
 
25
 */
 
26
 
 
27
#ifndef __ED_NUMINPUT_H__
 
28
#define __ED_NUMINPUT_H__
 
29
 
 
30
 
 
31
/*
 
32
 *  The ctrl value has different meaning:
 
33
 *      0           : No value has been typed
 
34
 *
 
35
 *      otherwise, |value| - 1 is where the cursor is located after the period
 
36
 *      Positive    : number is positive
 
37
 *      Negative    : number is negative
 
38
 */
28
39
 
29
40
typedef struct NumInput {
30
41
        short  idx;
34
45
        float  val[3];      /* Direct value of the input                                                      */
35
46
        int    ctrl[3];     /* Control to indicate what to do with the numbers that are typed                 */
36
47
        float  increment;
37
 
} NumInput ;
 
48
} NumInput;
38
49
 
39
50
/* NUMINPUT FLAGS */
40
51
#define NUM_NULL_ONE            2