Skip to content
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

unstable-feature/theme: Delegate rendering to classes #8

Open
wants to merge 6 commits into
base: unstable
Choose a base branch
from

Conversation

cambell-prince
Copy link
Contributor

This pull request introduces rendering classes so that the actual rendering of html elements can be delegated to themes where required. The PR is intended to be a minimal change to achieve this effect. The changes diff well with the existing implementation e.g. ui_control.inc <-> ControlRenderer.inc which in turn diffs well with the separate bootstrap theme implementation. This simplifies maintaining the feature until such time as it is integrated into FA. Once integrated I would refactor further to improve the rendering code both for the default themes and the bootstrap theme.

…to renderer.

    - Added function ControlRenderer::table_add_cells to render cells.
    - Moved direct rendering out of gl_bank_ui
- Ensure that all variables are passed in the InputRenderer delegation

- Fix the call to refs normalize in refs_cells during initialization
  so that it doesn't use the possibly null init value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant