Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-30UI: add use_button option to popoversCampbell Barton
This is useful when popovers are launched from operators instead of as button popover types. Where the connection between the button and the popover is useful to keep.
2019-07-16Cleanup: typos in commentsCampbell Barton
2019-05-14Interface: Free argument callback for popupsJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4858
2019-04-29Fix T63898: "Open on Mouse Over" causes inconsistent draw-styleCampbell Barton
2019-04-19UI: move top-bar into the spaces headerCampbell Barton
Currently this is only in the 3D viewport however all spaces that use the tool-system will have this region added. D4680 by @brecht with own updates.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-09Cleanup: styleCampbell Barton
2019-04-05Interface: New region type 'Footer', used by text editorGeorge Vogiatzis
* It can be hidden by dragging it up/down. * It can be at the top or bottom, independent of the header. * It uses the color theme from the header. * It does not change its color, when the area becomes active. Currently, it is used in the text editor to display the file path. Differential Revision: https://developer.blender.org/D4601
2019-03-25Cleanup: use braces for interface codeCampbell Barton
2019-03-20UI: support for popups starting with buttons activatedCampbell Barton
While this could already be done from C, this is now exposed to Python
2019-03-20UI: center floating popoversCampbell Barton
Tweak placement so useful items are more likely to be nearby, centering horizontally and align vertically to the first button.
2019-03-18Fix color ramp eyedropper menu itemCampbell Barton
This couldn't be accessed because the poll function was checking the active button. Add a "color_ramp" context pointer which is set by the menu. Alternative fix to D3984
2019-03-13Fix T62524: Popover w/ keep-open moves on cursor motionCampbell Barton
2019-03-13Cleanup: rename uiBlock.mx,my to bounds_offsetCampbell Barton
Use a name that related to block bounds calculation (mx/my are typically used for mouse x,y).
2019-02-20Cleanup: rename keymap handler callbacks for clarityCampbell Barton
Now there are two callbacks, the name 'keymap_callback' is too vague.
2019-02-19WM: move keymap handler to it's own typeCampbell Barton
Illuminate dead code, using wmEventHandler_KeymapFn from gizmo handler type where it was never set.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-10-11Fix T56898: misaligned icons in buttons in popovers.Brecht Van Lommel
2018-09-11Merge branch 'master' into blender2.8Campbell Barton
2018-08-15Fix T55587: bugs with popovers in collapsed menus, like the timeline header.Brecht Van Lommel
2018-07-13UI: remove space/region from popover argsCampbell Barton
Instead use global panel-type list.
2018-07-03UI: optional ui-unit-width for popoversCampbell Barton
Some popovers don't fit well with the default width, allow panels to adjust as needed.
2018-06-13UI: preset popover buttons in panel headers.Brecht Van Lommel
Moves the preset into a menu for the panel header, so it can be changed without opening the panel and takes up less space. Two remaining issues: * For long lists the add new preset button can be scrolled off screen. * We should support showing the name of the chosen preset in the panel header, but the current preset system does not support detecting which preset is used. Differential Revision: https://developer.blender.org/D3366
2018-06-11Fix: Remove UI_BLOCK_MOVEMOUSE_QUIT from popoversJoshua Leung
This was causing driver editing popovers to just keep disappearing whenever you accidentally moved the mouse away, making the popovers there nearly useless. After testing with the other popovers we have in other places, I don't really see why we needed this flag enabled in the first place. You can still switch between popovers in the topbar by mousing over the others, and if you want to dismiss without clicking to escape, you can go over a standard menu instead OR just move back towards the button that spawned it. Let's just test this out for a while and see how it goes. Maybe we don't need a more invasive solution here...
2018-06-06Cleanup: USE_UI_* prefix for UI definesCampbell Barton
Otherwise there is no quick way to see where this comes from.
2018-05-25UI: popover now only centers on active button onceCampbell Barton
2018-05-25UI: fix event handling directionCampbell Barton
Correct arrow key direction in popovers, also de-duplicate menu callback,
2018-05-25UI: support for a popup panel which stays openCampbell Barton
2018-05-25UI: Move UI_paneltype_draw into layout codeCampbell Barton
No functional changes, needed for persistent popovers.
2018-05-23UI: popup panel operator, as we have for menusCampbell Barton
2018-05-21Error in last commitCampbell Barton
2018-05-20UI: support for custom keymaps for popoversCampbell Barton
2018-05-20UI: locate popover w/ active item under cursorCampbell Barton
Use when popover has no parent, useful for accessing the toolbar.
2018-05-19UI: popover-once (click-drag for single actions)Campbell Barton
Experimental support for using popovers like menus, use this when the user hold the mouse down (previously this did nothing). This means turning frequently accessed menu items into popovers doesn't add more clicks to the existing use case.
2018-05-19UI: Use popover for toolbar popup operatorCampbell Barton
- Currently the popup closes immediately, could be made configurable. - Support exiting popups when their submenu's are accessed.
2018-05-06UI: fix popover menus sometimes going off screen, after recent commit.Brecht Van Lommel
2018-05-06UI: fixes for 3D viewport popovers moving / flipping on edits.Brecht Van Lommel
* Ensure popover does not change direction or location. * Open popover towards the relevant editor, like pulldown menus. * Use a bigger maximum assumed size to deal with some corner cases. * Do proper 3D viewport header refresh on shading mode changes.
2018-04-30Fix some popup menus that don't support it refreshing and crashing.Brecht Van Lommel
2018-04-29UI: don't flip contents of popovers, avoid closing when size changes.Brecht Van Lommel
2018-04-29UI: show popover arrow directly under the buttonCampbell Barton
A visual hint but looks broken when its not pointing to the button.
2018-04-28UI: fix popover menus not refreshing when changing settings.Brecht Van Lommel
2018-04-25UI: use a wider minimum menu widthCampbell Barton
Icon only buttons with menus would be too narrow, especially buttons for selecting tools.
2018-04-23Cleanup: uninitialized variableCampbell Barton
2018-04-23Cleanup: includes & commentsCampbell Barton
2018-04-23UI: draw arrow for popoverCampbell Barton
2018-04-22UI: support for center popovers over buttonsCampbell Barton
2018-04-22UI: popover now use menu style buttonsCampbell Barton
Also scale width with UI-scale.