overdue-scratch

Author Topic: [Implemented] GUI extra graphics for selected device  (Read 102710 times)

0 Members and 3 Guests are viewing this topic.

zef

  • Administrator
  • Posts: 265
Re: [Implemented] GUI extra graphics for selected device
« Reply #255 on: August 19, 2010, 11:36:19 PM »
Hre's a preview showing theme at 1024x600 resolution and new set of theme files attached: r9
EDIT: I have updated the attached theme folder to r9.1 as I changed the devices_iconspacing to increase the gap between the devices.

If you ask me, this is perfect :) Sorry guys, I had a busy day, but on the weekend I can fix the positioning issue.

@Enzo: Can you post some example shots + icons for testing/fixing please? :)

Thx,
zef
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

Enzo

  • Resident
  • Posts: 256
Re: [Implemented] GUI extra graphics for selected device
« Reply #256 on: August 20, 2010, 12:28:43 AM »
Sure thing. Theme is WIP, and I exaggerated the glow to make the difference obvious. Made the background solid black color to better exemplify the issue (and to keep you guessing on the final look maybe?! =P). Attached is the entire theme folder in it's current state (minus the bg of course).

Timeout screen:

As you can see, the glow is pretty extreme, and reaches the top edge of the icon size (pointed out by the arrow).

Options screen:

The glow now doesn't even go past the outer ring/frame of the os icons.

Unofficial preview of this theme? =P
« Last Edit: August 20, 2010, 12:33:35 AM by Enzo »

spalek83

  • Member
  • Posts: 35
Re: [Implemented] GUI extra graphics for selected device
« Reply #257 on: August 20, 2010, 12:57:46 AM »
I have been messing around with the menu and come up with something to combine the logo and menu together. It's a bit 'in your face' and forfeits clean design in favour of functionality but it works at both 1024x768 and 1680x1050.  Oh.. And the missing device_cdrom from the previous files I posted is also in there too :)

Here's a preview and below you'll find a complete theme folder for trials



Shall we go with the logo/menu graphic? or stick with a clean empty page with just device icons, and display the menu when the down arrow is pressed?


That looks awesome. The logo has always been there before, and I've always disabled it. Same with the text in the top left. Since disabling it was always easy...
« Last Edit: August 20, 2010, 01:00:58 AM by spalek83 »
10.7 + Win 7 + Ubuntu
SyncMaster 2433BW ~ GA-P55M-UD4 ~ i7 860 ~ GTS 250 ~ SAMSUNG HD103UJ/1TB

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: [Implemented] GUI extra graphics for selected device
« Reply #258 on: August 20, 2010, 08:30:06 AM »
If you ask me, this is perfect :) Sorry guys, I had a busy day, but on the weekend I can fix the positioning issue.
Yeah. I think the embedded theme can be called pretty final. I have included it in my branch :)
I also spent about 3 hours yesterday trying to get my head around the positioning issue..  But it's not easy as the device in the timeout screen seems to be positioned in the countdown function in options.c, where as the main device selection screen is positioned in the drawDeviceList function in gui.c ?    Using my amateur coding skills, I did manage to bodge the code to get the device icon positioned in the same place on both screens but I need to do more testing etc. as it I'm not happy with what I've done yet.

And on the subject of the differences between the timeout screen and the device selection screen, I have seen it a few times, most recently in my blackosx_switch_theme.  I ended up exaggerating the glow on the devices to get them to appear on the device selection screen, with the side effect of it being to too strong on the timeout screen - the same issue that Enzo has found also. Here's a pic of the drawn device on both screens. And I also notice the font is clearer on the timeout screen.



God, that amazing theme, and also the other not embedded with led, fantastic job blackosx;)
That looks awesome. The logo has always been there before, and I've always disabled it. Same with the text in the top left. Since disabling it was always easy...
Welcome back smith@@ and thanks for yours and spalek83's comment :)
« Last Edit: August 20, 2010, 08:35:59 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: [Implemented] GUI extra graphics for selected device
« Reply #259 on: August 20, 2010, 09:14:21 AM »
Hi guys :) straight to the point...
I like the "embed" version a lot!
Had higher hopes for the "full" one; something doesn't pleases me.. still not sure of what is?!
So, here are some ramblings for embed theme:
- how about a bootprompt like Blackosx has on some of the rollover themes he posted on this topic,
  with the same bgcolor as the Menu? Think it would make a nice contrast, besides making the font more readable
  and being a great "attention caller".
- some shadow on the arrows, maybe?? specially on the device_scroll...
- also, what do you guys think of changing the "boot" bgcolor to the same as the theme? Changing that color
  doesn't seem to work!? I get the feeling i read something about this, some were... any tip?
 
Besides these small considerations, it's case closed to me on the embed theme :)
   
Zef, these are specially for you. Sorry for posting them here, but as they are related to themes or gui...
- themes are taking considerable space from the memory available for the new message logging function; for instance,
  with the Full Default theme i only get half (+-) of the messages logged, even with trunk build.
  With Embed version all messages are stored, plus the "extra" ones i have from AutoResolution patch.
  Also, bdmesg tool compiled under Snow doesn't work on Leo. I think it would be a better idea creating a side project
  for it on the repo, as done with fdisk440?!
- the list of themes you cooked to be included with the trunk; me likes Bullet :(
- another thing; since we're using now -x (Safe Mode) instead of -f, don't you think we should change the menu too?
  to Boot Safe Mode, instead of Boot Ignore Caches... it's just that Safe Mode does a lot more than just ignoring caches.
   
Think that's it, for now...
   
« Last Edit: August 20, 2010, 09:17:07 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

Kabyl

  • VoodooLabs
  • Posts: 158
Re: [Implemented] GUI extra graphics for selected device
« Reply #260 on: August 20, 2010, 10:10:02 AM »
  Also, bdmesg tool compiled under Snow doesn't work on Leo. I think it would be a better idea creating a side project
  for it on the repo, as done with fdisk440?!

I'll try to fix that, but I have no way of testing it.

I didn't want to create a new project for it on the repo, it's such a tiny app.

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: [Implemented] GUI extra graphics for selected device
« Reply #261 on: August 20, 2010, 10:34:17 AM »
Hi guys :) straight to the point...
I like the "embed" version a lot!
Had higher hopes for the "full" one; something doesn't pleases me.. still not sure of what is?!
So, here are some ramblings for embed theme:
- how about a bootprompt like Blackosx has on some of the rollover themes he posted on this topic,
  with the same bgcolor as the Menu? Think it would make a nice contrast, besides making the font more readable
  and being a great "attention caller".
- some shadow on the arrows, maybe?? specially on the device_scroll...
- also, what do you guys think of changing the "boot" bgcolor to the same as the theme? Changing that color
  doesn't seem to work!? I get the feeling i read something about this, some were... any tip?
 
Besides these small considerations, it's case closed to me on the embed theme :)   
Hi Azimuth

• The full 'rendered' theme isn't finished yet, and I might add more in the way of lighting / shadows, but it's down to time at the moment.
• Good point with the bootprompt - I'll make that change to the theme.plist.
• The device_scroll arrows do have shadows on them but they aren't rendered strongly on the device selection screen.. (I guess that's more to do with this issue of the device selection screen rendering the graphics differently to the timeout screen)  But the easy solution here is to make the shadows darker :)
• I haven't thought about the boot bgcolor as I always went with the idea that at that point we've handed over to the OS and it should look Apple like. But having said that, some themes have forced a b/g colour by the way of a full screen-sized boot logo but this is wrong IMO as it takes ages to draw the image. So maybe it can be changed in the code?

So yes, I think we're pretty safe to say that the emebdded theme will be finished once I amend the bootprompt. I'll do that this evening and upload default_embedded_r9.2
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: [Implemented] GUI extra graphics for selected device
« Reply #262 on: August 20, 2010, 11:57:30 AM »
I'll try to fix that, but I have no way of testing it.

I didn't want to create a new project for it on the repo, it's such a tiny app.
Hi Kabyl,

glad you read this :)
Yeah, but it would probably be easier to solve?!
Or (just came to my mind) use the xcodeproj present on Chameleon to build it? linked to 10.5 SDK and only i386 arch.
Why can't you test? if i might ask.. no Leo?

This is just a small matter.. what really worries me is the memory question.

See ya...
« Last Edit: August 21, 2010, 10:35:10 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

zef

  • Administrator
  • Posts: 265
Re: [Implemented] GUI extra graphics for selected device
« Reply #263 on: August 20, 2010, 12:12:58 PM »
   
- themes are taking considerable space from the memory available for the new message logging function; for instance,
  with the Full Default theme i only get half (+-) of the messages logged, even with trunk build.
  With Embed version all messages are stored, plus the "extra" ones i have from AutoResolution patch.
Sorry, I don't get this issue. How do you mean taking considerable memory? The logger allocates 64kB from the zalloc pool, while the zalloc area is 256MB. I don't see how this can effect the amount # of logged messages.

   
- the list of themes you cooked to be included with the trunk; me likes Bullet :(
If Azimutz likes the Bullet theme, then Tarzan keeps Bullet in trunk :)

   
- another thing; since we're using now -x (Safe Mode) instead of -f, don't you think we should change the menu too?
  to Boot Safe Mode, instead of Boot Ignore Caches... it's just that Safe Mode does a lot more than just ignoring caches.
We discussed about the possible regression caused by removing -f (my bad) with Kabyl. It seems that -f still can be useful for prevent loading extension and kernel caches but don't notify the kernel about the booter's covert op ;) So it will be reverted asap.
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

Kabyl

  • VoodooLabs
  • Posts: 158
Re: [Implemented] GUI extra graphics for selected device
« Reply #264 on: August 20, 2010, 12:27:09 PM »
Or (just came to my mind) use the xcodeproj present on Chameleon to build it? linked to 10.5 SDK and only i386 arch.
it uses the Makefile to build it

Quote
Why can't you test? if i might ask.. no Leo?
Yes, I only have Snow Leopard.

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: [Implemented] GUI extra graphics for selected device
« Reply #265 on: August 20, 2010, 02:07:27 PM »
•   The full 'rendered' theme isn't finished yet, and I might add more in   the way of lighting / shadows, but it's down to time at the moment.
I know, that's why i didn't added more input... need to look at it more :)

• Good point with the bootprompt - I'll make that change to the theme.plist.
Nice.. think it fits well.

  •   The device_scroll arrows do have shadows on them but they aren't   rendered strongly on the device selection screen.. (I guess that's more   to do with this issue of the device selection screen rendering the   graphics differently to the timeout screen)  But the easy solution here   is to make the shadows darker :)
 
hum.. i did mentioned the shadows because i noticed the right side one, on that rev with the side logo;
the devices are not centered and the right one overlaps the logo and gets visible, which i found strange as the logo is darker?!
Now i used a white background to check and they're all there, obviously.
With the default background color, i can't see shadow while at countdown either so, i'm not sure if the rendering issue is the problem here!?

  •   I haven't thought about the boot bgcolor as I always went with the idea   that at that point we've handed over to the OS and it should look Apple   like...
 
aah.. i remember now the discussion about this :) Well, i don't really care much about that stuff (it's down to personal taste), was mostly curious about why the key on theme.plist doesn't work.

Yeah, close the case!

p.s.: just found out that Property List Editor doesn't like the & character.
Quote
<string>Blackosx & Enzo</string>
Textmate does signals it with red, was wandering why.
« Last Edit: August 20, 2010, 02:45:11 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: [Implemented] GUI extra graphics for selected device
« Reply #266 on: August 20, 2010, 03:08:56 PM »
Sorry,   I don't get this issue. How do you mean taking considerable memory? The   logger allocates 64kB from the zalloc pool, while the zalloc area is   256MB. I don't see how this can effect the amount # of logged messages.
Neither do i, Zef. All i know for sure is what i explained, don't pay attention to my assumptions :P
With the current Default embedded theme, i get all the messages.
With the Default full... let me get a log; check attachment.

If Azimutz likes the Bullet theme, then Tarzan keeps Bullet in trunk :)
LoL... Azimutz thanks ;D as long Tarzan doesn't confuses him with Jane :P

We   discussed about the possible regression caused by removing -f (my bad)   with Kabyl. It seems that -f still can be useful for prevent loading   extension and kernel caches but don't notify the kernel about the   booter's covert op ;) So it will be reverted asap.
aah.. that thought crossed my mind ;) useful indeed.
So instead, Tarzan should add Boot Safe Mode to menu? ::) :lol: kidding, but the thought did crossed my mind many times before.
In fact, it's possible that i can pull this one on my own or at least most of it so, if the idea pleases, return true.
Not a priority...



it uses the Makefile to build it

Yes, I only have Snow Leopard.
I meant using the xcodeproj instead of makefile.
The thing is, i updated the Chameleon package on my sig and it didn't crossed my mind to check the tool's arch;
i only went on Leo by mistake and decided as i was there i might as well try it. I'm just imagining this happening
more times, with other people and as it's not needed to compile the booter, why build the tool every time we build it?
Just sharing my logic :)

I'm sure there are plenty of tester for the final product, starting by me :)
I'm assuming that's not the issue..?

Last but not the least, this is very useful stuff.. already helped me with some stuff!
Nice work, great addition.. Thanks.
« Last Edit: August 20, 2010, 03:31:50 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

Kabyl

  • VoodooLabs
  • Posts: 158
Re: [Implemented] GUI extra graphics for selected device
« Reply #267 on: August 20, 2010, 03:34:54 PM »
I meant using the xcodeproj instead of makefile.
xcodeproj calls make in the root of the project.

Try uploading an ioreg -lw0 when the boot log is not complete.

Attached is a test bdmesg (64bit) for Leopard.
« Last Edit: August 20, 2010, 03:52:17 PM by Kabyl »

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: [Implemented] GUI extra graphics for selected device
« Reply #268 on: August 20, 2010, 04:15:13 PM »
xcodeproj calls make in the root of the project.
I'm aware.

Attached bdmesg works fine; just needs to be made executable.

Will do the ioreg asap.. lunch time.
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: [Implemented] GUI extra graphics for selected device
« Reply #269 on: August 20, 2010, 08:50:00 PM »
Kabyl,
bdmesg log and respective ioreg attached; this one booted with trunk build.
First time i noticed this was in fact on ioreg; later compared with bdmesg output and "boot-log" always matches.
« Last Edit: August 21, 2010, 10:34:30 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT