Page MenuHome

Cleanup: interface_panel.c: Renaming, comment formatting, some cleanup
AbandonedPublic

Authored by Hans Goudey (HooglyBoogly) on Jul 14 2020, 5:33 PM.

Details

Summary

Mostly this is just renaming of functions for consistency and comment formatting.
Doxygen sections are also added.

For renaming:

  • Removed ui_ prefix for static functions
  • Reordered some of the words in function names to make larger concepts come first, aligning with the style elsewhere
  • Clarified some names like ui_do_drag

In a case or two I lowered the scope of some variable declarations. More of that should probably be done.

I didn't do any reordering of functions because it makes the patch too messy.

As far as I know there are no pending patches in this area, only the property-search-ui branch that I've been working on. So this is a safe change.

Diff Detail

Repository
rB Blender
Branch
interface-panel-cleanup (branched from master)
Build Status
Buildable 9492
Build 9492: arc lint + arc unit

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Jul 14 2020, 5:33 PM
Hans Goudey (HooglyBoogly) created this revision.

Wrong diff uploaded by mistake

  • Correct the diff after mistake
  • Merge branch 'master' into interface-panel-cleanup
Hans Goudey (HooglyBoogly) planned changes to this revision.Aug 17 2020, 11:29 PM

I'll revisit this after D8601 is committed.