Discussion of article "Graphical Interfaces XI: Refactoring the Library code (build 14.1)" - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Peter, these "problems" can be solved in 1 day. I once did it by switching from an interface built on graphical objects to an interface completely drawn on 1 bitmap.
I will partially agree with you. My transition to drawn elements was also very quick. I didn't even plan it - it just came out by itself. But it depends on the technology that the developer initially follows.
P.S. By the way, could you demonstrate your result?
I agree with you in part. My transition to painted elements was also very quick. I didn't even plan it, it just happened. But it depends on the technology that the developer initially follows.
P.S. By the way, could you demonstrate your result?
You can find my result with a little bit of ingenuity. Now I am working on its reborn version, where everything is much more interesting. I think it will be ready at the beginning of autumn.
With a little bit of ingenuity you can find my result. I'm working on a reborn version of it now, it's much more interesting. I think it will be ready at the beginning of autumn.
However, the result is impressive. I'm not talking now about the functionality, about which I know nothing, but the GUI looks very good. If it's all one bitmap, cool. I wonder if your input fields are also drawn?
Will the new version be more interesting in terms of GUI too, or just the functionality of the programme?
However, the result is impressive. I'm not talking about the functionality now, which I know nothing about, but the GUI looks pretty good. If it's all one bitmap, cool. I wonder if your input fields are also drawn?
In the new version will you have more interesting in terms of GUI too, or only the functionality of the programme?
In this version the input field is drawn but OBJ_EDIT appears after clicking to enter text, then it is drawn again and OBJ_EDIT disappears. In the new version it will be fully drawn, like in Anatoly's version.
Further I suggest not to offtopic in this thread.
In this version the input field is drawn but OBJ_EDIT appears after clicking to enter text, then it is drawn again and OBJ_EDIT disappears. In the new version it will be fully drawn, like in Anatoly's version.
Further I suggest not to offtopic in this thread.
...
At this stage, as I understand from the article, almost all basic element objects have acquired the bitmap type, and only the constituent parts of elements are drawn so far, i.e. - pictures, texts and rectangles.
...
No. Read more carefully. And wait for the publication of the next article. There will be additional explanations there.
...
Question: why do you need to overcome them, if judging by the result - a great GUI works as it is. What is the practical sense of further transformations?
...
Further development of the library will be within the second stage, i.e.: 1 element = 1 object(OBJ_BITMAP). The third stage of development, when the whole GUI is drawn on one object, will definitely not happen in the near future. My priorities have changed and I will deal with other MQL-projects, for which the functionality of this library is quite enough.
No. Read more carefully. And wait until the next article is published. There will be additional explanations there.
Further development of the library will be within the second stage, i.e. 1 element = 1 object(OBJ_BITMAP). The third stage of development, when the whole GUI is drawn on one object, will definitely not be in the near future. My priorities have changed and I'll deal with other MQL-projects, for which the functionality of this library is quite enough.
Sorry if I was really inattentive, but I understood that one element = one object of OBJ_BITMAP type.
I didn't find a clearer explanation in the article and accordingly I assumed that the details that are on the element are drawn on it.
Besides, you have just confirmed it yourself with the words above.
I will wait for the second part of course.
P.S. Still, I think that you have really made a step forward in technology. Before that, optimisation was mostly "cosmetic" (sorry for the bluntness).
What has already been done works very well (judging by the test application). Further development could ruin it all and force a lot of redesign. I wouldn't advise it.
However, nobody asked for my advice...)
At this point I have nothing more to say on the topic. Good luck.
...
What has already been done works very well (judging by the test application). Further development could ruin it all and force you to redesign a lot of things. I would advise against it.
...
Yes, yes, we've heard all this many times before, but it always turns out quite differently than you imagined. )
Yes, yes, we've heard it all many times before, but it always turns out quite differently than you imagined. )
Well, why not? I said,"to make a qualitative step forward, you have to go through a global redistribution." Wasn't I right? Yes.
Here it is - global redistribution. (Only the first one). - Didn't you do a great job now, when you created the drawn elements? Didn't you change a lot of things in the library, from structure to class names?
//-----------------------
Now I say "Development destroys the current stage of perfection, causing the object to lose its beauty, and in the name of striving for an unknown ideal, plunges it into the chaos of a desperate search, until it finds a new "version" of itself".
Think that's a load of rubbish? - Put it to the test.
I don't mind.)
...
You think that's a load of bollocks?
...
There's nothing more from you than blathering. )
Everything that's done is not because you said so. All this was planned from the beginning and published strictly in a certain sequence. But you can of course think otherwise and continue to be, as you say, in "the chaos of a desperate search for a new version of yourself". I don't mind. )