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
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-02Fix for collapse ignoring pinned panelsCampbell Barton
2014-02-24Fix T38810: ctrl + click panel collapse not taking tabs into account.Brecht Van Lommel
2014-02-22Fix T38348: Panel remains scrolled when switching tabsCampbell Barton
2014-02-21Fix own error - tab scrolling mixed up region/window coordsCampbell Barton
2014-02-17UI: wheel switches tabs over the tab area, or ctrl+wheel anywhereCampbell Barton
2014-02-10UI: panel tabs, use simple color interpolation that ignores alphaCampbell Barton
2014-02-08UI: support for alpha tab backgroundCampbell Barton
2014-02-05Fix T38478: pin panel, then ctrl+click to collapse others incorrectly ↵Brecht Van Lommel
unpinned panels.
2014-01-23Make Tab Divider interopolate between the region background and tab outline.Jonathan Williamson
Previously the divider was using the region background and the region text, leading to bad outlines with custom themes. This makes the outline behave more expectedly and allows better control.
2014-01-23Tab theme colorsCampbell Barton
patch D234 from Jonathan Williamson with edits - de-duplicate rna_def_userdef_theme_space_gradient and rna_def_userdef_theme_space_generic - ui_theme_init_new_do now always sets theme settings (no need to test), used by bpy.ops.ui.reset_default_theme()
2014-01-15Fix for mistake in recent shadow addition in tabsCampbell Barton
2014-01-15Fix T38207: Tab scale jitters when resizing regionCampbell Barton
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
2014-01-14Fix for icon pin drawing too large when (U.pixelsize != 1)Campbell Barton
2014-01-14Code Cleanup: minor edits to recent commitCampbell Barton
2014-01-14Missed a comment on last commit.Jonathan Williamson
This was missed in the previous commit. Adding back for future readability. Thanks @campbellbarton for spotting it.
2014-01-14Make Toolbar Tabs more readableJonathan Williamson
This makes the tabs slightly larger, increases the text size slightly, and adjusts the colors a bit to improve overall contrast. It also makes inactive tabs draw with a full tab shape, improving the readability at a glance, particularly when tabs are very small. The users most affected will be those on smaller displays, where previously tabs were very difficult to read. Reviewers: @billrey, @campbellbarton Differential Revision: https://developer.blender.org/D170
2014-01-13Fix T38171: Vertical tabs don't respond to clicks on the left most pixelsCampbell Barton
2014-01-05UI: pin icon was ignoring DPICampbell Barton
2014-01-05UI: Use shift+lmb for toggling panel pinning (not to conflict with MMB ↵Campbell Barton
emulation)
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2014-01-04UI: Fix issue where tab text was too small and closely spacedCampbell Barton
2013-12-18Revert fix for T37705: it's messing up the panel order in another place.Brecht Van Lommel
2013-12-18Fix T37705: texture panel order wrong when switching from cycles to blender ↵Brecht Van Lommel
render.
2013-12-16UI: Tabs categories for panels (D75)Campbell Barton
- works by defining panel categories, currently restricted to the toolbar. - no panels define bl_categories yet, so no user visible changes since tabs only show when there are multiple. - panel pinning is available in rmb menu or alt+lmb.
2013-12-07Code Cleanup: pass rectangles as const in insterface filesCampbell Barton
2013-12-05User Interface: Ctrl+C over a menu copies the py commandCampbell Barton
also use bools rather then ints
2013-12-03Code cleanup: replace rectf_scale with BLI_rctf_scaleCampbell Barton
and add area arg to ui_handler_panel_region
2013-07-15fix for bad lengths being passed to string functions.Campbell Barton
2013-06-24Fix [#35790] Panel Section Arrows Wrong Theme ColorsBastien Montagne
Use TITLE color for the triangle and X (close) "icons" when used.
2013-03-23Code cleanuo:Thomas Dinges
* Remove already commented "use_radiosity" flag from RNA. * Remove some commented exceptions for old 2.4x 3D View preview region. * Remove empty and commented function declarations from 2.4x UI times
2013-03-15Add the possibility to define the translation context for py rna classes ↵Bastien Montagne
(operators, panels and menus). Thanks to Campell and Brecht for the reviews!
2013-02-14Divide by 3 instead of multiplying by variations of 0.333Sergej Reich
Fixes small precision problems.
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-02-01code cleanup: make wmEvent's 'const' in interface code (reduces manual ↵Campbell Barton
checking that they are not modified).
2013-01-28Fix for a nasty glicth found by Irie Shinsuke in Freestyle branch.Bastien Montagne
Headerless panels are not supposed to be closed ever. But if user saves a blend with a stardard panel closed, then dev decides to make this panel headerless, when user open again its blend, the panel is closed and has no more header, so it becomes invisible! This commit simply checks, at draw time, that a headerless panel is never closed (and repoen it if necessary)!
2013-01-21code cleanup: style & warnings.Campbell Barton
2013-01-20removed extraneous glEnable(GL_BLEND)/glDisable(GL_BLEND) in ↵Jason Wilkins
ui_draw_aligned_panel
2013-01-11Bug fix #33826Ton Roosendaal
Post 2.65a issue Now scrollbars appear/disappear correctly, a bug in checking if mouse clicks where on panel headers popped up. That disabled using scrollers next to a panel header.
2013-01-09remove uiPanelClearType(), instead redraw all windows when ↵Campbell Barton
registering/unregistering.
2013-01-09avoid having dangling panel pointers in the interface, unregistering addons ↵Campbell Barton
could leave the interface pointing to freed memory.
2012-12-26Region scrollbar fix!Ton Roosendaal
Now scrollbars correctly hide and show, making space for the actual contents in a region. It solves several old hacks, and puts view2d code a bit more back in control as well. Implementation notes: - The view2d mask feature is working again - The #define V2D_SCROLL_HORIZONTAL_HIDE means: "turn on hiding". - Code for UI_view2d_region_reinit() is enforcing better standard view settings But... two hack/patches needed to be added: - Region panel drawing: if after generating the button panels it appears a scroller hides or reveils, it calls all the generating code again. (a simple scale doesn't work due to rounding differences in layout code) - View2d code that maps 'tot' and 'cur' rects: if this code detects that the mask changes, it calcs the map code again. Also a bugfix (issue in 2.65) - The left/bottom area split widget was drawing 1 pixel too large sometimes, leaving bad trails on moving area dividers.
2012-12-20UI fixes, from the todo:Ton Roosendaal
- Button panel animation didn't work for 3D View properties and similar regions. - Akey on View3d overlapping panel: was accidentally passed on as event to the main window.
2012-12-20Restored old hack to open/close panels on A-key.Ton Roosendaal
Notes in code: - This has to become a decent handler - Actually "A" should open/close all? Currently, Enter key does open/close too, but only on headers. This because Enter on a button gets handled by buttons... that's why the Akey was proposed :)
2012-12-20style cleanupCampbell Barton
2012-12-18Fixes for ctrl+click on panel header:Brecht Van Lommel
* It collapsed panels in other tabs too * Ctrl + click next to the panel header still caused panels do be collapsed * Ctrl + Return over panel header now works as well
2012-12-15Finished themes for transparent Button regions in Blender.Ton Roosendaal
Notes and image: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability - now each editor has own settings for "show panel header" and "show panel background", and colors+alpha for this. - this setting used to be global for all editors, but it can conflict with looks of specific editors. - Now you can set for editors to show panels with a 100% transparent tool/properties region. Note: read XML theme files now might get an error, Campbell will fix.
2012-12-13Only LMB clicks in Panel should return "handled" - it accidentally returned ↵Ton Roosendaal
it for mousewheel too. Previous commit made scrolling in button regions not work.
2012-12-13Bug fix:Ton Roosendaal
- Code for detecting "click inside button panel" was convoluted and detected wrong panels even when they were closed. - Any click inside panels now return "Event Handled", that will prevent events being passed on in case of overlapping or transparent button panels. This is ancient code, will be in on my attention list for further cleaning.