Added a new button. Its bellow the 'Available colours' button and what it does is the window from the right and all those boxes which refer to the properties of the button the user wishes to make visible on the chart. there are many more boxes in that window as it has a scroll bar as you can probably see so the user can scroll down to check all commands a chart has and button's a chart can have if the checkbox is checked and the inputs are filled. A button requires 9 inputs: its position x, y, weight and height, sides position, up down position, text of the button, font of text and font size. Three fonts are available Arial, Webdings and Wingdings.
Sometimes the decision of to how to make something is far more hard to take than actually doing that something. Right now I`m not sure if this is fine or not. Its practical since in the future there will be probably more commands and buttons available so that scrollbar there means I can add as many commands as I want without changing this window (for example at some point I will (re) introduce drawings in to the program for which likely 5-6 more buttons and commands are needed, but does it look good? Should I finish it like this? or maybe it would look better made differently? Sometimes a thing like this can take days or weeks, even if its really simple to make.
Of course making this also has implications on other parts of the program for example the space between the drawing of the chart square and window margins its set from properties of the chart for top, left and right. Bottom space can not be modified. Those I should move in to settings of the program. If I do that code must be changed in various parts of the program. Also, for the new window that can be seen in the image should also allow the user to specify the top, left and right empty space for the chart as its directly related with the buttons, to make a button on the left user should specify left empty space. Currently these are in properties of the symbol, which sucks I should move them, maybe I will maybe not...it is good though that the empty space for top, left and right can be modified from within a formula.
Comments
Post a Comment