Author Topic: SCI1.1 GUI grey box outlines on post-mouse hover *solved*  (Read 1315 times)

0 Members and 1 Guest are viewing this topic.

Offline MusicallyInspired

SCI1.1 GUI grey box outlines on post-mouse hover *solved*
« on: June 19, 2015, 04:23:17 PM »
So I've changed my GUI to a different colour, but when I hover over buttons with the mouse (in the control panel and icon bar specifically) there are these black square outlines that highlight each button. This is fine. But after I take the cursor off of the button the black box is replaced with a gray one and stays until I close the control panel or icon bar. This really clashes with the colour scheme I've got going on here. Any idea where to get rid of it? It's been plaguing me for a couple nights now.

(ignore the grey masks on the inventory buttons, I still haven't ironed that out yet from removing the COMMAND verb)
« Last Edit: July 07, 2015, 07:01:18 PM by MusicallyInspired »


Brass Lantern Prop Competition

Offline Kawa

Re: SCI1.1 GUI grey box outlines on post-mouse hover
« Reply #1 on: June 21, 2015, 05:20:41 AM »
In globalpalettes.sc SetGlobalPalettes, gLowlightColor is set to the closest to (159, 159, 159). IconI have a lowlightcolor property which their init set to gLowLightColor. I've tried to change a given icon's highlight- and lowlightColor properties, but they didn't seem to "take".

The reason? There's this in SQ5 init:
Code: [Select]
(send gSq5IconBar:
add(icon0 icon1 icon2 icon3 icon4 icon6 icon7 icon8 icon9)
eachElementDo(#init)

//THESE TWO LINES!
eachElementDo(#highlightColor 0)
eachElementDo(#lowlightColor 5)
//They OVERRIDE whatever globalpalettes and the icons decide!

curIcon(icon0)
useIconItem(icon6)
helpIconItem(icon9)
walkIconItem(icon0)
disable(5)
state(3072)
disable()
)

And now you know :)


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.135 seconds with 24 queries.