Gui Skins
by John Doppler Schiff · in Technical Issues · 02/12/2007 (7:07 am) · 2 replies
Hi guys,
I'm monkeying with GUI Window control skins, and after a few false starts, I've got my new skin on a window -- more or less. I'm left with a few questions I'm hoping someone can answer...
First off, can you change the positioning of the close/minimize widgets in script? Mine are clustered in the upper left corner; I'd rather have them on the right, like a standard Windows interface.
Second, do the border segments need to have the same widths and heights? The top half of my upper and lower corners are being truncated, and I'm wondering if the irregular sizes of the corners might be to blame.
Any help you can provide would be greatly appreciated!
-- JohnDopp
I'm monkeying with GUI Window control skins, and after a few false starts, I've got my new skin on a window -- more or less. I'm left with a few questions I'm hoping someone can answer...
First off, can you change the positioning of the close/minimize widgets in script? Mine are clustered in the upper left corner; I'd rather have them on the right, like a standard Windows interface.
Second, do the border segments need to have the same widths and heights? The top half of my upper and lower corners are being truncated, and I'm wondering if the irregular sizes of the corners might be to blame.
Any help you can provide would be greatly appreciated!
-- JohnDopp
#2
Far as I know, the Window control is completely managed in C++, with few exceptions -- though I've not really dug into it that much ...
02/12/2007 (8:01 am)
@John -- you could create your own "window" GUI, and re-use it -- otherwise, I believe most of the stock GUI's are built in C++ ... you may be able to tell it how to align the control box's with a parameter, but you'd have to look at the C++ and see whats up there ... Far as I know, the Window control is completely managed in C++, with few exceptions -- though I've not really dug into it that much ...
Torque Owner John Doppler Schiff
Except for the widgets, which stand out like three sore thumbs. If there's a solution to that, I'm home free. =)