Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by AriosJentu

  1. 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)
  2. If you want, you can update wiki pages) Cuz I haven't time to do it
  3. 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.
  4. 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.
  5. Oh. Looks just good But you have one big problem with colors and shadows. You haven't any shadow under combobox, and mixing red, blue, and some shades of gray doesn't looks very good You haven't any static pretty color scheme, but it also looks very good in concept as GUI-Elements
  6. Light style, but dark combobox list. What? Why?
  7. No problems with links. But problems only with CEGUI
  8. 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?
  9. 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) 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)
  10. Update: Fixed codestyle for widgets - Fixed codestyle of Custom Tooltips and Custom Loadings - Added font functions for Custom Tooltips - Removed some unnecessary lines for some optimization (but I think - nothing will happened with CPU usage :D)
  11. Your calculation method can't be used here, because it needs to update position every time - every frame will be exec function "guiSetPosition", and it will have more lags, because this fuction executes in onClientRender, and it haven't any optimizations.
  12. Are you sure, that your link isn't broken?
  13. I know about this troubles. One of the reasons is events, like OnClientRender and OnClientCursorMove. In this events there is too many calculations per frame - getting and setting gui positions. And I haven't any ideas how to fix this, cuz this events must be as main events of system, used to moving/resizing functions, widget animations and etc.
  14. Give me example, where (or on what widget) you moving mouse and CPU usage is overloads. Is it on all widgets? Cuz I have i5-7200U, and U series are for laptops, and I haven't loading more than 20% of this resource.
  15. Minor codestyle update: Rewrited Dialog Widget to more readable style
  16. Thank you. In current version fixed bug with checkboxes and buttons, and added font functions to dialogs. In next update I'll try to add them for Tooltips.
  17. Thank you. It now fixed. Oki, I'll add it soon.
  18. Update: Added CustomStaticImage widgets: - Added CustomStaticImage widgets. When using this as parent, it saves to object Color Scheme. Used with fixing next bug: - Fixed bug when adding element to TabPanel, it wont saves color scheme of TabPanel - Added functions setFont, setFontSize and setSystemFont for some widgets, like Window, Edits, Labels, Buttons, and etc. Almost for all widgets. *setFont function used for set custom font (.ttf), and setSystemFont used for set default MTA fonts for widget.
  19. Thank you for suggestion and reporting About problem - I understand it. The reason is - tabpanel's tab now haven't option to save color scheme from it's parent. I think I'll add it in future. About fonts - I'll add them soon.
  20. 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.
  21. 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.
  22. 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".
  23. 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
  24. 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.
  • Create New...