Comments (9)
I use Devuan 3.1.1 as OS.
systemd is evil :)
from ray4laz.
:) Yeah, not evil, but not welcomed in my universe :). Well, I have nothing against others using it, it is becoming a standard and cannot be ignored. Having a machine with a systemd based linux for commercial application development is a must.
Gunko, I think you can close this issue. No matter the fpc version, I get the same behavior... And I am upset, because the application was almost finished. I tried also with 3.3.1 version... I think is because of my OS. I'll put this on hold, continue with C language, until I will be able to install something else. Thank you for this translation, it is really helpful.
from ray4laz.
eText := 'Spasiva!';`
or
eText := another_string_variable;
Well, everything works for me.
program Game;
{$mode objfpc}{$H+}
uses
raygui,
raylib;
const
screenWidth = 800;
screenHeight = 450;
var
eText : array [0..60] of char = '';
begin
InitWindow(screenWidth, screenHeight, 'raylib - simple project');
while not WindowShouldClose() do
begin
etext:='Hello ';
BeginDrawing();
ClearBackground(RAYWHITE);
GuiTextBox(RectangleCreate( 10, 30, 125, 30 ), @etext, 60, true);
EndDrawing();
end;
CloseWindow(); // Close window and OpenGL context
end.
from ray4laz.
Thank you, I will try to see what and where I do wrong. I use a "form" with multiple GuiTextBox fields to edit the records of the database...
from ray4laz.
Your example presents the same problem I have... I'll see if is from compiling the C library...
from ray4laz.
Could you show me your code?
from ray4laz.
No luck here, recompiled the GLFW 3.3.4 as shared lib, recompiled raylib 4 as shared with inclusion of raygui and physac...
Assured myself that I have the last version of your repository.
Now, as a note, I compile my app with fpc only, not using Lazarus. I have your .pas units in my folder and that is all.
In your little example, if I comment the line where:
eText := 'Hello';
then eText become editable. If not, it is only displayed, and the caret right after it, It does not move, no matter what I type.
If this will go well, I will share my app - it is intended from the start for sharing. If not, I will finish the app in C language to have an executable for everyone to play with it, and still sharing pascal sources for people that can use them.
from ray4laz.
I use Devuan 3.1.1 as OS.
from ray4laz.
Hi Gunko,
Your little example doesn't work even on your computer because you attribute the same value over and over again, no matter what you type in the GuiTextBox....
Move the attribution outside the while and the variable becomes editable.
That was my error.... now, to finish the example.
from ray4laz.
Related Issues (16)
- iqm animation/DrawModelEx spinning bug HOT 6
- RayGuy 3.0 HOT 7
- BindPose/FramePoses Rotation not working HOT 4
- How to publish as apk HOT 1
- Add to static link HOT 1
- How easy would it be to make a basic Lazarus game editor with this? HOT 3
- Delphi support HOT 3
- raylib window context to OpenGLControl (initial code) HOT 16
- Basic lighting example is black HOT 8
- How to run without Lazarus?
- Move examples to a separate repo HOT 1
- android platform HOT 2
- Some examples don't work for me HOT 5
- Nothing works HOT 3
- Unable to Run HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ray4laz.