aa0aa73703
NDOF: default to turntable (blenders default too)
2014-02-17 22:04:26 +11:00
c971aac3b1
UI: wheel switches tabs over the tab area, or ctrl+wheel anywhere
2014-02-17 13:46:07 +11:00
2413b444d0
Fix T38640: password values showed in tooltips
...
also disable copying password text.
2014-02-15 12:06:46 +11:00
01d9bbaa5e
Code cleanup: remove more string encoded menu functions
2014-02-15 11:37:33 +11:00
80e21f6fc5
Code clearnup: warnings
2014-02-14 22:03:09 +11:00
6ee9d1b69d
error in recent commit
2014-02-13 10:13:33 +11:00
b61c6e0f4f
UI: remove unused freestr
2014-02-13 09:49:00 +11:00
4c21e2b382
UI: split ui_popup_menu_memory into get/set functions and store as uint
2014-02-13 09:37:28 +11:00
d4c87f2f79
Code cleanup: remove unused button aspect
2014-02-13 09:37:27 +11:00
9cc380e026
Fix own error in recent commit with red-alert flag becoming stale
2014-02-13 09:12:47 +11:00
aea00c7a81
Code cleanup: style
2014-02-13 08:52:12 +11:00
f9a60ecacd
defaults: disable twoside for startup.blend
2014-02-13 04:53:26 +11:00
13875564a9
Grr, another UI messages fix, forgot this one!
2014-02-12 17:55:47 +01:00
bc41d255cb
NDOF: minor color picker improvements
...
- swap Z/Y axis so Z changes hue and X/Y change location.
this way you can use ndof like a joystick and Z rotation like a dial
for the hue.
- change sensitivity when shift is held to be 1/5th
2014-02-12 21:05:24 +11:00
e2089e1406
NDOF: fix for negative colors and flickering hue when picking with HSVCUBE
2014-02-12 21:05:24 +11:00
bfd0b582ca
fix/workaround for v3d object mode selector flipping direction
...
Allow menu functions to define their own direction, this way
menu_item_enum_opname_menu can keep menu flipping from 2.69.
2014-02-12 10:29:15 +11:00
7e300ed3a1
UI: change to give sliders more text space, messes with alignment
2014-02-12 02:46:43 +11:00
4bf4c4111e
Own recent removal of string encoded menus missed render layers/passes
2014-02-12 00:08:54 +11:00
c046cb80ed
UI: allow clicking to close menus and popups (but not submenus).
2014-02-11 04:23:44 +11:00
d2b5f0f6c2
UI: fix own error, dont add slider pad when neither sides align
2014-02-11 03:38:48 +11:00
2f01be2b2f
UI: panel tabs, use simple color interpolation that ignores alpha
2014-02-10 17:06:56 +11:00
3432f34d05
UI: report if WM_OT_call_menu uses an unknown menu
2014-02-10 14:17:33 +11:00
05dfd852ec
UI: fix for issue in last commit, popups show above the buttons again
2014-02-10 13:44:59 +11:00
35f62bdced
UI: refactor menus to remove menus encoded in strings
...
On every redraw a single unopened dropdown boxe would translate
and convert every EnumPropertyItem into a string,
then decode every item, and search those items to find the name of the button to draw.
Replace this with a custom menu callback for RNA enums,
tooltips for enums now show too.
2014-02-10 13:04:43 +11:00
21b60ea7e1
UI: use RNA for colorband interpolation menu
2014-02-10 13:04:43 +11:00
04db32b698
Code cleanup: fix compiler warning with clang.
2014-02-09 13:56:49 +01:00
b105d2ac7f
UI: replace uiPupMenuOkee & uiPupMenuSaveOver with WM_operator_confirm
2014-02-09 12:32:20 +11:00
873f901e5a
UI: improve reports popup
...
- use labels rather then menu items (items selected but did nothing)
- each report gets its own icon (icons besides first were ignored)
- use uiPupMenu rather then string based menu.
2014-02-09 12:00:03 +11:00
52f080604b
Code cleanup: remove unused menu functions
2014-02-09 11:25:32 +11:00
385c892418
UI: use proportional option while dragging buttons
2014-02-09 08:42:45 +11:00
3276b83fda
UI: support for alpha tab background
2014-02-09 01:39:09 +11:00
127330d6ca
UI: multi-drag number button editing
...
clicking and dragging down edits multiple number buttons at once. (patch D270)
2014-02-08 09:42:26 +11:00
ff0ceb9926
UI: split ui_button_execute_do into begin/end
2014-02-08 09:42:26 +11:00
2dafd1bfb8
UI: butstore API to generalize button storage for modal handlers
2014-02-08 09:42:26 +11:00
b3afbcab8f
ListBase API: add utility api funcs for clearing and checking empty
2014-02-08 06:24:05 +11:00
83f66a0cd5
UI: avoid O(n2) for old button lookups since both lists are almost always aligned
2014-02-08 02:27:05 +11:00
86df4baef8
Code cleanup: move old->new button search into ui_but_find_old
2014-02-08 01:49:24 +11:00
6135797ec8
Fix for button comparisons ignoring rna-index
2014-02-08 01:34:22 +11:00
e2541f87bc
Fix T38516: crash when using color picker from redo panel.
2014-02-06 18:02:31 +01:00
13780799ea
Fix T38478: pin panel, then ctrl+click to collapse others incorrectly unpinned panels.
2014-02-05 13:40:53 +01:00
fc9626b1df
Change confusing check discovered while working on HCL color wheel:
...
COLOR widgets never get created with UI_GRAD_V_ALT values. This is
intended for HSVCUBE color sliders only so reverting this to old value
before it was substituted with a define, which was -1.
There's one case where COLOR buttons get defined with a1 value different
than -1 which is in ui_def_but_rna. There the step value of the RNA
property is used. However, that meant that if step equaled to 9, which
is UI_GRAD_V_ALT value (unlikely) or if UI_GRAD_V_ALT was changed to 10
in future, or we added check for e.g. UI_GRAD_L_ALT which is 10 in HCL
branch, color widget would not get a color selection menu spawned.
2014-02-05 10:45:14 +02:00
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
fed1b8b16d
Code cleanup: suffix vars to make obvious they are squared
2014-02-03 02:46:45 +11:00
a1a0ebbf49
Code cleanup: use length squared where possible
2014-02-02 02:24:48 +11:00
9598990b9b
UI API: don't use a text label when icon_only is set
2014-01-30 15:28:39 +11:00
95e153a319
Fix T37661: color ramps and curve mapping editing not disabled for linked data.
2014-01-29 19:02:32 +01:00
9612433884
UI: minor optimization for button lookup, break early when button found
...
also reduce int/float conversion
2014-01-29 23:05:32 +11:00
39eb314cb9
UI: Refactor timecode functions into BLI_timecode
...
- deduplicate timecode_simple_string from image.c
- replace V2D_UNIT_SECONDSSEQ with V2D_UNIT_SECONDS
- avoid possible buffer overflow bugs (sprintf -> BLI_snprintf)
- remove option not to use timecode and split into 2 functions
Patch D227 by Andrew Buttery with own refactoring.
2014-01-29 20:44:01 +11:00
abf18033f3
Fix T38383: glitch drawing inactive slider
2014-01-29 04:10:39 +11:00
a5c35fb27f
Code cleanup: use booleans where appropriate
2014-01-28 04:00:04 +11:00