Jump to content
  • entries
    2
  • comments
    4
  • views
    2,457

About this blog

In this blog I will share some information about creating "custom" Widgets.

What will be in this blog:

  • How to inherit from Widget or other predefined Widgets
  • How is the Widget-Class build up
  • A way to distribute your own Widgets to the community
  • A basic framework for advanced Widgets
  • hints for writing Widgets

At the end of this blog I want to show a rewrite of Joshs https://www.ultraengine.com/learn/CPP/AdvancedInterface with the use of custom widgets to automatically control the layout and maybe have a fully working  Lightweight TextEditor ready.

 

As a teaser what can be done (yes this is a fully working ScintillaWidget):

LuaEditor.thumb.png.cb2cf1a9a519e393ea70a88738d59253.png

 

Entries in this blog

Basics

In this first entry I will introduce some basics about the internal structure of the Widget class and what the purpose of some of its members is. For the real basics on how to write a custom Widget I suggest reading this https://www.ultraengine.com/learn/CPP/CustomWidgets first. Most of the members are self explained, so I will focus in this entry on 4 important methods: virtual bool Initialize(const WString& text, const int x, const int y, const int width, const int height, sh

klepto2

klepto2 in Basics

SyntaxEditor - Widget

Hi,  I finally managed to build a first release candidate for a SyntaxEditor-Widget. The Widget is using the famous Scintilla TextEditor-Component under the hood and wraps the control into a UAK-Widget.  At this point i only provide binaries (includes and libraries) but i am currently preparing to release the source as well.  The source itself is semi-autogenerated with a manual created body and a tool which generates the main part of the Scintilla-Component based of so called iFace fi

klepto2

klepto2 in Releases

×
×
  • Create New...