-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added. #2
Open
Zyoruk
wants to merge
27
commits into
jeukel:master
Choose a base branch
from
Zyoruk:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Added. #2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Buttons are working.However, they still cannot draw.
… paints images. Working on drawing lines.
New structure LogicGate;
…ndo. Added a validation for a null pointer at reDo method.
…the program. This now creates graphical and logical gates. In addition, it already draws lines. However, thee is still missing the logical implementation of the connection of two gates. MyPanel is now the one storing the lists of labels instead of MyLabel. Everytime we created a new Label, a new list of labels was being created, so we couldnt draw lines between existing labels.
…te a new gate, it changes all the exisiting gate outputs.
…e stored. Gates now set their output according to their entries and kind of gate.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sincerely, I do not know how some files have been added to the repository. They are dated about 3 years ago.
It seems that you have not added the previous pull request I made, nonetheless I am doing another one since we have to merge both codes. This because there are things that we have to implement and I do not know how to do it. Also, I will not have time to do all we need to do .
This code is pure GUI :
1 ) It paints the logic gates
2 ) We are able to move the gates across the Panel. I am implementing it more flexible as we had thought.
What is missing :
1 ) We have to implement a search field, so we are able to search between Gates.This will force us to change the menu we have to something else, probably a list.
2 ) We have to create the Load function (It has to add a new component to the list of able Logic Gates to use.) and the Save function.
3 ) We have to add a "drawLine" function that paints a line with given coordinates