X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: [geda-user] pcb: Some visual love for the layer groups dialogue Date: Thu, 01 Oct 2015 00:14:15 +0200 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 53 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 130.75.102.197 User-Agent: KNode/4.14.10 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8UMEQvQ002082 Reply-To: geda-user AT delorie DOT com On bug sprint day I decided to go for a tiny little improvement in the GUI of pcb: In the current release the dialogue File->Preferences->Layers->Groups presents the "bottom side" above the "top side". Turned out, changing the order is a result of the way layers are internally managed in pcb. "top side" and "bottom side" are aliases for the two silk layers on top and bottom. The dialogue simply does a for loop over all layers including silk. The top silk layer is hard coded to be the last in the layer stack. And bottom silk is the last but one. So bottom gets rendered below top. With some special casing I was able to swap the order in the display. While at it, I also touched the way the radio buttons are rendered. Some GTK themes like to make hard to spot the difference between pressed and default state of radio buttons with text. Unfortunately, this includes themes which are installed by major distributions like Ubuntu. However, the on-state of radio buttons without text is clearly visible in all half way decent GTK theme. So I tried to use this variant. See this screen shot before/after for the theme MurrinaCream: http://bibo.iqo.uni-hannover.de/index.html/lib/exe/detail.php?id=wiki%3Aspielwiese&media=wiki:spielwiese:layer_group_dialogue_before_after.png ---<)kaimartin(>--- PS: I first tried to attach the screenshot to the mail. Apparently it did not go through. Probably because of size constrictions. What is the limit? -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get