Ticket #14830 (new enhancement)

Opened 7 months ago

Last modified 7 months ago

wxAuiToolBar native appearance using wxRenderer

Reported by: RedTide Owned by:
Priority: normal Milestone:
Component: wxGTK Version: 2.9-svn
Keywords: wxAuiToolBar wxRenderer appearance Cc:
Blocked By: Patch: no
Blocking:

Description

I'm working on a patch (actually only for wxGTK2/3, I'll try later on wxMSW too) that give a native appearance to wxAuiToolBar.

The patch adds a DrawGripper(), DrawToolBar(), and DrawToolSeparator() to wxRenderer (where ATM only wxRendererGTK implements them) and some additions to the render sample to demonstrate how it works.

The attached images show my current results:
it can be noticed that in wxGTK3 both grips for the toolbar and pane splitter are not drawn, so I wonder if it is a gtk3 or my Ubuntu 12.10 configuration issue.

I'll appreciate any help/suggestions to improve it, TIA!

Attachments

auibar_native_look_gtk2.png download (92.1 KB) - added by RedTide 7 months ago.
wxGTK2 appearance (LXDE)
auibar_native_look_gtk3.png download (78.7 KB) - added by RedTide 7 months ago.
wxGTK3 appearance (Gnome Shell, Ubuntu 12.10)

Change History

Changed 7 months ago by RedTide

wxGTK2 appearance (LXDE)

Changed 7 months ago by RedTide

wxGTK3 appearance (Gnome Shell, Ubuntu 12.10)

follow-up: ↓ 2   Changed 7 months ago by jens

Hi Andrea,

I can test your patches this evening and give you feedback.
Fedora 17 and probably debian on vm.

Jens

in reply to: ↑ 1   Changed 7 months ago by RedTide

Replying to jens:

Hi Andrea,

I can test your patches this evening and give you feedback.
Fedora 17 and probably debian on vm.

Jens

Thanks, let me know if you have some additional code for it (just back now from work, I haven't the time to fix some issues to my current version)

Note: See TracTickets for help on using tickets.