Opened 22 months ago

Last modified 22 months ago

#14830 new enhancement

wxAuiToolBar native appearance using wxRenderer

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

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 (2)

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

Download all attachments as: .zip

Change History (4)

Changed 22 months ago by RedTide

wxGTK2 appearance (LXDE)

Changed 22 months ago by RedTide

wxGTK3 appearance (Gnome Shell, Ubuntu 12.10)

comment:1 follow-up: Changed 22 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

comment:2 in reply to: ↑ 1 Changed 22 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.