GithubHelp home page GithubHelp logo

juv-studios / one Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 20.25 MB

Swete of cross-langwej lybrǎries

License: MIT License

C# 38.46% C++ 59.28% C 2.03% PowerShell 0.22% Batchfile 0.02%
cross-language cross-platform foreign-function-interface windows

one's People

Contributors

jaiganeshkumaran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

one's Issues

Header files vs modules

Related to #2.

Initially, I wanted to use modules due to the benefits it provides - fast compilation, internal implementation details can be hidden from the outside etc... However C++/WinRT and the Windows SDK still don't support consuming APIs in the form of modules. While you can definitely import our modules in your project and still consume Windows APIs by including the appropriate header,
you can't use a precompiled header anymore. This means if you've lots of source files including the same header, you'll experience slow compilation, defeating the reason why I adopted modules in the first place. Our main target is C++ XAML apps and disabling precompiled headers isn't feasible.

I personally have two projects in such app projects - a core project with modules enabled, and a UI project with a precompiled header. However, splitting it into parts isn't really convenient. We can't really wait for modules to be adopted by Windows/WinRT (when?), so should I provide both a module and header for everything?

PivotView control

Summary

The NavigationView control isn't as easy to use as the Pivot control, but the Pivot control has outdated styles and limited functionality.

Provide a new control called PivotView that has a similar API to that of Pivot but provides most of the same functionality that NavigationView.

Features needed

  • Automatic navigation on item click. Should it be based on page type and frame navigation like in this example or be like Pivot where the content is set on an item instead?
  • Swipe with touch to flip between items.
  • Built-in back/forward navigation stack.

Provide a way to switch view modes using ViewReference

Moved from Azure Boards. Original creation timestamp: 2022-07-10 21:38 +05:30.

Today one has to use the underlying APIs to switch view models (Full screen/compact overlay), but those aren't particularly convenient, so provide a way to easily switch or toggle between them through the ViewReference class.

C++/WinRT - Support using OneToolkit WinRT APIs by importing the module file

Moved from Azure Boards. Original creation timestamp: 2022-01-02 21:00 +05:30.

Today, to consume OneToolkit WinRT APIs from C++/WinRT, you've to manually include the generated projection headers. Previously the OneToolkit.h header file included all of them, however, now I'm considering moving away from headers and using modules instead. The problem is that C++/WinRT doesn't yet support consuming projection headers as a module, and since it defines macros, causes too many warnings when you try to export them from a module. Find a way to consume those APIs defined in projection headers directly by importing the module.

Switch to Doxygen style comments for C++ APIs

Moved from Azure Boards. Original creation timestamp: 2022-01-12 18:34 +05:30.

Today OneToolkit uses XML comments for C++ APIs. Switch to Doxygen style comments since it's supported in more IDEs compared to XML comments, which is only supported by Visual Studio I believe.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.