Code Monkey home page Code Monkey logo

rsrcutilities's Introduction

RsrcUtilities

.NET utility suite for working with the rc format

RsrcUtilities consists of RsrcCore and RsrcArchitect


โšก Quickstart

  1. Build, then reference RsrcCore

  2. Create a Dialog object

var dialog = new Dialog
{
    Identifier = "IDD_ABOUTBOX",
    Width = 100,
    Height = 100
};
  1. Initialize the Dialog's root node to a control
dialog.Root = new TreeNode<Control>(new Panel
{
   Rectangle = Rectangle.Empty,
   HorizontalAlignment = Alignments.Fill,
   VerticalAlignment = Alignments.Fill
});
  1. Add any controls you desire
dialog.Root.AddChild(new CheckBox()
{
    Identifier = "IDC_EXAMPLE",
    Caption = "Hello World!",
    Rectangle = new Rectangle(0, 0, 80, 40),
    HorizontalAlignment = Alignments.Center,
    VerticalAlignment = Alignments.Center
});
  1. Serialize it to the format of your liking
new RcDialogSerializer().Serialize(new DefaultLayoutEngine().DoLayout(dialog), dialog);
  1. Generate additional information in the format of your liking
new CxxHeaderResourceGenerator().Generate(dialog.Root);

โญ Goal

The creation of infrastructure to facilitate the design of rc user interfaces without the hassles of legacy abandonware.

RsrcArchitect

.NET dialog designer accompanying RsrcUtilities
Design dialogs with an interactive, simple experience

๐Ÿ’ก Features

  • Intuitive camera
    • Click-drag
    • Mouse-wheel zoom
  • Customizable control renderer
    • Test with your own visual styles
    • Bundled:
      • Windows 10
      • Windows 11
  • Smart selection system
    • Reliably select the intended element
  • Z-Ordering system
    • Reorder controls in the dialog editor
  • Multitasking
    • Tabbed navigation system
  • Powerful and dynamic inspector
    • Provides context-aware information
  • Always reactive
    • Everything reacts to changes immediately with your input
  • Smart positioning system
    • Freeform allows freely positioning controls
    • Grid snaps controls to grid points
    • Snap intelligently snaps controls based on other elements (useful for lists and fluid layouts)

rsrcutilities's People

Contributors

aurumaker72 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rsrcutilities's Issues

Node-based structure

Port over to a node-based structure

Panel
|
|-> Button
|
|--> StackPanel
| |-> Button 1
| |-> Button 2
| |-> Button 3
...

This will allow for pseudoelements such as StackPanels to be preprocessed

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.