From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.50.47 with SMTP id y35csp98515yhb; Sat, 5 May 2012 13:16:05 -0700 (PDT) Return-Path: <9front+bncCMnN582LARCFlZb9BBoEgFbHpw@googlegroups.com> Received-SPF: pass (google.com: domain of 9front+bncCMnN582LARCFlZb9BBoEgFbHpw@googlegroups.com designates 10.224.108.66 as permitted sender) client-ip=10.224.108.66; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 9front+bncCMnN582LARCFlZb9BBoEgFbHpw@googlegroups.com designates 10.224.108.66 as permitted sender) smtp.mail=9front+bncCMnN582LARCFlZb9BBoEgFbHpw@googlegroups.com; dkim=pass header.i=9front+bncCMnN582LARCFlZb9BBoEgFbHpw@googlegroups.com Received: from mr.google.com ([10.224.108.66]) by 10.224.108.66 with SMTP id e2mr3684951qap.1.1336248965123 (num_hops = 1); Sat, 05 May 2012 13:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:x-sasl-enc:date:from:to:subject:message-id :in-reply-to:references:x-mailer:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=3UVtqmENY887rVKmKakKWre9nyEp62zhy7Kev2uL61w=; b=jDTM7xCHmCVH5fKAdghA41ZO5MDh0xfS1fuUtM3j71JLFQDXQPXUSw3zpBL5UCev/x /LfCGX30+6M5xWjY8LRI5ld6kepRaynN81C5ECGin3587RLiLuTt5hFi/j0RloIr0+cK s1Ihg7ohIdY8WEufM18Sm3qysgpaFuRvdxd74= Received: by 10.224.108.66 with SMTP id e2mr390529qap.1.1336248965075; Sat, 05 May 2012 13:16:05 -0700 (PDT) X-BeenThere: 9front@googlegroups.com Received: by 10.229.171.168 with SMTP id h40ls76883qcz.3.gmail; Sat, 05 May 2012 13:16:04 -0700 (PDT) Received: by 10.224.217.200 with SMTP id hn8mr3546856qab.4.1336248964794; Sat, 05 May 2012 13:16:04 -0700 (PDT) Received: by 10.224.217.200 with SMTP id hn8mr3546855qab.4.1336248964779; Sat, 05 May 2012 13:16:04 -0700 (PDT) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com. [66.111.4.28]) by gmr-mx.google.com with ESMTPS id c25si4989842qch.2.2012.05.05.13.16.04 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 May 2012 13:16:04 -0700 (PDT) Received-SPF: pass (google.com: domain of eekee57@fastmail.fm designates 66.111.4.28 as permitted sender) client-ip=66.111.4.28; Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 488C2207AD for <9front@googlegroups.com>; Sat, 5 May 2012 16:16:04 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 05 May 2012 16:16:04 -0400 X-Sasl-enc: O6MapLrCpxKL6GcusbWrgj/veRjpjXZfbaOqMsvgGgLT 1336248963 Received: from inari.ethans.dre.am (client-81-105-140-221.lds-bng-012.adsl.virginmedia.net [81.105.140.221]) by mail.messagingengine.com (Postfix) with ESMTPA id B9A2C48249E for <9front@googlegroups.com>; Sat, 5 May 2012 16:16:03 -0400 (EDT) Date: Sat, 5 May 2012 21:16:01 +0100 From: Ethan Grammatikidis To: 9front@googlegroups.com Subject: Re: User interface improvement Message-ID: <20120505211601.2db7b3bd@inari.ethans.dre.am> In-Reply-To: References: <70917779deed704ffde89258f9725e7a@sp.inri.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.9; i486-slackware-linux-gnu) Mime-Version: 1.0 X-Original-Sender: eekee57@fastmail.fm X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of eekee57@fastmail.fm designates 66.111.4.28 as permitted sender) smtp.mail=eekee57@fastmail.fm; dkim=pass header.i=@fastmail.fm Reply-To: 9front@googlegroups.com Precedence: list Mailing-list: list 9front@googlegroups.com; contact 9front+owners@googlegroups.com List-ID: <9front.googlegroups.com> X-Google-Group-Id: 831096995978 List-Post: , List-Help: , List-Archive: Sender: 9front@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 5 May 2012 23:24:46 +0400 suharik wrote: > > Look in /sys/src/cmd/rio/wind.c > I found nothing there that able to change rio background. > --- > http://anonymousdelivers.us/uploads/2beed07b3043395562c06c5ba8c6777b.png/6904485.png > I'm going to make picrelated-like color scheme for the first time. Background is set in the last function of data.c. This is from my lavender rio: void iconinit(void) { background = allocimage(display, Rect(0,0,1,1), RGB24, 1, 0x787580FF); red = allocimage(display, Rect(0,0,1,1), RGB24, 1, 0x9988CCFF); } ---- The top of wind.c from my same lavender scheme: Window* wmk(Image *i, Mousectl *mc, Channel *ck, Channel *cctl, int scrolling) { Window *w; Rectangle r; if(cols[0] == nil){ /* greys are multiples of 0x11111100+0xFF, 14* being palest */ grey = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xEEEEEEFF); darkgrey = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x333333FF); cols[BACK] = display->white; cols[HIGH] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xCCCCCCFF); cols[BORD] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x999999FF); cols[TEXT] = display->black; cols[HTEXT] = display->black; titlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x9988CCFF); lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xEFEAFFFF); holdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DMedblue); lightholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DGreyblue); paleholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPalegreyblue); } ---- Note all the CMAP8 should really be CMAP24 on a modern machine. Even the original green looks better with that change. Apologies for the lack of a patch, that's from a pretty old version of rio & I don't want to muck about with the other changes. I never bothered finding where to change the menu colors, I think they might be set in libpanel; not sure.