Scripting Moderators thisdp Posted October 3, 2018 Scripting Moderators Posted October 3, 2018 (edited) 14 hours ago, AriosJentu said: Update: Added Custom Text Boxes (CustomEdits analog, but with custom design) - It can be fully transparent, and can be putted on some your-own objects - Added functions to get caret selection parameters For current time its not merged in win.lua, cuz now testing for bugs. You also can send me bug reports. Note: This boxes will never get fonts for memo boxes, because coefficient of difference between two lines are different for all fonts. Screenshot: (notice that this style is not recommending to use in current windows system style, but it demonstrate how does them looks like) Hide contents And, of course, this can be overload your CPU, because it's GUI In future, I hope, I'll port this system to DX, but for now I haven't any ideas how to make on them layering and hiding parts of images in some frames (for scroll panes, for example) use render target, but it will take some Video Memory. And if there is no video memory free for mta, then, you can't create render target. Edited October 3, 2018 by thisdp 1
Master_MTA Posted October 6, 2018 Posted October 6, 2018 On 03/10/2018 at 08:27, thisdp said: render use math hahahah you need your mindx20 in my dx lib i didn't use any render target to avoid that
AriosJentu Posted October 7, 2018 Author Posted October 7, 2018 10 hours ago, Master_MTA said: use math hahahah you need your mindx20 in my dx lib i didn't use any render target to avoid that And how did you made a scroll pane? Did you test it? Or layers or objects - how does it works? I mean positions of object - front or back position of window. Window behind window, and etc?
AriosJentu Posted October 7, 2018 Author Posted October 7, 2018 17 hours ago, OmarSwaitti said: too many problems !! and fix link No problems with links. But problems only with CEGUI
Master_MTA Posted October 7, 2018 Posted October 7, 2018 16 hours ago, AriosJentu said: window didn't finish scrollpane yet
AriosJentu Posted February 10, 2019 Author Posted February 10, 2019 Some minor update: - Fixed bugs with dialog color shemes. - Fixed bugs with window maximal size (now it works). - Added test widget for resizing in examples. To improve resource CPU usage, I've just disabled both lua files in meta. In future I'll try to optimize win.lua.
stalowy10 Posted February 10, 2019 Posted February 10, 2019 Hello i have a problem with a installlation GUI, i think i installed this properly but in console i have an error "Couldn't find file client/help_documentation.xml for GUI resources" but i have that file, can someone help?
AriosJentu Posted February 11, 2019 Author Posted February 11, 2019 8 hours ago, stalowy10 said: Hello i have a problem with a installlation GUI, i think i installed this properly but in console i have an error "Couldn't find file client/help_documentation.xml for GUI resources" but i have that file, can someone help? It's not problem with this resource, I think. You can try to reinstall MTA, maybe it will work. And also, tell me, which steps do you do for installation. 1
China_Yann Posted February 17, 2019 Posted February 17, 2019 I really wish that author keep updating this ui system, It's pretty good - clean and beautiful. I have a problem - the wiki is not complete, for instance the staticImg statement. 1
AriosJentu Posted February 18, 2019 Author Posted February 18, 2019 22 hours ago, 669344682 said: I really wish that author keep updating this ui system, It's pretty good - clean and beautiful. I have a problem - the wiki is not complete, for instance the staticImg statement. If you want, you can update wiki pages) Cuz I haven't time to do it
China_Yann Posted March 12, 2019 Posted March 12, 2019 (edited) Bug Report: Function: CustomStaticImage:setImage Line:9487 function CustomStaticImage.setImage(self, ...) return csiSetImage(self, ...) end Debug Information: ERROR: srp_account\win.lua:9487: attempt to call global'csiSetImage' (a nil value) Solution: Modify csiSetImage to cgiSetImage function CustomStaticImage.setImage(self, ...) return cgiSetImage(self, ...) end Now, it works. And, I'm sorry about that I don't know what the csi and cgi mean, I just simply make it works, please the author give it the right name.Thx:3 On 18/02/2019 at 23:14, AriosJentu said: If you want, you can update wiki pages) Cuz I haven't time to do it I will do that when I have a good control on it. Edited March 12, 2019 by 669344682 1
AriosJentu Posted April 4, 2019 Author Posted April 4, 2019 A little update - fixed bug with naming for image functions - Added function to enable/disable shadow for CustomTableView (setShadowsEnabled/getShadowsEnabled). It can save for you 2 pixels - Added function to set static image dynamic change color from color scheme. Works same as this methods for CustomLabel (setSchematicalColor/isSchematicalColor)
Casti Posted June 29, 2019 Posted June 29, 2019 It looks really good, I think that if we use this in more than one script, it will cause FPS to fall.
DiGiTal Posted January 20, 2020 Posted January 20, 2020 Why you didnt give importance to grid list (table view) no function popular like get row item ..etc
matin Posted May 30, 2020 Posted May 30, 2020 Good Job , How Can i Use onClientGUIClick for CustomTableView Lines ?
MrKAREEM Posted June 1, 2020 Posted June 1, 2020 (edited) On 30/05/2020 at 21:11, matin said: Good Job , How Can i Use onClientGUIClick for CustomTableView Lines ? And the next time, I hope that you create your own topic better than requesting on another person's topic Edited June 1, 2020 by MrKAREEM
Maark Posted September 24, 2020 Posted September 24, 2020 I found a problem, when panel is closed, if you move your mouse, the cpu usage from resource will increase a lot (A LOT!), i will try to fix this, probably is the event system
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