steeffeen-zz / fancymanialinks Goto Github PK
View Code? Open in Web Editor NEWManiaLink Framework for Object-Based XML Generation
Home Page: http://steeffeen.github.io/FancyManiaLinks/
License: GNU General Public License v3.0
ManiaLink Framework for Object-Based XML Generation
Home Page: http://steeffeen.github.io/FancyManiaLinks/
License: GNU General Public License v3.0
Possibility to dump / render the manialink with the echo parameter without appending the script. Most of the times in real cases the script is so long that its almost impossible to debug probably with it, if you disable the script render on the echo it shows usefull debug results.
Label & TextEdit receives new linespacing attribute
The framemodel is represented incorrectly:
in most aspects a framemodel is exactly like a frame, which means it can has any attribute a frame can have (pos, size, id, class, data-, hidden, scale, rot, halign, valign).
A frameinstance will override these values[1] (or merge them as in the case of classes and data-attributes), so additionally FrameInstance objects should represent this behaviour for consistency. (The data- and class-behaviour is new in MLv3.)
To allow for the feature above I would suggest some sort of mechanism to retrieve a framemodel by its modelid (as you don't require the object instance in a FrameInstance object). Keep in mind that framemodels can be nested so unfortunately something as Manialink::children.filter(instanceof FrameModel) would be insufficient.
On a side-note I would expect the FrameInstance to get a model in the constructor, as it would encourage the more OO approach on this matter rather than optionally setting the model later. I suppose you want to keep the modelId feature for compatibility reasons.
[1] size and alignment affect the frame-clipping and are currently not overridden by frameinstance which I believe to be a bug (https://forum.maniaplanet.com/viewtopic.php?f=559&t=41195&p=283702#p283702)
Add graph control
Currently ManiaLinks are created with version 1 by default to keep backwards-compatibility.
This should be improved by making it possible to overwrite this default value.
Follow-Up of #25
All Controllers are stacked over eachother (ToolTipLabelFeature) works
Currently a chunk-based paging button sends the action (to the server controller) and navigates to the new (empty) page. In case of a paging button with an action the current page should be kept visible to avoid a weird looking behavior.
ML 2 receives a new TextEdit control which replaces multiline entries
The FML/CustomUI/setScoretableVisible doesn't work anymore
posn & sizen attributes are being replaced with pos & size in MP4
Hi everyone,
Thanks for checking out FML!
Unfortunately, I lost access to my account "steeffeen" some weeks ago.
I had to create a new account "steeffffeen" and fork the FML repository: https://github.com/steeffffeen/FancyManiaLinks
I will add this information to the README of the original repository. However, I'm not able to process any PR or issues for the original repository. :(
Feel free to get in touch with me via the new repository.
GitHub Support denied restoring the access because of missing proof of identity.
I'm sorry for this major fail!
Kind regards,
Steffen
(-1 changes the order of the lines)
Hey,
I would like to use FML script builder with build in elements and custom scripts, but currently it's missing ability to inject script partials to the rendered script. Could it be possible to add pure string data to following positions:
I know it's possible to use labels, but it's not quite enough.
Current implementation adds <script> elements when needed, and FML script element is appended to last element. Problem comes, if I define global variables and functions at custom script, i get ManiaScript error, since #Import needs to be first statements for the script, now it's being middle of the rendered script.
Add a script class that loads a text file containing the (mania)script. This way the script can be developed using an IDE.
Component do display a downdown list of a value array
there should be integration tests
Setting a Width and a action a label makes the label dissapear. (If you set either of the values all works fine).
Example:
ManiaControl/ManiaControl@0b9ee12
Component similar to dropdown list but with an editable text entry to enter the value
Scrollbars in FML as ScriptFeature would be quite handy.
Check in MP3 added control attributes and add them to FML
Would be cool to compress the scripts, but i'm not sure if it's possible to get the full script as string -> process it -> ignore automatic rendering and append the compressed string to dom.
After Merge with Jocys fixing, this is also changed, don't know if Plugins are using it,
please add deprecated
mapQuad->setBgColor('aaa');
there should be unit tests
Hi, by default you set
$horizontalAlign = self::CENTER;
// And
$verticalAlign = self::CENTER2;
But this doesn't correspond to the game defaults when the values are left empty.
This is very annoying when you build you ML using the ingame MLBuilder & then try and reproduce it with FML. You need everytime to set the alignements manually.
Thanks
The xml-property bgcolorfocus corresponds to the ManiaScript field BgColorFocus.
Component to manage a group of radio buttons
Mood example doesn't work
it puts the entry name before the actual URL instead of using the entry name as an URL parameter name for the entry value
Currently version 1 is hard-coded -> Support setting an own version
e.g. AddFavorite & JoinServer
Quad receives new autoscalefixedwidth attribute
The Add Favourite we use in ManiaControl on Top left doesnt work anymore
Component that displays an own dynamic label and adusts its position if needed
25-Mar-2017 18:15:50 UTC] [PHP RECOVERABLE ERROR]: Argument 1 passed to FML\Script\Features\Paging::addPage() must be an instance of FML\Script\Features\PagingPage, instance of FML\Controls\Frame given, called in /home/smparagon19/ManiaControlSynced/core/Commands/HelpManager.php on line 185 and defined
implement a new script feature that allows the preloading of images
=> CMlScript::PreloadImage
Pressing a Key like F9 should simply toggle the visibility of the complete manialink
Controls receive a new scriptaction attribute
Would be cool if the Animation Manager of ManiaScript could be used somehow, some compatiblity to make the use very easy without programming ManiaScript would be amazing :D
https://forum.maniaplanet.com/viewtopic.php?f=464&t=29493
replacing Format elements
The z-index attribute replaces the z parameter of the posn attribute
Radio Button Component
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.