Blender Git Commit Log

Git Commits -> Revision ab407f6

Revision ab407f6 by Ton Roosendaal (master)
May 24, 2009, 13:29 (GMT)
2.5

First version of region-scaling. WIP commit, so bear with me a while!

- All fixed sized regions have a small 'drag' widget, on the left or top.
(not yet for free-sized regions, like 4-split).
- Mouse-over on widget changes cursor and allows drag.
- Click on widget hides/reveals.
- Fun for test; 3d view header, if high enough, draws more rows of
buttons when width is too small.

The WIP stuff;
- It doesn't save yet in files, using the "minsize" variable of region
definitions, also means other similar areas show same sizes now.
- Definitions for pref size, min/max will be added.
- Properties panel in Fcurve window draws widget on wrong place when
hidden (subdiv system needs tweak)
- Widgets don't draw perfect yet, also needs further tweaks.

But, in general it's quite fun and usable. :) Many variatians are possible,
like for real tabs, or little icons, or just click-drag on edge.

The reason to first try the widget/tab variation:
- it re-uses the "Area Action Zone" code, widgets for layouting Screens
- it's visible, hotkey-only options for screen layouts are not preferred.
- distinguish clearly area-edges from region-edges this way. Having the
cursor change shape on every edge (and block input) is probably annoying
too... but that can be tested.

Later more!

Commit Details:

Full Hash: ab407f6ac748225386c5f09685490d6df67916f8
SVN Revision: 20379
Parent Commit: ef01c5b
Lines Changed: +504, -150

9 Modified Paths:

/source/blender/blenlib/BLI_arithb.h (+1, -1) (Diff)
/source/blender/blenlib/intern/arithb.c (+16, -0) (Diff)
/source/blender/blenlib/intern/rct.c (+33, -8) (Diff)
/source/blender/editors/include/ED_screen_types.h (+10, -17) (Diff)
/source/blender/editors/screen/area.c (+179, -41) (Diff)
/source/blender/editors/screen/screen_edit.c (+10, -2) (Diff)
/source/blender/editors/screen/screen_ops.c (+208, -48) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+44, -32) (Diff)
/source/blender/windowmanager/wm_event_types.h (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021