Comments (4)
With Phase 1 of separating GUI into separate library the current line count change for gpe_editor.cpp has changed from
33,031 to 19,322 lines. A 41.50% reduction of the file's original size.
Almost done with many more functions, global and classes to place into different/new files.
from game-pencil-engine-editor.
Current reduced gpe_editor.cpp is now 16069 lines. Thats 51.35% of code moved to other files.
I feel there is still more, but for now the GUI is its own library that is now independent of GPE making room for a divide and conquer approach to GUI, Editor, Engine and run times.
from game-pencil-engine-editor.
After more digging it is now 11,251 lines with a debate on where to put the classes GPE_LogManager, GPE_DropDown_Resouce_Menu, GPE_TextAnchor and GPE_ResourceContainer and GPE_ResourceManagementBar as they are more in line with actual Game Pencil than just random people needing a gui for their own projects.
from game-pencil-engine-editor.
Transferred StatusBar, Log Manager and a few more GPE_Main_Gui settings away to lower level gui to make gui stand on its own without need for gpe_editor.h or the other "higher level" classes and functions that uses it for the Editor. This resulted into 10,395 lines of code remaining in gpe_editor.cpp pending 2 functions to tell synthax highlighter of current project keywords and functions.
text_editor.cpp is now 6,329 lines of code and does not depend on gpe_editor.h to run anymore. A great win for helping to establish multiple programming language parsing in the editor for future versions.
from game-pencil-engine-editor.
Related Issues (20)
- PawGUI - Themes - move location to resources/themes
- Demo app - GPE base
- Demo app - PawGUI
- PawGui - buttons to have loading spinners
- HTTP / HTTPS - base module - protocol
- Update particle_emitter::process_emitter to become particle_emitter::update( float delta_time)
- libfiledialogs Git Submodule (Optional Dear ImGui File Dialogs Dependency)
- Unify File Input/Output and FileSystem Operations (using libfilesystem)
- Find default fonts folder
- PawGUI - Update load_default_fonts call to account for all supported OSes
- Uncomment init_gpe_master_itenary on main.cpp HOT 1
- Editor: Pop up warning if resources folder(s) are missing.
- Remove Codeblocks files from repo HOT 1
- Remove gpe_audio.h and gpe_audio.cpp HOT 1
- Cleanup repo of broken header and cpp files HOT 1
- PawGUI - Themes - Text Editor Color correction
- Light Editor: Add Render Grid Layer
- Light Editor: Dynamic Positioning
- Particle Editor: Add Render Grid Layer
- Particle Editor: Dynamic Positioning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from game-pencil-engine-editor.