options with boxes
Moderator: Forum Moderators
- Celtic_Minstrel
- Developer
- Posts: 2241
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: options with boxes
Which part don't you understand?hermestrismi wrote: ↑December 24th, 2023, 7:20 pm I understand the first part but I didn't understand the second part very well. can you provide me with an example?
What? There's an example on the wiki right here, which is also linked from the gui.dialog documentation. Is the example lacking something? Or did you miss it was there?hermestrismi wrote: ↑December 24th, 2023, 7:20 pm also, I want to know if I can add my suggest as an example to the wiki page for complete beginner in lua and gui (like me). it took me a full day between testing and searching so I hope it can help other developers of umc to add some beautiful interface to their games.
I think what you're looking for is thehermestrismi wrote: ↑December 24th, 2023, 7:20 pm other thing (I asked to much. sorry). in the 'resolution' tag, what subtag or key to add to make a message pop-up with the moving of mouse (without selecting) I mean like the description that pop-up when I move the mouse on any window in the main page
tooltip=
key that can go in any widget tag? For example, in a [button]
or [toggle_panel]
tag. In addition to that, the [tooltip]
tag directly in [resolution]
defines the style of the tooltips – for example, tooltip
or tooltip_default
. I see you used tooltip_large
which I don't remember seeing before, but I think it would give you an error if it didn't exist, so I guess that's also one of the options.- hermestrismi
- Posts: 626
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: options with boxes
I mean the using of wml tagCeltic_Minstrel wrote: ↑December 24th, 2023, 7:54 pmWhich part don't you understand?hermestrismi wrote: ↑December 24th, 2023, 7:20 pm I understand the first part but I didn't understand the second part very well. can you provide me with an example?
you can just include them like a normal macro, since it's a WML file
I already read it and I tested it. I m not very well experienced with lua and gui to say if there is a bug or I just messed something (mostly the second). many errors came with it (character_select instead of character_selection, listbox doesn't work, grid id indefined or something like that). I tested it very well and I even mixed it with the original tutorial codes. the errors begin with the listbox (after replacing the caracter_select line, modify id to label inside the resolution column/label and adding the requires)hermestrismi wrote: ↑December 24th, 2023, 7:20 pmWhat? There's an example on the wiki right here, which is also linked from the gui.dialog documentation. Is the example lacking something? Or did you miss it was there?also, I want to know if I can add my suggest as an example to the wiki page for complete beginner in lua and gui (like me). it took me a full day between testing and searching so I hope it can help other developers of umc to add some beautiful interface to their games.
tooltip_large worked well with me. I took it from the gui directory of the main game as I remember. I will test other tooltips keys and command and tell youI think what you're looking for is thehermestrismi wrote: ↑December 24th, 2023, 7:20 pm other thing (I asked to much. sorry). in the 'resolution' tag, what subtag or key to add to make a message pop-up with the moving of mouse (without selecting) I mean like the description that pop-up when I move the mouse on any window in the main pagetooltip=
key that can go in any widget tag? For example, in a[button]
or[toggle_panel]
tag. In addition to that, the[tooltip]
tag directly in[resolution]
defines the style of the tooltips – for example,tooltip
ortooltip_default
. I see you usedtooltip_large
which I don't remember seeing before, but I think it would give you an error if it didn't exist, so I guess that's also one of the options.
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin