Berko Posted August 4, 2018 Share Posted August 4, 2018 No gridlists ? .. Good job! 1 Link to comment
AriosJentu Posted August 5, 2018 Author Share Posted August 5, 2018 Update: Added grid lists. They are called Table Views. Now you can just create them and select items, sorting now is not available. It will be added in future updates. - Fixed bug with scroll pane - in past it can contains contents only with maximal size, setted to default user's screen size - Added 2 new triggers - when scrolling scrollpane, and when changing state of check box - Fixed bug with unavailabled events when user cursor located on canvases of Buttons, ProgressBars, EditBoxes (all) and Check Boxes - Fixed bug with scrolling on scroll pane, now functions setVerticalScrollPosition and setHorizontalScrollPosition works correct - Added function getFrame for Labels - now you can put any widget on Label. 2 Link to comment
Berko Posted August 5, 2018 Share Posted August 5, 2018 1 hour ago, AriosJentu said: Update: Added grid lists. They are called Table Views. Now you can just create them and select items, sorting now is not available. It will be added in future updates. Reveal hidden contents - Fixed bug with scroll pane - in past it can contains contents only with maximal size, setted to default user's screen size - Added 2 new triggers - when scrolling scrollpane, and when changing state of check box - Fixed bug with unavailabled events when user cursor located on canvases of Buttons, ProgressBars, EditBoxes (all) and Check Boxes - Fixed bug with scrolling on scroll pane, now functions setVerticalScrollPosition and setHorizontalScrollPosition works correct - Added function getFrame for Labels - now you can put any widget on Label. Good luck Link to comment
AriosJentu Posted August 6, 2018 Author Share Posted August 6, 2018 Update: fixed bugs with Table Views - Fixed bug with setColumnWidth - Fixed argument of height for setIndentation - Added two new styles of color schemes - Green and Gray (Dark+Light) - Renaming NumberScrollers to Spinners (I've finally found it's real name) Link to comment
AriosJentu Posted August 6, 2018 Author Share Posted August 6, 2018 Update: Added all information about Table Views on Wiki, with Examples. Also, on cells of CustomTableView you can put something: Code Example Link to comment
AriosJentu Posted August 12, 2018 Author Share Posted August 12, 2018 Update. Added getters for some properties of elements. - Added function removeTab. - Added functions to change item text in Combo Box. - Fixed minor bugs - Added parts for Custom Widgets GUI Editor, now I'm working on it. Link to comment
DiGiTal Posted August 14, 2018 Share Posted August 14, 2018 (edited) @AriosJentu local Window = CustomWindow.create(50, 50, 200, 200, "") Window:setTitle("Hello World") for to use setTitle func, did i don't need to export ? like cs=exports.nameOfRessource then cs:createWindow? Edited August 14, 2018 by DiGiTal Link to comment
AriosJentu Posted August 14, 2018 Author Share Posted August 14, 2018 30 minutes ago, DiGiTal said: @AriosJentu local Window = CustomWindow.create(50, 50, 200, 200, "") Window:setTitle("Hello World") for to use setTitle func, did i don't need to export ? like cs=exports.nameOfRessource then cs:createWindow? No, it's no needed when you make all like in installation manual from Wiki. Link to comment
AriosJentu Posted August 14, 2018 Author Share Posted August 14, 2018 Update - fixed bugs, added some new functions, and working on Custom Widgets GUI Editor. - Added function to get string of image location for CustomButton. - Added more widgets what you can use as parent. Before this update, in parent type you can put only variables of CustomWindow and CustomScrollPane widgets, now added more widgets - CustomButton, CustomProgressBar, CustomLabel, CustomComboBox (button element), CustomCheckBox (label element) and CustomTabPanel (current selected tab). - For CustomComboBox now added function to get count of items, and get lua table of items (table of strings of item names). - For CustomComboBox now added function to remove all items in one function - CustomComboBox:clear(). - Now Tooltip is a class, where added new methods - get and set showing timeout - CustomTooltip:setShowTime(seconds) and CustomTooltip:getShowTime(). - Fixed bug with removing line from TableView. Added function to fully clearing table view's lines: CustomTableView:clearLines(). - For editor added on-editing update of properties, and created drawing functions of elements. 1 1 Link to comment
China_Yann Posted August 16, 2018 Share Posted August 16, 2018 Good job! Keep going ! 1 Link to comment
AriosJentu Posted August 20, 2018 Author Share Posted August 20, 2018 (edited) Updates: Fixed bug with connecting elements to cells. - Added support for EditBoxes, Buttons and CheckBoxes, connected to cells on TableViews. - Added function to get/set EditBox's sides color (used for connecting to TableViews) - Updated Examples page. Edited August 20, 2018 by AriosJentu 1 Link to comment
AriosJentu Posted August 27, 2018 Author Share Posted August 27, 2018 Updates: Fixed bug with removing last line in TableViews, now it's not crashing all TableViews. - Fixed bug with enabling/disabling comboboxes, when its selector is opened. Now it closing in almost all situation (tested with enable/disable, click, moving and etc) - Updated Examples page: added one new example with TableViews, where you can change window theme, and add/remove lines 1 Link to comment
DiGiTal Posted August 28, 2018 Share Posted August 28, 2018 On 27/08/2018 at 04:47, AriosJentu said: Updates: Fixed bug with removing last line in TableViews, now it's not crashing all TableViews. - Fixed bug with enabling/disabling comboboxes, when its selector is opened. Now it closing in almost all situation (tested with enable/disable, click, moving and etc) - Updated Examples page: added one new example with TableViews, where you can change window theme, and add/remove lines Why its soooo hard to just install the script?.? I dont get anything from the wiki .. Link to comment
AriosJentu Posted August 28, 2018 Author Share Posted August 28, 2018 9 hours ago, DiGiTal said: Why its soooo hard to just install the script?.? I dont get anything from the wiki .. Thats not too hard. I've put information on wiki on main page of resource (first link in "See Also" part), also I've created video-tutorial of installation with basic example. Link to comment
DiGiTal Posted August 28, 2018 Share Posted August 28, 2018 36 minutes ago, AriosJentu said: Thats not too hard. I've put information on wiki on main page of resource (first link in "See Also" part), also I've created video-tutorial of installation with basic example. Thx for the video 1 Link to comment
anchor Posted September 3, 2018 Share Posted September 3, 2018 how to destroy a window? destroyElement seems not working for me Link to comment
AriosJentu Posted September 5, 2018 Author Share Posted September 5, 2018 (edited) Update: Done work on events of system: - Now method addEvent returns modified function of event to call it for method removeEvent. - Added method removeEvent for classes, argument of event function needs to be a function, what returns with addEvent. - Now added method destroy for all classes to destroy Custom Widget. Yay - Added methods to get/set text for Custom Tooltip. - For Tabbed Panels added method to clear all tabs. Edited September 5, 2018 by AriosJentu 2 Link to comment
AriosJentu Posted September 12, 2018 Author Share Posted September 12, 2018 Update: fixed bugs with combo boxes and edit boxes: - Fixed bug with edit box, when you click on it, it's focus was blur. - Fixed bug with combo boxes, when clear combo box, it clears only every second item - Fixed bug with combo boxes, when removing item, size of opened combobox doesn't changing 1 Link to comment
Simple. Posted September 12, 2018 Share Posted September 12, 2018 wow that's nice ! 1 Link to comment
AriosJentu Posted September 14, 2018 Author Share Posted September 14, 2018 (edited) Update: Windows can be resizable by user - Added function getCWType to get type of object of Custom Widget. If object is not connected with CustomWidgets, it returns nil. Function returns class parent, and can be used as generator of new object. - Added blocks on window to resize it with mouse. - Added functions to set minimal and maximal sizes of window. - Now all objects and classes has string name of self. Parameter calls ClassName. For example: CustomWindow.ClassName = "CustomWindow". Edited September 14, 2018 by AriosJentu Link to comment
iMr.WiFi..! Posted September 14, 2018 Share Posted September 14, 2018 Keep going, I will make server based by your system. Just wait for it = ) 1 Link to comment
iMr.WiFi..! Posted September 14, 2018 Share Posted September 14, 2018 + Suggestion : Add standard fonts of mta in your fonts. because your fonts not works in all languages. Link to comment
iMr.WiFi..! Posted September 14, 2018 Share Posted September 14, 2018 + Problem: When you use customCheckBox.create with true in Relative it doesn't show at all. Link to comment
AriosJentu Posted September 15, 2018 Author Share Posted September 15, 2018 23 hours ago, iMr.WiFi..! said: + Problem: When you use customCheckBox.create with true in Relative it doesn't show at all. Thanks for reporting) Give me please an example of code, where it won't works) About Fonts, I this l think, I'll add default fonts, but now I'm working on Custom Edits, created without using standart GUIs, and one trouble of them - I can't find methods to calculate blocks spacing in multiline. That's reason, why I do not recommend to change fonts for new future custom edit boxes. But for all another widgets, you can set standart MTA SA fonts by default, using basic MTA labels method setFont. Link to comment
AriosJentu Posted September 20, 2018 Author Share Posted September 20, 2018 Update: Fixed bugs with relative in creation functions - Fixed bug with relative in check boxes and scroll bars - Fixed bug with check boxes - when hover and click label, nothing happening. Fixed bug in addEvent method with label. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now