-
Notifications
You must be signed in to change notification settings - Fork 171
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
(Not for merge) Campaign options iic GBC and sizing #5050
base: master
Are you sure you want to change the base?
(Not for merge) Campaign options iic GBC and sizing #5050
Commits on Oct 1, 2024
-
Added New Campaign Preset Selection Dialog
Introduced a new dialog for selecting campaign presets within the campaign options. Updated `CampaignPreset` to include a `getTitle()` method and added resource strings for dialog configuration.
Configuration menu - View commit details
-
Copy full SHA for 3103db6 - Browse repository at this point
Copy the full SHA 3103db6View commit details -
Remove unused logger and format comments.
Eliminated the unused logger variable in SelectPresetDialog.java to reduce clutter. Additionally, formatted comments in CampaignPreset.java to improve readability and follow documentation standards.
Configuration menu - View commit details
-
Copy full SHA for 14bef77 - Browse repository at this point
Copy the full SHA 14bef77View commit details -
Restructure CampaignOptions package
Moved CampaignOptions and related classes to a new package structure under mekhq.campaign.campaignOptions. This improves code organization and clarity. Updated all references to reflect the new package structure.
Configuration menu - View commit details
-
Copy full SHA for 6934999 - Browse repository at this point
Copy the full SHA 6934999View commit details -
Add new empty classes for campaign options panes
Created 20 new empty classes under the campaignOptions and campaignOptions.panes packages. These classes will serve as placeholders for future implementation of various campaign option functionalities.
Configuration menu - View commit details
-
Copy full SHA for 3532c96 - Browse repository at this point
Copy the full SHA 3532c96View commit details -
Rename controller and add GeneralTab class
Renamed `campaignOptionsDialogController.java` to `CampaignOptionsDialogController.java` and implemented `CampaignOptionsDialogController` with added functionalities. Included new `GeneralTab` class for campaign's general settings and updated resources for localization.
Configuration menu - View commit details
-
Copy full SHA for fdc6335 - Browse repository at this point
Copy the full SHA fdc6335View commit details -
Rename campaign option classes and delete empty class
Changed the package name of all campaign option classes from 'panes' to 'tabs' for consistency. Removed the empty `RepairAndMaintenance` class. Updated the `CampaignOptionsDialogController` to reflect these changes.
Configuration menu - View commit details
-
Copy full SHA for 6da4a24 - Browse repository at this point
Copy the full SHA 6da4a24View commit details -
Add Repair and Maintenance tab with detailed options
Enhanced campaign options dialog by adding a Repair and Maintenance tab. Implemented detailed options for repair and maintenance settings, including various checkboxes and spinners.
Configuration menu - View commit details
-
Copy full SHA for bcd4f2d - Browse repository at this point
Copy the full SHA bcd4f2dView commit details -
Refactor CampaignOptionsDialog for new Controller
Replaced CampaignOptionsPane with CampaignOptionsDialogController to streamline campaign options management. Commented out methods related to the old pane's options handling to avoid conflicts. Added Javadoc comments to GeneralTab to improve code documentation.
Configuration menu - View commit details
-
Copy full SHA for 71396a0 - Browse repository at this point
Copy the full SHA 71396a0View commit details -
Refactored CampaignOptionsDialogController removal
Removed CampaignOptionsDialogController and replaced its functionality with CampaignOptionsPane and CampaignOptionsUtilities. This change aimed at modularizing the code, improving maintainability and readability. Updated relevant imports and class usages accordingly.
Configuration menu - View commit details
-
Copy full SHA for 269bd3d - Browse repository at this point
Copy the full SHA 269bd3dView commit details -
Refactor: Remove inheritance from AbstractMHQTabbedPane
Removed the inheritance from AbstractMHQTabbedPane in RepairAndMaintenanceTab and GeneralTab. Adjusted constructors and methods to accommodate this change and updated utility imports to reflect the new package structure.
Configuration menu - View commit details
-
Copy full SHA for aa0a915 - Browse repository at this point
Copy the full SHA aa0a915View commit details -
Rename CampaignOptionsPane to supports subpackage structure
Moved CampaignOptionsPane to the "tabs" subpackage for better organization. Updated the import statements in relevant classes to reflect the new package path.
Configuration menu - View commit details
-
Copy full SHA for 86b8f51 - Browse repository at this point
Copy the full SHA 86b8f51View commit details
Commits on Oct 2, 2024
-
Add Supplies and Acquisition Tab to Campaign Options
Reorganized properties and labels in various tabs. Introduced a new Supplies and Acquisition tab with Acquisition, Delivery, and Planetary Acquisition sub-tabs while maintaining existing functionality for Repair and Maintenance.
Configuration menu - View commit details
-
Copy full SHA for a95b7f3 - Browse repository at this point
Copy the full SHA a95b7f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3d586 - Browse repository at this point
Copy the full SHA aa3d586View commit details -
Configuration menu - View commit details
-
Copy full SHA for b56cafd - Browse repository at this point
Copy the full SHA b56cafdView commit details -
Simplify checkbox and spinner creation methods
Replaced the createLabeledSpinner method with distinct createSpinner and createLabel methods to simplify spinner creation. This change reduced redundancy by removing the need for label creation in spinner methods and updated relevant sections across multiple files. Additionally, the getDimensionWidthForComboBox and getDimensionWidthForButton helper methods were removed to streamline the codebase.
Configuration menu - View commit details
-
Copy full SHA for 95f6c04 - Browse repository at this point
Copy the full SHA 95f6c04View commit details -
Remove hardcoded panel width parameters
Removed explicit maximum width parameters in the createParentPanel method. Adjusted width handling to dynamically ensure a minimum width of 500 for the parent panels. Simplified the import statements by consolidating them. Deleted an unused utility method related to panel size calculation.
Configuration menu - View commit details
-
Copy full SHA for b2220be - Browse repository at this point
Copy the full SHA b2220beView commit details
Commits on Oct 3, 2024
-
Add new tabs for various campaign options categories
Added new tabs for Combat Readiness, Human Resources, Unit Development, Logistics and Maintenance, and Strategic Operations to the Campaign Options Pane. Updated the resource file with corresponding titles for the new tabs. These changes enhance the structure and organization of the campaign options interface.
Configuration menu - View commit details
-
Copy full SHA for 839f706 - Browse repository at this point
Copy the full SHA 839f706View commit details -
Remove TODO comments for parent tab creation methods
The TODO comments for creating various parent tabs in different sections were removed. This cleanup helps to reduce clutter and improves the readability of the code. It also indicates that the initial implementation for these tabs is complete.
Configuration menu - View commit details
-
Copy full SHA for 3c08d2c - Browse repository at this point
Copy the full SHA 3c08d2cView commit details -
Refactor tab creation for better alignment and UI enhancements
Refactored the creation of campaign option tabs to use wrapper panels for better alignment and added decorative borders with contextual quotes. Also, centralized tab creation into a utility method for improved readability and maintainability of the code.
Configuration menu - View commit details
-
Copy full SHA for 89f8df0 - Browse repository at this point
Copy the full SHA 89f8df0View commit details -
Refactored comments for code clarity
Updated Javadoc comments in CampaignOptionsPane.java to remove unnecessary link annotations and improve readability.
Configuration menu - View commit details
-
Copy full SHA for 4a5c720 - Browse repository at this point
Copy the full SHA 4a5c720View commit details -
Refactor and reorganize campaign options tabs
Moved header creation to a separate method for better readability and reusability. Updated text field dimensions to be dynamically set based on preferred height. Enhanced scroll speeds for better user experience and added quotes to tabs for improved UI aesthetics.
Configuration menu - View commit details
-
Copy full SHA for e30aee3 - Browse repository at this point
Copy the full SHA e30aee3View commit details
Commits on Oct 7, 2024
-
Add TechLimitsTab to campaign options
Replaced the empty TechLimits class with a fully implemented TechLimitsTab to manage technical limit settings within the campaign options. Updated the properties for the new tab and made minor adjustments to CampaignOptionsUtilities and CampaignOptionsPane for integration.
Configuration menu - View commit details
-
Copy full SHA for e5af951 - Browse repository at this point
Copy the full SHA e5af951View commit details -
Add new tech limit options to TechLimitsTab
Included 'allowISPurchasesBox' and 'allowCanonOnlyBox' components in the TechLimitsTab for enhanced configuration of tech limit options. Also organized comments in CampaignOptionsPane for better readability.
Configuration menu - View commit details
-
Copy full SHA for 0347435 - Browse repository at this point
Copy the full SHA 0347435View commit details -
Merge branch 'refs/heads/master' into campaignOptionsIIC
# Conflicts: # MekHQ/resources/mekhq/resources/NEWCampaignOptionsDialog.properties # MekHQ/src/mekhq/campaign/campaignOptions/CampaignPreset.java # MekHQ/src/mekhq/gui/dialog/CampaignOptionsDialog.java # MekHQ/src/mekhq/gui/dialog/CampaignPresetSelectionDialog.java # MekHQ/src/mekhq/gui/panes/CampaignPresetPane.java # MekHQ/src/mekhq/gui/panes/campaignOptions/SelectPresetDialog.java
Configuration menu - View commit details
-
Copy full SHA for c0b5242 - Browse repository at this point
Copy the full SHA c0b5242View commit details -
Refactor imports for CampaignPreset
Moved CampaignPreset from campaignOptions to campaign package.
Configuration menu - View commit details
-
Copy full SHA for 7aa9fcf - Browse repository at this point
Copy the full SHA 7aa9fcfView commit details -
Refactored CampaignOptionsDialog to disable option interactions
Commented out methods and imports related to campaign options handling via the CampaignOptionsPane. This change disables the updating, validation, and application of campaign options while keeping the overall structure intact.
Configuration menu - View commit details
-
Copy full SHA for 3138157 - Browse repository at this point
Copy the full SHA 3138157View commit details -
Refactor campaign options GUI: delete unused class, rename and expand…
… PersonnelTab Deleted the unused RandomAssignmentTables class. Renamed Personnel to PersonnelTab and expanded its contents with multiple new tabs for different settings. Modified comments and reorganized imports in RepairAndMaintenanceTab and GeneralTab. Updated properties file with new labels and placeholders.
Configuration menu - View commit details
-
Copy full SHA for 0f3497b - Browse repository at this point
Copy the full SHA 0f3497bView commit details -
Add tabs for Administrators and Awards in PersonnelTab
Implemented new tabs within PersonnelTab for administrators and awards. Added respective UI elements and layout configurations to support negotiation, scrounge, and award options.
Configuration menu - View commit details
-
Copy full SHA for 3ce82e9 - Browse repository at this point
Copy the full SHA 3ce82e9View commit details
Commits on Oct 8, 2024
-
Add Personnel and Prisoner/Dependent Management Features
Implemented new UI components and functionality for personnel cleanup and prisoner/dependent management in the campaign options dialog. This includes new panels and options for enabling/disabling personnel removal, managing prisoner statuses, and handling dependents.
Configuration menu - View commit details
-
Copy full SHA for a869a76 - Browse repository at this point
Copy the full SHA a869a76View commit details -
Implement comprehensive Personnel Tab features
Added multiple sub-tabs within the Personnel Tab to streamline various functionalities including general information, logs, awards, medical, prisoners, dependents, and salaries. Updated tooltips and configured new UI elements with appropriate settings for improved user experience. This structure enhances the management and display of essential personnel data.
Configuration menu - View commit details
-
Copy full SHA for 77d885a - Browse repository at this point
Copy the full SHA 77d885aView commit details -
Prioritize General Options Tab in Campaign Options
Ensured that the 'generalTab' always appears first in the campaign options tabs. This change improves the user experience by making general options more accessible. The sorting logic was adjusted to handle this special case.
Configuration menu - View commit details
-
Copy full SHA for ae1d244 - Browse repository at this point
Copy the full SHA ae1d244View commit details -
Add base salaries configuration to PersonnelTab
Expanded PersonnelTab to include configuration for base salaries. Added labels and spinners for various personnel roles, and updated layout handling to dynamically accommodate the new elements.
Configuration menu - View commit details
-
Copy full SHA for a097681 - Browse repository at this point
Copy the full SHA a097681View commit details -
Corrected PersonnelTab comments
Replaced ampersand with "and" in "Prisoners & Dependents Tab" for clarity and consistency with the rest of the text. This improves readability and maintains a uniform style throughout the documentation.
Configuration menu - View commit details
-
Copy full SHA for 4bb8702 - Browse repository at this point
Copy the full SHA 4bb8702View commit details
Commits on Oct 9, 2024
-
Fix UI layout and header component references
Updated the reference from imagePanel to headerPanel across multiple tabs to ensure consistent header naming conventions. Adjusted alignment for headerPanel components to CENTER for better UI consistency. Enhanced panel dimensions setup to improve layout appearance. Standardized label text formatting by removing HTML tags.
Configuration menu - View commit details
-
Copy full SHA for 99c55a9 - Browse repository at this point
Copy the full SHA 99c55a9View commit details -
Refactored campaign options UI quotes for better readability.
Condensed multi-line quotes into single lines in the properties file to improve consistency. Updated the UI code to enhance the layout and presentation of the quotes in the campaign options dialog.
Configuration menu - View commit details
-
Copy full SHA for 2b88619 - Browse repository at this point
Copy the full SHA 2b88619View commit details -
Add Life Paths tab and enhance personnel tab in Campaign Options
Renamed 'Personnel Tab' as 'Human Resources Tab' and included tooltips and checkboxes for various options. Added new Life Paths tab with General and Background sub-tabs, introducing options for random gender, family display, random personalities, and origins.
Configuration menu - View commit details
-
Copy full SHA for 2bac6e8 - Browse repository at this point
Copy the full SHA 2bac6e8View commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 138e311 - Browse repository at this point
Copy the full SHA 138e311View commit details -
Add Marriage Tab to Life Paths Configuration
Introduced a new Marriage Tab in the Life Paths configuration panel, including options for manual, clan personnel, and prisoner marriages. Enhanced random marriage settings with various input components and panels to customize marriage characteristics, logging, and random generation methods. Adjusted spinners in CampaignOptionsUtilities to align text to the left for improved readability.
Configuration menu - View commit details
-
Copy full SHA for 0814741 - Browse repository at this point
Copy the full SHA 0814741View commit details -
Add divorce options tab in campaign settings
Included a new Divorce tab with various settings such as manual, clan personnel, and prisoner divorces, along with random divorce configurations. Updated the campaign options pane to integrate the new tab and revised related resource files.
Configuration menu - View commit details
-
Copy full SHA for d2f7b2c - Browse repository at this point
Copy the full SHA d2f7b2cView commit details -
Add procreation tab with divorce options
Implemented a new procreation tab in the LifePathsTab with various divorce options, including manual, clan personnel, and prisoner divorces. Updated the campaign options dialog properties to reflect the inclusion of new relationship categories for marriage and divorce.
Configuration menu - View commit details
-
Copy full SHA for c61476f - Browse repository at this point
Copy the full SHA c61476fView commit details -
Add Procreation Tab to Campaign Options
Implemented a new Procreation Tab in the Campaign Options dialog. This includes various settings related to manual, clan, and random procreation methods, as well as options for managing offspring attributes and maternity leave.
Configuration menu - View commit details
-
Copy full SHA for e2c660b - Browse repository at this point
Copy the full SHA e2c660bView commit details -
Add Death Tab to Campaign Options
Introduced a new Death tab in the Campaign Options pane, including various settings for simulating character deaths such as random death methods and death by age group. Implemented corresponding UI components and placeholders in the properties file.
Configuration menu - View commit details
-
Copy full SHA for c7533e7 - Browse repository at this point
Copy the full SHA c7533e7View commit details
Commits on Oct 11, 2024
-
Rename and expand TurnoverAndRetention class
Renamed TurnoverAndRetention.java to TurnoverAndRetentionTab.java to better reflect its extended functionality. Added comprehensive GUI elements for configuring turnover and fatigue settings, including numerous panels, checkboxes, labels, and spinners. Enhanced the structure and layout using Swing components to provide a detailed and user-friendly experience.
Configuration menu - View commit details
-
Copy full SHA for 42d188a - Browse repository at this point
Copy the full SHA 42d188aView commit details -
Remove HTML formatting from text strings
Replaced HTML tags with plain text in various labels to improve readability and maintain consistency across the user interface. Also updated component creation and layout handling in PersonnelTab.java to ensure proper alignment and sizing of labels and spinners.
Configuration menu - View commit details
-
Copy full SHA for 56155f9 - Browse repository at this point
Copy the full SHA 56155f9View commit details -
Add new Education tab to campaign options
Renamed relationship-related tabs and integrated a comprehensive Education tab. This includes various education settings such as XP rates, dropout chances, and accident rates, as well as new configuration panels and controls.
Configuration menu - View commit details
-
Copy full SHA for e2b28a2 - Browse repository at this point
Copy the full SHA e2b28a2View commit details -
Add entrance exam modifier label to LifePathsTab
Added a new label to display the entrance exam modifier in the LifePathsTab for better clarity. Also updated the properties file to accommodate this new label and adjusted related UI components accordingly.
Configuration menu - View commit details
-
Copy full SHA for 0272552 - Browse repository at this point
Copy the full SHA 0272552View commit details -
Add RelationshipsTab for campaign options
Created a new `RelationshipsTab` class in the campaign options GUI, featuring separate tabs for marriage, divorce, and procreation settings. Each tab includes options for manual, clan personnel, and prisoner actions, along with configurations for randomization.
Configuration menu - View commit details
-
Copy full SHA for 97bcd5b - Browse repository at this point
Copy the full SHA 97bcd5bView commit details -
Remove unused NameAndPortraitGeneration.java file
This file was no longer needed and its presence could cause confusion. The removal helps in maintaining a cleaner and more understandable codebase.
Configuration menu - View commit details
-
Copy full SHA for e40404c - Browse repository at this point
Copy the full SHA e40404cView commit details -
Make methods private in various campaign options tabs
Updated method visibility to private in several campaign options tabs to encapsulate functionality and improve code maintainability. This change affects multiple panels related to relationships, supplies, biographies, repairs, turnovers, technical limits, and more.
Configuration menu - View commit details
-
Copy full SHA for 47ad105 - Browse repository at this point
Copy the full SHA 47ad105View commit details -
Add "Name and Portrait Generation" tab
Introduced a new "Name and Portrait Generation" tab in campaign options. This includes functionality for assigning names based on origin faction and managing portrait generation/settings. Updated related UI components and properties accordingly.
Configuration menu - View commit details
-
Copy full SHA for 8c2d687 - Browse repository at this point
Copy the full SHA 8c2d687View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc8353d - Browse repository at this point
Copy the full SHA fc8353dView commit details -
Add Rank System tab and adjust panel dimensions to 750px
Implemented a new Rank System tab in the campaign options and adjusted various panel dimensions from 500px to 750px for better layout consistency. Removed redundant instruction text for rank systems to streamline the user interface.
Configuration menu - View commit details
-
Copy full SHA for ca95042 - Browse repository at this point
Copy the full SHA ca95042View commit details -
Add Javadoc for createRankTab method
The Javadoc was added to the createRankTab method to describe its purpose and functionality. Also, a variable name in the layout setup was changed for better readability. This improves the code documentation and clarity for future maintenance.
Configuration menu - View commit details
-
Copy full SHA for 1093707 - Browse repository at this point
Copy the full SHA 1093707View commit details -
Refactor tab initialization methods
Reorganized initialization of components into separate methods for better readability and maintainability. This change involves splitting the initialization logic for each tab into distinct methods across multiple files, enhancing code modularity.
Configuration menu - View commit details
-
Copy full SHA for e071ed0 - Browse repository at this point
Copy the full SHA e071ed0View commit details -
Rename biographyTab.java to BiographyTab.java
Renamed the biographyTab class and its references to BiographyTab to follow Java naming conventions. Updated Javadocs and comments to reflect the new class name and added an explanatory class header.
Configuration menu - View commit details
-
Copy full SHA for 27ab0b2 - Browse repository at this point
Copy the full SHA 27ab0b2View commit details -
Refactor and simplify campaign options UI components
Refactored various campaign option tabs to use cleaner and more consistent styles. Eliminated HTML tags in labels, standardized panel creation methods, and integrated utility scaling methods where necessary. This improves readability, maintainability, and ensures UI scalability.
Configuration menu - View commit details
-
Copy full SHA for d0a393e - Browse repository at this point
Copy the full SHA d0a393eView commit details -
Remove unnecessary comments and simplify JScrollPane usage
Removed a non-informative comment from CampaignOptionsUtilities.java for cleaner code. Simplified JScrollPane constructor usage in CampaignOptionsPane.java by using default scrollbar policy.
Configuration menu - View commit details
-
Copy full SHA for df16e38 - Browse repository at this point
Copy the full SHA df16e38View commit details -
Fix component alignment in SuppliesAndAcquisitionTab
Corrected the order of combo and label components to ensure proper alignment in the UI layout. This change enhances the readability and consistency of the user interface.
Configuration menu - View commit details
-
Copy full SHA for def629d - Browse repository at this point
Copy the full SHA def629dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad9b9e - Browse repository at this point
Copy the full SHA 8ad9b9eView commit details -
Refactored font size initialization and added error handling
Simplified the font size initialization by using a constant and added error handling for missing UI scale property. This ensures consistent font size usage across tabs and improves code readability and robustness.
Configuration menu - View commit details
-
Copy full SHA for 8af5dec - Browse repository at this point
Copy the full SHA 8af5decView commit details -
Refactor tab and class names for consistency
Renamed several parent and content tabs to align with new naming conventions for better clarity and maintainability. Adjusted class names and method calls accordingly, ensuring application consistency and code readability.
Configuration menu - View commit details
-
Copy full SHA for 4872979 - Browse repository at this point
Copy the full SHA 4872979View commit details -
Merge EquipmentTab into EquipmentAndSuppliesTab
Consolidated the functionality of EquipmentTab into EquipmentAndSuppliesTab and removed the obsolete EquipmentTab class. This simplifies the structure and reduces redundancy by having all related settings under a single tab.
Configuration menu - View commit details
-
Copy full SHA for fc98d5b - Browse repository at this point
Copy the full SHA fc98d5bView commit details -
Changed the title of the 'logisticsAndMaintenanceParentTab' to 'Logistics' in the campaign options dialog. Also, standardized comment formatting in CampaignOptionsPane.java for better readability.
Configuration menu - View commit details
-
Copy full SHA for 806a40f - Browse repository at this point
Copy the full SHA 806a40fView commit details
Commits on Oct 12, 2024
-
Delete unused classes and change initialize methods to private
Removed redundant classes in the campaignOptions package to streamline the codebase. Also modified the accessibility of initialize methods from protected to private in various tabs for better encapsulation and maintenance.
Configuration menu - View commit details
-
Copy full SHA for 248dcda - Browse repository at this point
Copy the full SHA 248dcdaView commit details -
Add new financial options to FinancesTab
Enhanced the FinancesTab with detailed financial settings including loan limits, percentage maintenance costs, taxation, and share system options. Created separate panels for payments, sales, taxes, and other systems, and updated resource properties to reflect these changes.
Configuration menu - View commit details
-
Copy full SHA for d02cf4d - Browse repository at this point
Copy the full SHA d02cf4dView commit details -
Add price multipliers tab to finances options
Introduced a new "Price Multipliers" tab within the finances options of the campaign settings. This tab includes configurable multipliers for various parts, units, and conditions, enhancing customization and economic control. Adjusted related methods and integrated new labels and properties accordingly.
Configuration menu - View commit details
-
Copy full SHA for bb1acf9 - Browse repository at this point
Copy the full SHA bb1acf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b222d8 - Browse repository at this point
Copy the full SHA 4b222d8View commit details -
Add Javadoc comments for methods in
FinancesTab.java
Enhanced code documentation by adding comprehensive Javadoc comments to methods in the `FinancesTab.java` file. This includes detailed explanations for the `FinancesTab` class and its methods, improving code readability and maintainability by providing clear descriptions of their functionality and parameters.
Configuration menu - View commit details
-
Copy full SHA for 478f0fc - Browse repository at this point
Copy the full SHA 478f0fcView commit details -
Implemented a new MarketsTab in the CampaignOptionsPane, including a Personnel Market options panel with various configuration settings. Updated the relevant properties file to support the new tab and its features.
Configuration menu - View commit details
-
Copy full SHA for 01a7bac - Browse repository at this point
Copy the full SHA 01a7bacView commit details -
Refactor checkbox and spinner creation methods
Updated the methods for creating checkboxes and spinners to remove redundant arguments. Refactored the relevant code in the GUI panels to use these streamlined methods for clarity and simplicity. This change improves code readability and maintainability.
Configuration menu - View commit details
-
Copy full SHA for 30f38f3 - Browse repository at this point
Copy the full SHA 30f38f3View commit details -
Add Javadoc comments and implement Unit Market in GUI
Added detailed Javadoc comments to utility methods in CampaignOptionsUtilities.java for better code documentation. Implemented the Unit Market tab in MarketsTab.java, including new UI components and layout adjustments. Simplified label and text field creation in GeneralTab.java by removing redundant parameters.
Configuration menu - View commit details
-
Copy full SHA for f6a9290 - Browse repository at this point
Copy the full SHA f6a9290View commit details -
Add Unit Market Tab in Campaign Options
This commit introduced a new Unit Market Tab in the Campaign Options screen. The new tab allows users to configure various settings related to unit markets, including special unit chances, rarity modifiers, and instant delivery options. Labels and tooltips for these new options were also added to the resource file.
Configuration menu - View commit details
-
Copy full SHA for 848ecdd - Browse repository at this point
Copy the full SHA 848ecddView commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9c268b3 - Browse repository at this point
Copy the full SHA 9c268b3View commit details
Commits on Oct 14, 2024
-
Merge remote-tracking branch 'origin/campaignOptionsIIC' into campaig…
…nOptionsIIC # Conflicts: # MekHQ/docs/history.txt
Configuration menu - View commit details
-
Copy full SHA for 21ea3b7 - Browse repository at this point
Copy the full SHA 21ea3b7View commit details -
Add contract market tab in campaign options
Integrated a new contract market tab into the campaign options pane. This included creating various input elements and labels for managing contract details and configurations.
Configuration menu - View commit details
-
Copy full SHA for 0d8c8f6 - Browse repository at this point
Copy the full SHA 0d8c8f6View commit details -
Add checkbox for limiting mercenary size
Introduced a new checkbox `chkMercSizeLimited` to the MarketsTab. This checkbox allows users to set a limit on the size of mercenary units. Updated the layout and initialization code to include this new component.
Configuration menu - View commit details
-
Copy full SHA for 1586bb3 - Browse repository at this point
Copy the full SHA 1586bb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a199e - Browse repository at this point
Copy the full SHA b9a199eView commit details -
Add RulesetsTab.java for campaign options
Introduced a new `RulesetsTab` class to handle various campaign options in MekHQ. This tab includes universal options, legacy AtB options, and StratCon options for enhanced scenario and map generation configuration.
Configuration menu - View commit details
-
Copy full SHA for 7afcb14 - Browse repository at this point
Copy the full SHA 7afcb14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bffeee - Browse repository at this point
Copy the full SHA 5bffeeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 709bd08 - Browse repository at this point
Copy the full SHA 709bd08View commit details
Commits on Oct 15, 2024
-
Refactored UI components to use scaleForGUI for size adjustments
This change updated various UI components in different tabs to use the `UIUtil.scaleForGUI` method for setting their sizes. The adjustment ensures that the components scale appropriately, improving the application's compatibility with different display settings and resolutions.
Configuration menu - View commit details
-
Copy full SHA for be3d92f - Browse repository at this point
Copy the full SHA be3d92fView commit details -
Remove maximum size constraints from GUI components
Removed maximum size constraints to allow GUI components to scale more dynamically based on window size and user settings. This change ensures a more flexible and responsive user interface. Adjusted size comparison directly to enhance code readability and simplicity.
Configuration menu - View commit details
-
Copy full SHA for 3b31e4c - Browse repository at this point
Copy the full SHA 3b31e4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25fb7b3 - Browse repository at this point
Copy the full SHA 25fb7b3View commit details -
Merge branch 'master' into campaignOptionsIIC-sizing--issues
# Conflicts: # MekHQ/docs/history.txt
Configuration menu - View commit details
-
Copy full SHA for 75af3cf - Browse repository at this point
Copy the full SHA 75af3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0a34c - Browse repository at this point
Copy the full SHA ba0a34cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9532c1 - Browse repository at this point
Copy the full SHA a9532c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e0ca30 - Browse repository at this point
Copy the full SHA 2e0ca30View commit details