![]() |
GuiWindowCtrl & ShowText
Hi,
i tried the following: I made a GuiWindowCtrl and made ShowText to display some text on it well, now the problem is: the window is actually over the text, so the text is "grayed out"(window is transparent ) any way to fix this? |
I found this problem too, you need to use the new GuiTextCtrl/GuiMLTextCtrl.
Use the visible toggle if you need to display it after an action. |
Showtext displays an image object on the graal level. if you want it in a gui, you need a gui object, as chandler stated.
|
yeye, i just think there should be a option to make imgobject > gui
or stefan should add a drawText to GuiDrawingPanel |
Quote:
|
Quote:
|
Quote:
|
nope
you cant overwrite it by drawing another image of the same index you cant just say hideimg and its gone |
Quote:
You don't know how to destroy a gui profile? |
Quote:
You really need to learn about GS2 GUI Controls. |
Quote:
To get rid of it you can either set visible to false or destroy it. (I recommend the former, especially if you want to use it again). |
GuiShowImgCtrl works like a showimg/findimg, only showing/hidding, position and size are defined differently. But you can display everything that can be displayed with a showimg/findimg.
|
whoa....
how you get called "stupid" when you just ask for a way to make something without using own functions... see, i'm just lazy, thats why i like using premade functions instead of making own functions |
Quote:
|
Quote:
|
GUIOBJECT.destroy()
How hard can it be? |
....
i know how to create/destroy gui controls, thanks. for example: a Server wants to show a Text on the Screen that tells you the current Area like "Online Start Local" "Kokiri Town" etc now it sucks if you have to make a own guicontrol for every text you ever want to display on the screen, because showtext has no function to make it appear over gui controls |
Quote:
Here's something simple... PHP Code:
|
Quote:
showimg() basically just does this: NPC Code: |
| All times are GMT +2. The time now is 03:47 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.