It’s written on Devcpp 4.9.2 and can supports all versions below 5.1.1.
The function supported always formed by subjects below:
Dbh::describe_function(int cx,int fy,int difnumb,WORD wttu,WORD wttd,int r_ox,int g_ox,int b_ox,char lsig,char rsig,int width)cxandfyrepresent to the position of the controls on the consoles;difnumbrepresents to the very first value of the controls;wttuandwttdrepresent to the different type of a button when it was clicked or not, and must go as0x**;r_ox,g_oxandb_oxrepresent to the color of the controls if there is a need, and the value of it must smaller than 255 while bigger than 0;lsigandrsigrepresent to the signals between the controls and not every control have one.The value of it must be UTF-8 or mistake will occurred;widthrepresents to the width of the controls.cxandfyrepresent to the position of the controls on the consoles;
int adjustment_button(int cx,int fy,int difnumb,WORD wttu=0xB0,WORD wttd=0x0B,int r_ox=173,int g_ox=17,int b_ox=255,char lsig='<',char rsig='>',int width=4);
int slider_bar(int cx,int fy,int difnumb,WORD wttu=0xB0,WORD wttd=0x0B,int r_ox=145,int g_ox=215,int b_ox=37);
int input_box(int cx,int fy,int areat,int r_ox=173,int g_ox=202,int b_ox=255);
int color_box(int cx,int fy,int r,int g,int b);
int text_box(int cx,int fy,int txtin,int length);
int contact_button(int cx,int sx,int fy,WORD wttu=0xB0,WORD wttd=0x0B);
int write_box(int cx,int fy,string txton,int length,WORD wttu=0xB0,WORD wttd=0x0B);
void clearp(HANDLE hConsole=GetStdHandle(STD_INPUT_HANDLE)); - add libdbh.a
\Dev-Cpp\MinGW64\lib - add Dbh.h
\Dev-Cpp\MinGW64\include - add
-lDbhin the window of DEV-CPPTools->Compiler option->General->add the following command when calling the linker
add the heading as:
#include "Dbh.h"
#include<conio.h>
#include<cstdio>
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0)And use openMP to combine controls as