The request is simple:
a function e.g. isFullScreen() that returns a boolean value 1 if the current client is in full screen mode and 0 when not.
For what purpose. Alhtough I can imagine more...
[1.3b87] isFullScreen()
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
[1.3b87] isFullScreen()
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: [1.3b87] isFullScreen()
Well, it's easy enough to add another boolean to the results of Wiki: getInfo() when passed the string "client". It's simple and doesn't require a new function and I'd even consider it a bug fix (since some existing data was accidentally left out of the returned data ).
I'll add it.
Edit: committed as SVN rev 5895.
I'll add it.
Edit: committed as SVN rev 5895.
Re: [1.3b87] isFullScreen()
It'd also be nice to have certain windows (I guess they are called frames?) visible in fullscreen mode, especially the initiative window.
Re: [1.3b87] isFullScreen()
I think that will be too invasive, so it will be a 1.4 or later thing.Cherno wrote:It'd also be nice to have certain windows (I guess they are called frames?) visible in fullscreen mode, especially the initiative window.
But good news that that bool makes it in!
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: [1.3b87] isFullScreen()
@Cherno not possible, at least without writing in a lot of code. What happens in full screen mode (FSM) is that the MapTool frame is hidden while the map area is re-sized to fill the screen.
MapTool employs a docking scheme for its frames, which means all its frames are its "children". Hiding it means also hiding its dependents. To accomplish what you desire, every frame would need to be recreated either as dependents of the map area or standalone frames. This will result in the frames now being visible like the layer selection dialog that's still available in FSM. Lastly, handling code would need to be put in to take care of any changes made to the frames in FSM so that the original, hidden frames also reflect these changes once a user leaves FSM.
MapTool employs a docking scheme for its frames, which means all its frames are its "children". Hiding it means also hiding its dependents. To accomplish what you desire, every frame would need to be recreated either as dependents of the map area or standalone frames. This will result in the frames now being visible like the layer selection dialog that's still available in FSM. Lastly, handling code would need to be put in to take care of any changes made to the frames in FSM so that the original, hidden frames also reflect these changes once a user leaves FSM.
My stuff for the community:
Donate to the Mote Project
The Mote Project's G+ community
Mote on Facebook
Fully Customizable Calendar Drop-in
Donate to the Mote Project
The Mote Project's G+ community
Mote on Facebook
Fully Customizable Calendar Drop-in