ofxMaterialUI, user interface addon introduction


#1

Hi,
there are great ui addons for openframeworks, but not in the material design. So I developed ofxMaterialUI.

Which controls are included?

  • MaterialButton
  • MaterialCheckbox
  • MaterialConfirmDialog
  • MaterialFloatingActionButton
  • MaterialLabel
  • MaterialMenuBar
  • MaterialPanel
  • MaterialProgress
  • MaterialSlider
  • MaterialTextfield

Can you show example code?

void ofApp::setup(){	
ofBackground(255,255,255);	
ofSetFrameRate(60);

//Initialize MaterialUi
materialUi = ofxMaterialUi(ofGetScreenWidth(), ofGetScreenHeight());

//textfield
textfield = new MaterialTextfield(250, 150, 200, 30);
textfield->setText("Text");
textfield->setTip("Tip");

materialUi.addControl(textfield);

//button
button = new MaterialButton(250, 250, 100, 30, "Text");

materialUi.addControl(button);

//progress animated
progressAnimated = new MaterialProgress(250, 300, 200, 10, 0, true);
progressAnimated->setAnimationMode(MaterialProgress::ANIMATION_MODE_PARABEL);

materialUi.addControl(progressAnimated);
}

Where can you download it?
Currently I study computer science and to help financing it, I have decided to sell this addon.
Yes, there is much free software on the internet, including the great openfreamworks. But to support software projects, it should be okay, to ask for a fair price. Even some of the developers from popular open source software, like linux, are paid.

You can get it for 10€ on itch.io.

https://wowitsdoge.itch.io/ofxmaterialui

I am looking forward to read your opinions.

Greetings from Germany,
WowItsDoge