Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Changing the exterior color of the main window
Changing the exterior color of the main window
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Mon Mar 28, 2005 10:46 am    Post subject: Changing the exterior color of the main window

Ed and Pat, How hard is it to change the dark grey color that dominates the window color? I was thinking of changing it to match the color of the highlight blue that is used in Aqua when a menu item is hilighted to see how that would look. This blue can be seen here in the NeoOffice/J screenshoots lnks. Or to a lighter shade of grey used in MAC OS X Jaquar menu bar.

http://homepage.mac.com/sardisson/neoj/neoj11aqua_about.jpg
Back to top
Guest
Guest





PostPosted: Mon Mar 28, 2005 12:05 pm    Post subject:

Ok, looks like I posted too soon. So as to not waste Ed and Pat's time, I am currently wading through this:

http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=995&postdays=0&postorder=asc&start=60&sid=3e932230130f1531be18a1b42fbe4c92

But I guess the answer is no, or someone would have already done it. However, if someone could point me in the right direction, I'm willing to play with the colors/code, but if "hardcoded" means impossible, well then, OK. I'll try to be more patient. Some nice mock-ups in the thread link above.
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon Mar 28, 2005 5:15 pm    Post subject:

I think what you want to do can be done (if we're talking the same background color), see NeoOffice/J Appearance Customization in the wiki.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Guest
Guest





PostPosted: Tue Mar 29, 2005 7:48 am    Post subject:

Thanks Smokey.

I looked around last night in the files in ~/Lib/NeoOfficeJ with HexEdit and saw the key colors are the menu bar and other "bars" (i.e. Navigation, Objects, Tool, Main, etc.) and window background color Dark Grey 8-bit actual = 192 for all 3 (R-G-B) values= C0C0C0 and the dark blue menu hilighting as 8-bit actual = 0 0 128 --> 8-bit hex 00 00 80, R-G-B.

Wanted to do selective surgery vs. masectamy though so I'll check out the link. thanks for the lead. Don't know if to change color code values there in the folder above or somewhere else like the Mac OS or Resources folders in the app itself (i.e. after showing package contents).

Does look daunting for a dabbler...
Back to top
jakeOSX
Ninja
Ninja


Joined: Aug 12, 2003
Posts: 1373

PostPosted: Tue Mar 29, 2005 8:21 am    Post subject:

so if i had broadband atm i would have tried this first.. but..

seems to me that if you downloaded the oo.o code and did a search (yes i know that is through a lot of code) for the color codes of the program that finding which files dictate them should be fairly easy to locate.

then again, i am just talking off my head here too.

Anyway, the problem being that since (if?) these are hardcoded, it would be another file added to the neo build...

and as another resource, i suppose we could always ask on the oo.o forums.

that being said, if that lib file actually affects the color of the program, it might be a quick hack.

-j, who will have time again soon, i swear
Back to top
Guest
Guest





PostPosted: Tue Mar 29, 2005 10:01 am    Post subject:

Jake said:

"that being said, if that lib file actually affects the color of the program, it might be a quick hack"

Exactly, easier to harder is the way I like to go. Something tells me though it's not that simple editng those files in that directory or someone would have surely done it by now (but once I check out the link that may be exactly what it is but to a lesser extent).

And just to clarify, the "Lib" I cited above stands for "Library" folder. (it appears to be Preference folder of files for the app itself as opposed to in the System Preferences .plist/prefs file folder that traditional Mac apps use, but I understand since its a windows port)
Not sure why its not in Applications Support Folder.

Many of the files in folder(s) in the ~/Library/NeoOficeJ folder are files ending in .soc., .soh, .sop, etc.(i.e. web.soc) A common trait in those files is the term "color-table" near the beginning of the file and at the end of the file. Maybe these files are for the icons? I dunno.

There are also many, many .dylb files (Unixy type?) with file name beginning with "lib"-rest_of_file_name.dylb but I hope I don't have to change all those in the Mac OS and Resources folders.

Gonna try that link first in the thread 2 above so at least the Windoze look is improved but then also, with time, plan to play with a copy of those other files to see what affect it has.

This should hold a lot of people over until the official NeoOfficeJ GUI facelift that Ed and Dan are working on where the colors are actually able to be replaced with the fancy Aqua color/combos(i.e. that create the striped effect) or pictures? for menu and other "bar" and window backgrounds in the app.

I'd like to retire early and go work for Apple as a second career but alas, 1) they won't let me without penalty and 2) I'm on the right coast. (satellite office maybe?)
Back to top
jakeOSX
Ninja
Ninja


Joined: Aug 12, 2003
Posts: 1373

PostPosted: Tue Mar 29, 2005 10:34 am    Post subject:

the link is for the background on the window, not the background for the toolbars, etc. it does help, btw.

i think simply changing the toolbars to white would make it appear much more mac like, even if the icons stay the same (though we have a team working on that Shocked )

i'd like to work for apple too, but only if i can be director of using-apple's-programmers-to-make-the-world-safe-for-democracy, or something like that.
Back to top
Guest
Guest





PostPosted: Tue Mar 29, 2005 12:30 pm    Post subject:

OK, thanks for your input. Time to play.

And I have a confession to make, even though I've been using NOJ 0.7 for a while sparingly, when I have to open those .doc files, I normally go the X11 route and OO_o since it launches and runs SOOOOOOOO much faster on the 800Mhz iMac with only 256MB RAM running OS X 10.2.3 or the OS X native AbiWord (of course that can't open the .xls files).
Back to top
jakeOSX
Ninja
Ninja


Joined: Aug 12, 2003
Posts: 1373

PostPosted: Tue Mar 29, 2005 1:01 pm    Post subject:

0.7!
=)
well, there have been speed improvements since then, i'd suggest the 1.1 beta.
Back to top
Guest
Guest





PostPosted: Tue Mar 29, 2005 1:56 pm    Post subject:

Hey, I happen to really like the old brown ship icon!!!!!!

Even though I sometimes go, "Hey, now why did I go tinker with that and hose my system again, I should know better by now" I'm normally an "If it ain't broke, dont fix it" kinda guy. I measure what I'm missing by not upgrading vs. hassles caused by some upgrades. Not talking NOJ here, but more OS X. I'm sure 1.1 beta would run much faster. I'm content where I am, got a real stable install with lots of tweaks to simulate the newer OS. Can't emulate speed I guess, however so I should consider upgrading and more importantly, adding RAM, but when Tiger comes out, will probably get a new iBook and leave the iMac alone.

OK, but enough of this, back to (some) real work!
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Tue Mar 29, 2005 3:23 pm    Post subject:

Guest wrote:
Hey, I happen to really like the old brown ship icon!!!!!!


If you can tinker that well, I'm sure you can put the old ship back in the 1.1Beta. And really, it is worth the upgrade, if only for bugs fixes and ease of use.

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
Guest
Guest





PostPosted: Wed Mar 30, 2005 7:59 am    Post subject:

Well, after seeing the results of this

<a href="http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1209&sid=41b1549fac59535968a88ddbf80a2c23">NeoOfficeC_Thread</a>

I realize how late to the game I am and how trivial my tinkering just is. Looks like the X look is well under control. Surprised it was unstable however. I thought the days of crashing Classic were over with the sweet OS X goodness. ; ) Not complaining, I use both (sorry linux and others) and OS X is the best in the world right now.

Got nowhere last night except for a little experiment where I changed the Light Gray="#c0c0c0" code to "#e6e6ff" (Blue Gray) in the "standard.soc" file in the users folder in Contents folder of the app itself and after relauncing the Light Gray square in the color table in the color table under the Tools --> Options --> NeoOfiiceJ ---> color was now Blue Gray instead of Light gray (Standard windows gray color of the main window).

How to get from this to actually having it change the default window color I have no clue. Tinkered with the color table setting in the color option and got nowhere.

Btw, ver. 0.7 doesn't have the "Appearance" option listed in the appearance link above (Tools --> Options --> NeoOfiiceJ) so I could not change the window color to Gray 10% using that method. Tried the stated method above instead. I did change the font from Arial to Lucinde Grande but either it didn't stick after I clicked on the green checkmark and relaunched or I just can't tell the difference.

And you're right about changing the ship icon back. In fact, it's the only icon showing in the resources folder as an .ico(n)? file.

Looks like I'm wasing my time since the Aqua GUI project is moving so all is good.
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed Mar 30, 2005 9:01 am    Post subject:

Guest wrote:
Well, after seeing the results of this

<a href="http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1209">NeoOfficeC_Thread</a>


Hmm, apparently HTML is not on.
Code:
[url=http://blah]text[/url]
is the BBCode (clicking on the BBCode link on the reply page will give you more details).

Guest wrote:
I realize how late to the game I am and how trivial my tinkering just is. Looks like the X look is well under control. Surprised it was unstable however.


I thought I had made my caveats clear in the other thread, but recreating that look on top of Neo/J will take a considerable amount of work and time. So every little bit of short-term hacking does help.

Guest wrote:
How to get from this to actually having it change the default window color I have no clue. Tinkered with the color table setting in the color option and got nowhere.

Btw, ver. 0.7 doesn't have the "Appearance" option listed in the appearance link above (Tools --> Options --> NeoOfiiceJ) so I could not change the window color to Gray 10% using that method. Tried the stated method above instead. I did change the font from Arial to Lucinde Grande but either it didn't stick after I clicked on the green checkmark and relaunched or I just can't tell the difference.


Things changed a great deal between 0.7/0.8 and 1.1, so that might be the source of the color problem. That definitely the case with the font; you still had to replace "Andale Sans UI" in 0.7/0.8.

Guest wrote:
And you're right about changing the ship icon back. In fact, it's the only icon showing in the resources folder as an .ico(n)? file.


Wow, that's right. Document icons came in 0.8. What heady days those were!

Guest wrote:
Looks like I'm wasing my time since the Aqua GUI project is moving so all is good.


They may be moving, but it will take a while before we get all the way there Smile All efforts are useful and welcome--but perhaps you'd better update to 1.1 Beta first Very Happy

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Guest
Guest





PostPosted: Wed Mar 30, 2005 9:55 am    Post subject:

"Hmm, apparently HTML is not on.
Code:

text is the BBCode (clicking on the BBCode link on the reply page will give you more details). "

Oops. Sorry about that. Yeah, it does say it's on but maybe it's just my browser. Even though I'm forced to use the beige box in my other life, I minimize usage of the blue e.Thanks for the proper BBCode formatting tip.

How's this?

NeoOfficeC_Thread

"Things changed a great deal between 0.7/0.8 and 1.1, so that might be the source of the color problem. That definitely the case with the font; you still had to replace "Andale Sans UI" in 0.7/0.8."

OK. Thanks for clearing that one up. I'll change it properly tonight. Tough to change it from Arial if I was never looking at it in the first place! hehe

Looks like I won't be much help until I upgrade but I'll keep play'in anyway. I've been reading the archives and will try some of the speed/usage tips for the old dog ver. 0.7 about Memory settings, blank template docs in the Dock and on the Desktop and keeping a help window open so closing the last doc doesn't shut the app down avoiding having to relaunch and fall asleep, but the normal "help" app in Jag *shudder" makes anything look fast! ; ) so hope Neo help doesn't run through that.

Really, once Neo is open it's not much slower than X11 OO_o except for the drop down menus that are white first and then gray but I read up on why that is.I had discovered the work around for the blank windows not redrawing again until active a while ago on my own. When in doubt I tend to just start clicking everywhere even though that's potentially very dangerous!

Not having to relaunch is nice but didn't realize what a CPU hog Neo is but agian it's better I'm sure in 1.1b.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Mar 30, 2005 10:30 am    Post subject:

Guest wrote:
Not having to relaunch is nice but didn't realize what a CPU hog Neo is but agian it's better I'm sure in 1.1b.


Of course it is. That bug was fixed over a year ago. The difference between Neo/J 0.7 and 1.1 Beta is about 1500 hours worth of bug fixing.

I understand your logic about not upgrading, but I think you are assuming that Neo/J is a corporate product that is well tested before release. Instead, Neo/J is done entirely by volunteers which means that no code is really tested until it is released. In essence, the code is tested by people like you.

When people don't try to keep up with the bug fixes and then report new bugs, I can almost guarantee that their bugs will never get fixed.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.