Jump to content

AriosJentu

Members
  • Posts

    325
  • Joined

  • Last visited

Everything posted by AriosJentu

  1. Thank you all. But I need help with next/previous/reload page functions, I dont know, how I can realize it I will consider all your suggestions
  2. ESC (MTA Main Menu) - MTA Settings - Web Browser - Whitelist, it was easy It doesn't work :c idk, but for me with domens like "vk.com" and etc it works
  3. ESC (MTA Main Menu) - MTA Settings - Web Browser - Whitelist, it was easy
  4. You have to inject the mouse events manually as MTA has no information about the way you draw the browser (i.e. it could be drawn into the world in 3D). https://wiki.multitheftauto.com/wiki/In ... rMouseDown https://wiki.multitheftauto.com/wiki/In ... rMouseMove https://wiki.multitheftauto.com/wiki/In ... serMouseUp Internally, both MTA and CEF create a fixed-size texture when calling createBrowser/guiCreateBrowser. That means MTA has to re-create the texture each time you resize the browser which is a comparably expensive operation and would lead to FPS drops if you do it too frequently e.g. in the mouse move event handler. As an alternative, I'd suggest drawing a dummy rectangle that represents the new size and actually resizing once you finish. The only way to resize the browser at the moment is by recreating it. Unfortunately, you'll lose its state then, but you can expect a proper resize function for the next MTA update. Thank you. Resize functions will be good for this web. But its hard for me to use DX with making multi-tab system. And this design based on my Window System with customs lib (quad edit, scroll panel, etc), what was written using CEGUI. I dont know how to make it with dx
  5. Oki. But anyway - I prefer GUI development instead DX. GUI is more native functionally than DX. DX is good, but not for me. I want to make fast and easy to use, and GUI helps me with it. Im not interested with some DX features, for example - arguments, like "Post GUI", and etc. And animations with DX - its hard for me, but in GUI I use same event as DX - onClientRender. And if you can - give me please code with working DX browser resizing and clicking inner dx image. Thank you.
  6. Added fullscreen button, and with double clicking on title or on any tab, window set fullscreened (and back)
  7. Ok. Again - DX browser is not support mouse clicking on links. Of course, keyboard typing works perfectly, and with function FocusBrowser, but i think, all webpages want to use mouse. Here it doesnt works. About sizes of browser - on DX it work same as GUI - with changing size of browser - changing scale of picture. To change browser size you need to remove old browser and create new - same as GUI. Just screens with changing DX image size. I choose GUI browser, because here correctly works editboxes, memos, and with clicking on gui-element i dont want to calculate mouse coordinates, because it has an events. Thank you.
  8. Why not use the DX browser? If I recall correctly you draw it as an image, making resizing very easy. And you can do other fancy DX stuff with it One of the reason dont using dx - dx mouse features - the doesnt exists. And, of course, graphic interface, not working on dx so good than gui.
  9. I have problems with it, because native gui-browser havent resize function, and i created custom resizing with coordinates with destroy old browser and creates new with new size. Thats good idea, and i will add it soon Thank you
  10. Hello. This resource adds to your server custom Web Browser. Here you can find custom browser settings, like web browser size, get page sources, Browser History, Search Engine, and server bookmarks on home tab. Whats not works perfectly - is tab navigation (previous, next page, and reload). In url you can write query for search engine, and it will be search. Do not recommend use this resource with clients on Linux (like me), bcs its crashs. On windows thats problem doesnt exists. To move window, hold title bar, it works with tabs and black screen in settings and bookmarks To add/replace bookmark press right mouse button on round. Bookmarks can create/edit only Admin and Console users. To open window in fullscreen, press on second round button in titlebar, or double click on titlebar or any tab On bookmark work Middle Mouse Button to open it in new tab. Middle mouse click press on tab to close it Scroll wheel on middle mouse on tabs to scroll them F3 or /browser command to open/close browser. Ctrl + N to create new tab F3 to open browser Screens album Thanks all, and sorry for my bad english Topic closed, links lost.
  11. Hello. This resource adds to your server Message Box (Personal Messages). Here's realized new style of sending and getting messages - like in new popular mobile messengers (telegram, for ex). In functionality - replacing theme of menu, and disabling notifications. If you want custom notifications, heres maintenance this resource. Scrolling carried with middle mouse button and by swiping left mouse button (simulation of touch screen). Here some screenes Video (low quality, sorry) Unread messages is colored in dialog list, selected user too. For open settings, click on arrow down on the titlebar, to close settings, click on black part of window Key to open window - F4 (Close - F4 or Round on left-top part) Download: All links lost, try to use google, this project is unsupported by me. Russian file included (client_rus.lua) Thank you, and sorry for my bad english. Topic is closed.
  12. Hello. This resource adds to your server new notifications center. But its not a fully center, heres notifications showed on the right side of the screen. Now available only title and text. You can close notification from top left edge of notification. Here notifications close automaticly, but if you're AFK, they stays on screen. They are animated. New notification sets on the top of all. This system is very easy, and its works. Exported function: createNotification For example, I've used it for my Dialog Box, what I've publish soon. Download: Here
  13. Bad design, gui havent animation, but it only 25% I hope it could be realized
  14. Good work with awesome design
  15. U upgrade vehicle on server side? U can change design to more interesting (maybe create ur own color menu), and it will be great. But its good work.
  16. Design is so bad, but gm is nice. Good work
  17. Bad design. I hate windows, but it appear not like in шindoшs
×
×
  • Create New...