Results 1 to 1 of 1
  1. #1
    Gulsher's Avatar
    Join Date
    Aug 2018
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Dear ImGui Login

    static int WindowWidth = 300;
    static int WindowHeight = 180;

    //Our state
    static bool open = true;
    bool remember = false;
    char username[15] = "";
    char password[15] = "";


    ImGui::SetNextWindowSize(ImVec2(WindowWidth, WindowHeight), ImGuiCond_Once);
    ImGui::SetNextWindowPos(ImVec2(0, 0), ImGuiCond_Once);
    {
    ImGui::Begin("Login Panel", &open, dwFlag);
    ImGui::AlignTextToFramePadding();
    ImGui::Text("Username:");
    ImGui::InputText("##username", username, sizeof(username), 0, 0, 0);
    ImGui::Text("Password:");
    ImGui::InputText("##password", password, sizeof(password), 0, 0, 0);
    ImGui::Checkbox("Remember login details", &remember);
    if (ImGui::Button("Login"))
    {
    mainwindow = !mainwindow;
    }

    ImGui::End();
    }

    I was trying to make Dear ImGui login panel for my cheat menu but it sucks
    Can someone show me an example? I don't know how to set input username and password :/
    https://postimg.cc/56FYT4nr
    Last edited by Gulsher; 06-07-2021 at 06:51 AM.

Similar Threads

  1. Dear Lurkers.
    By RaptorJesus in forum General
    Replies: 7
    Last Post: 03-25-2007, 01:14 PM
  2. Dear David
    By Rhyse in forum General
    Replies: 18
    Last Post: 02-04-2007, 12:00 AM
  3. Problem(with login)
    By 22061988 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 11-01-2006, 12:07 AM
  4. Dear Bullet
    By Kyojiro in forum Spammers Corner
    Replies: 23
    Last Post: 07-01-2006, 08:05 AM
  5. Dear god NO...
    By Kyojiro in forum General
    Replies: 3
    Last Post: 01-26-2006, 07:30 PM