Skip to content

Commit

Permalink
Added javadoc to label and scrollinput classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramen5914 committed Sep 21, 2024
1 parent f03a896 commit 1519f58
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/net/ramen5914/ramensadditions/gui/widget/Label.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
import java.util.List;
import java.util.function.BiConsumer;

/**
* <p>Code adapted from the open-source repository at <a href="https://github.com/Creators-of-Create/Create">https://github.com/Creators-of-Create/Create</a>.
* Original code by simibubi.
*
* <p>This code is used in compliance with the MIT License, which can be found here:
* <a href="https://opensource.org/licenses/MIT">https://opensource.org/licenses/MIT</a>.
*
* @see <a href="https://github.com/Creators-of-Create/Create/blob/mc1.20.1/dev/src/main/java/com/simibubi/create/foundation/gui/widget/Label.java">Original Source File</a>
* @since 0.0.4-alpha
*/
public class Label extends AbstractWidget {
public static final int HEADER_RGB = 0x5391E1;
public static final int HINT_RGB = 0x96B7E0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
import java.util.function.Consumer;
import java.util.function.Function;

/**
* <p>Code adapted from the open-source repository at <a href="https://github.com/Creators-of-Create/Create">https://github.com/Creators-of-Create/Create</a>.
* Original code by simibubi.
*
* <p>This code is used in compliance with the MIT License, which can be found here:
* <a href="https://opensource.org/licenses/MIT">https://opensource.org/licenses/MIT</a>.
*
* @see <a href="https://github.com/Creators-of-Create/Create/blob/mc1.20.1/dev/src/main/java/com/simibubi/create/foundation/gui/widget/SelectionScrollInput.java">Original Source File</a>
* @since 0.0.4-alpha
*/
public class SelectionScrollInput extends AbstractWidget {
public static final int HEADER_RGB = 0x5391E1;
public static final int HINT_RGB = 0x96B7E0;
Expand Down

0 comments on commit 1519f58

Please sign in to comment.