All Projects β†’ nirex0 β†’ Warp-Framework

nirex0 / Warp-Framework

Licence: MIT License
Warp: A framework to create rich GUI Single-Window C++ applications using Direct2D API

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Warp-Framework

Computesharp
A .NET 5 library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders, with the goal of making GPU computing easy to use for all .NET developers! πŸš€
Stars: ✭ 982 (+4576.19%)
Mutual labels:  visual-studio, directx
Nineties
πŸ’Ύ Colors for World Wide Web pioneers
Stars: ✭ 16 (-23.81%)
Mutual labels:  visual-studio
Crystalshire
Legacy VB6 open-source ORPG
Stars: ✭ 24 (+14.29%)
Mutual labels:  directx
CrossWindow-Graphics
A header only library to simplify creating πŸŒ‹ Vulkan / βšͺ OpenGL / 🌐 WebGL / ❎DirectX / πŸ€– Metal data structures with CrossWindow.
Stars: ✭ 48 (+128.57%)
Mutual labels:  directx
AspNet-Core-REST-Service
VS2017/VS2019 project template for ASP.Net Core 3.1/5.0 to create fully functional production ready RESTful services
Stars: ✭ 57 (+171.43%)
Mutual labels:  visual-studio
fsharp-linting-for-vs
Visual Studio Linter for F#
Stars: ✭ 33 (+57.14%)
Mutual labels:  visual-studio
NotepadPlusPlusPluginPack.Net
.Net package to install into visual studio to make plugins for Notepad++
Stars: ✭ 123 (+485.71%)
Mutual labels:  visual-studio
YDock
A completely WPF-based dock that fully in style to visual studio.
Stars: ✭ 30 (+42.86%)
Mutual labels:  visual-studio
directx12-seed
βœ–πŸŒ± A DirectX 12 starter repo that you could use to get the ball rolling.
Stars: ✭ 58 (+176.19%)
Mutual labels:  directx
Compact-Unity-Events
UnityEvents drawer with collapsing, reordering and compact UX
Stars: ✭ 41 (+95.24%)
Mutual labels:  ux
setup-msbuild
A GitHub Action to facilitate configuring MSBuild in the workflow PATH for building .NET Framework applications.
Stars: ✭ 170 (+709.52%)
Mutual labels:  visual-studio
Ref12
Sends F12 in Visual Studio to the new .Net Reference Source Browser
Stars: ✭ 76 (+261.9%)
Mutual labels:  visual-studio
RentLio
This is a vehicle reservation system. Which is made with JavaFX and also using hibernate and RMI.
Stars: ✭ 49 (+133.33%)
Mutual labels:  ux
Visual-Studio-Visualizers
Custom views of various objects for Visual Studio debugger
Stars: ✭ 36 (+71.43%)
Mutual labels:  visual-studio
rudebuild
A non-intrusive bulk/unity C++ build tool for Visual Studio
Stars: ✭ 16 (-23.81%)
Mutual labels:  visual-studio
winsafe
Windows API and GUI in safe, idiomatic Rust.
Stars: ✭ 110 (+423.81%)
Mutual labels:  directx
Luna-Engine
Luna Engine is DirectX 11 based engine that i am trying to make.
Stars: ✭ 35 (+66.67%)
Mutual labels:  directx
DataViewExtenders
Extenders for WinForms controls, such as DataGridView, DataGridViewColumn, FlowLayoutPanel, TableLayoutPanel, etc
Stars: ✭ 22 (+4.76%)
Mutual labels:  visual-studio
MIST
Implements change notification for properties (ie: INotifyPropertyChanged) using IL weaving and a custom Visual Studio build task.
Stars: ✭ 51 (+142.86%)
Mutual labels:  visual-studio
directx-d
[DISCONTINUED] DirectX bindings for D
Stars: ✭ 19 (-9.52%)
Mutual labels:  directx

Warp-Framework (Beta)

Welcome to Warp, a framework to create powerful and rich GUI C++ Single-Window applications using Direct2D API

INDEX

STATUS

πŸ”§ CURRENTLY WORKING ON: DOCUMENTATION

NOTE: TEXTBOX IS STILL WIP

DOCUMENTATION

The documentation is finally being worked on, you can find it in the docs folder.

PLANS

Since the plan list got a little bigger than I originally expected, I decided it would be best if I moved it to another MarkDown (MD) page; You can find it Here!

FRAMEWORK VIEW

Warp-Framework

alt text

Warp-Logger

alt text

EXAMPLES

This is a simple WEntry.cpp example which would be your main starting point of the framework!

It shows you how to create buttons, a textbox, a listbox, and add whatever is in the textbox to the content of the listbox upon clicking the Push button!

To go to the file in the repo click Here!

// Β© 2019 NIREX ALL RIGHTS RESERVED

#include "WContainer.h"
#include "WControlHandler.h"
#include "WRadioButtonHandler.h"

// These need to be initialized before everything else
std::map<W_INT, IControl*> WControlHandler::mtcp = {};
std::set<WRadioButton*> WRadioButtonHandler::strz = {};
std::set<W_INT> WControlHandler::stcz = {};
WTheme WContainer::wTheme = {};

/* EXAMPLE BUTTON */

#include "WButton.h"
WButton* myFirstButton;
WButton* mySecondButton;

/* EXAMPLE TEXTBOX */

#include "WTextBox.h"
WTextBox* myFirstTextBox;


/* EXAMPLE LISTBOX */

#include "WListBox.h"
#include "WListBoxItem.h"

WListBox* myDynamicListBox;

/* EXAMPLE EVENTS */

void myFirstButton_Click(WEntity* sender, WEventArgs* arguments)
{
	myDynamicListBox->CreateItem((wchar_t*)myFirstTextBox->Content().c_str());
}

void mySecondButton_Click(WEntity* sender, WEventArgs* arguments)
{
	// Don't worry, RAII is not being denied!
	myDynamicListBox->RemoveLast();
}

void myFirstTextBox_Click(WEntity* sender, WEventArgs* arguments)
{
	// Clean the content on click!
	myFirstTextBox->Content(L"");
}

/* GRADIENT BACKGROUND */

#include "WContainer.h"
W_COLOR firstColor;
W_COLOR secondColor;
WRectF clientRegion;

// Runs at the start of the application
void WEntry::Start(void)
{
	// Button #1
	myFirstButton = new WButton(100, 100, 150, 200, 10);
	myFirstButton->Content(L"PUSH");
	myFirstButton->MouseDownRegistery()->Register(myFirstButton_Click);

	// Button #2
	mySecondButton = new WButton(100, 230, 150, 330, 11);
	mySecondButton->Content(L"POP");
	mySecondButton->MouseDownRegistery()->Register(mySecondButton_Click);

	// Textbox
	myFirstTextBox = new WTextBox(170, 100, 200, 330, 12);
	myFirstTextBox->Content(L"Click and Write (It's not fancy!)");
	myFirstTextBox->MouseDownRegistery()->Register(myFirstTextBox_Click);

	// List box
	myDynamicListBox = new WListBox(230, 100, 500, 330, 1);
	
	// Gradient Background
	firstColor = Graphics()->FromRGBA(10, 10, 10, 1);
	secondColor = Graphics()->FromRGBA(120, 120, 120, 1);

	clientRegion.Top((W_FLOAT)Graphics()->GetClientArea().top);
	clientRegion.Left((W_FLOAT)Graphics()->GetClientArea().left);
	clientRegion.Bottom((W_FLOAT)Graphics()->GetClientArea().bottom);
	clientRegion.Right((W_FLOAT)Graphics()->GetClientArea().right);
}

// Runs every frame pre-render
void WEntry::Update(DELTATIME deltaTime)
{
}

// Runs every frame post-update
void WEntry::Render(DELTATIME deltaTime)
{
	// NOTE: Gradient Background renders before all the controls!
	Graphics()->FillRectLinear(clientRegion,
		Graphics()->FromRGBA(128, 128, 128, 0.7F),
		Graphics()->FromRGBA(0, 0, 0, 0.7F),
		WLinearGradientDirection::WLG_Bottom_Top);
}

// Runs before the application quits 
void WEntry::End(void)
{
	// Free your resources here!

	myFirstButton->Free();
	mySecondButton->Free();
	myFirstTextBox->Free();
	myDynamicListBox->Free();
}

CONTACT

[email protected]

COPYRIGHT INFO

MIT License

Copyright (c) 2018-2019 nirex0

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].