#7052: Deskbar Style Changes and Refactoring -----------------------------------+--------------------------------- Reporter: jscipione | Owner: tqh Type: enhancement | Status: assigned Priority: normal | Milestone: R1 Component: Applications/Deskbar | Version: R1/Development Resolution: | Keywords: style refactoring Blocked By: | Has a Patch: 1 Platform: All | Blocking: -----------------------------------+--------------------------------- Comment (by jscipione): Thank you for reviewing my patch. I grabbed a pointer to the barView in the constructor because the code to grab the barView was being called many times. This way, the pointer to the barView is gotten just once, and is used several times rather than having to grab the pointer over and over again. DRY -- Ticket URL: <http://dev.haiku-os.org/ticket/7052#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.