#12532: wxAuiDefaultDockArt does not update the caption buttons

0 views
Skip to first unread message

wxTrac

unread,
Sep 30, 2010, 4:56:47 PM9/30/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532>

#12532: wxAuiDefaultDockArt does not update the caption buttons
---------------------------+------------------------------------------------
Reporter: DFileccia | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxAui | Version: 2.9.1
Keywords: wxAui,DockArt | Blockedby:
Patch: 0 | Blocking:
---------------------------+------------------------------------------------
wxAuiDefaultDockArt does not recreate the bitmaps when
wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR or
wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR are set via SetColour.

This can be remedied by making an InitDefaults routine and calling when
metrics, colors, or fonts are changed.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532>

wxTrac

unread,
Sep 30, 2010, 6:00:55 PM9/30/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:1>

#12532: wxAuiDefaultDockArt does not update the caption buttons
---------------------------+------------------------------------------------
Reporter: DFileccia | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxAui | Version: 2.9.1
Keywords: wxAui,DockArt | Blockedby:

Patch: 1 | Blocking:
---------------------------+------------------------------------------------
Changes (by DFileccia):

* patch: 0 => 1

--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:1>

wxTrac

unread,
Nov 29, 2010, 11:17:43 AM11/29/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:3>

#12532: wxAuiDefaultDockArt does not update the caption buttons and duplicates
wxColour functionality
------------------------+---------------------------------------------------
Reporter: DFileccia | Owner:
Type: defect | Status: reopened
Priority: low | Milestone:
Component: wxAui | Version: 2.9.1
Resolution: | Keywords: wxAui,DockArt
Blockedby: | Patch: 1
Blocking: |
------------------------+---------------------------------------------------
Changes (by DFileccia):

* priority: normal => low
* status: closed => reopened
* resolution: fixed =>


Comment:

Re opened with low priority. The code is in the patch.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:3>

wxTrac

unread,
Nov 29, 2010, 11:15:16 AM11/29/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:2>

#12532: wxAuiDefaultDockArt does not update the caption buttons and duplicates
wxColour functionality
------------------------+---------------------------------------------------

Reporter: DFileccia | Owner:
Type: defect | Status: closed

Priority: normal | Milestone:
Component: wxAui | Version: 2.9.1

Resolution: fixed | Keywords: wxAui,DockArt


Blockedby: | Patch: 1
Blocking: |
------------------------+---------------------------------------------------
Changes (by DFileccia):

* status: new => closed
* resolution: => fixed


Comment:

I have removed the wxAuiStepColour and wxAuiBlendColour from the wxAUI
build. This functionality duplicates the ChangeLightness and AlphaBlend
in wxColour.

I have also moved the creation of bitmaps into InitBitmaps so when colors
change, the bitmaps will also update for the appropriate color.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:2>

wxTrac

unread,
Dec 2, 2010, 3:44:08 PM12/2/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:4>

#12532: wxAuiDefaultDockArt does not update the caption buttons and duplicates
wxColour functionality
------------------------+---------------------------------------------------

Reporter: DFileccia | Owner:
Type: defect | Status: closed
Priority: low | Milestone: 2.9.2

Component: wxAui | Version: 2.9.1
Resolution: fixed | Keywords: wxAui,DockArt
Blockedby: | Patch: 1
Blocking: |
------------------------+---------------------------------------------------
Changes (by DFileccia):

* status: reopened => closed
* resolution: => fixed
* milestone: => 2.9.2

--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:4>

wxTrac

unread,
Dec 2, 2010, 3:46:42 PM12/2/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:5>

#12532: wxAuiDefaultDockArt does not update the caption buttons and duplicates
wxColour functionality
------------------------+---------------------------------------------------

Reporter: DFileccia | Owner:
Type: defect | Status: reopened

Priority: low | Milestone: 2.9.2
Component: wxAui | Version: 2.9.1

Resolution: | Keywords: wxAui,DockArt


Blockedby: | Patch: 1
Blocking: |
------------------------+---------------------------------------------------
Changes (by DFileccia):

* status: closed => reopened
* resolution: fixed =>


Comment:

I might have accidentally closed this!


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:5>

wxTrac

unread,
Dec 3, 2010, 7:40:24 AM12/3/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:6>

#12532: wxAuiDefaultDockArt does not update the caption buttons and duplicates
wxColour functionality
------------------------+---------------------------------------------------

Reporter: DFileccia | Owner:

Type: defect | Status: reopened
Priority: low | Milestone: 2.9.2
Component: wxAui | Version: 2.9.1
Resolution: | Keywords: wxAui,DockArt
Blockedby: | Patch: 1
Blocking: |
------------------------+---------------------------------------------------

Comment(by VZ):

(In [66312]) No changes, just clean up duplicate colour functions in
wxAUI.

Reuse wxcolour::AlphaBlend() and ChangeLightness() methods instead of
duplicating them in wxAUI-specific wxAui{Blend,Step}Colour().

See #12532.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:6>

wxTrac

unread,
Dec 3, 2010, 7:40:29 AM12/3/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:7>

#12532: wxAuiDefaultDockArt does not update the caption buttons and duplicates
wxColour functionality
------------------------+---------------------------------------------------

Reporter: DFileccia | Owner:
Type: defect | Status: closed

Priority: low | Milestone: 2.9.2
Component: wxAui | Version: 2.9.1

Resolution: fixed | Keywords: wxAui,DockArt


Blockedby: | Patch: 1
Blocking: |
------------------------+---------------------------------------------------

Changes (by VZ):

* status: reopened => closed
* resolution: => fixed


Comment:

(In [66313]) Update AUI bitmaps when its colours change.

Extract the bitmaps initialization in wxAuiDefaultDockArt::InitBitmaps()
and
call it from SetColour() to ensure that the bitmaps are updated when the
colour scheme changes.

Closes #12532.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12532#comment:7>

Reply all
Reply to author
Forward
0 new messages